Author: Andrés Villarreal

The Follet Theme Was Sent for Revision

I’m pretty excited to tell you all that my latest project, Follet, was sent for revision to the WordPress Theme Directory yesterday. I’m really looking forward to have it featured there, since it took me a couple of months of hard work, trying to follow all the best practices I could and all the guidelines from the Theme Review team. I also had to make a lot of decisions about features being there, not being there, or being hidden. The design process took a significant amount of time too, in my attempts to make it look modern, clean and customizable at the same time.

It will sure take some more work, based on the corrections and suggestions from the guys in the Theme Review team, but I’m willing to do that too. I’m sure I will learn a lot from this 🙂

So, I will be posting here again when/if Follet gets approved. In the meantime, you can check its demo, or take a look at the code and star it in Github.

Read more

Make WordPress Stop Sending E-Mails When Working Locally

Let’s suppose you have a website with an e-commerce plugin.  A user comes in, buys a product and goes fine through the checkout process, but when the site tries to redirect the user to the third-party gateway where he wants to pay, something goes wrong. The redirect goes to a 404 page or never gets done. And that only happens with that single costumer. All the other costumers who bought that same product from your site did it without an itch. Whatever the problem is, you need to debug locally to find the source of it.

So now you need to replicate the process in your local mirror of the production site. You click the “buy now” button in the product page, then go to the checkout page and fill the form with the very same values that the user has previously entered. You click “confirm purchase”, and then notice the error through your favourite Javascript profiler: the email of the user customer has a character that your validator doesn’t like, so you need to improve it, but somehow the form was sent either way instead of prompting the user to re-enter his email, and you need to fix that too.

A couple of minutes later, while you’re fixing your code, you receive a phone call from the customer, who says that he received a second purchase confirmation email for an operation he did not perform. Then you have to explain to him that you were working on the issue that he reported earlier, and he understands but insists on the fact that he was bothered for a second time (the first one being his impossibility to pay) and that you should be a little bit more professional. And he is right. Now let’s suppose that this email thing happens often, and that you even lost sales because of this. The same can be applied to other scenarios regarding emails being sent, such as creation of testing users, or posting test contents to a blog with a lot of suscribers that should be notified of new posts by email. I’m sure you don’t want this. I really don’t for sure.

Read more

It Begins, or Just Another Blog of a Guy Who Works with WordPress

Hey yo.

This is gonna be mainly a personal blog. And when I say personal, I really mean personal. It is not my intention to try and put a limit on the kind of things I publish here, since I have a lot of interests, but you’ll find some pattern on me talking about my work. That’s the main reason of this site, but not the only one, so you may see a lot of posts on the subject of my WordPress-related projects, web, and programming in general, but also some others about music and life and how to live it. And that’s because I can’t really see or make a separation between my work and the rest of my life (is that ever possible?).

You may have realize by now that, since the majority of the elements of this site (posts, pages, navigation areas, etc.) are written in English, some of the contents are plain Spanish. That’s my mother language, and regardless the public I’m pointing to with this blog are English speakers or bilingual people who just happen to read English, some of my posts are and will be related to Spanish in some sort of inseparable way, often because some cultural reasons that would not make my whole point if they were not written in Spanish. I’m not gonna offer translations unless it is really necessary, because I believe that translations, most of the time, are not always accurate to present the original meaning of what one has to say, and that sense of intimacy that you get with your readers in the original language becomes lost in translations. Also, I would like to contribute to some cultural trade-off in the WordPress community between English and Spanish developers, because I think that we all have a lot to learn from each other.

So I’ll try to keep some order in the unavoidable mess this will become, looking forward for you to keep visiting and find something useful here 🙂

Read more

How to Use Different Plugins for Local, Testing and Production Stages

There comes a time in the life of a WordPress developer, no matter what his/her experience is, when he/she needs to run some plugins only in a local environment. Such cases could be related to plugins meant for testing, importing, deleting data, etc. I think you get the idea: I’m talking about any plugins that are not meant for a live site. The problem here is, given the fact that you need those plugins for your development cycle, how can you keep them from being active when you deploy your site to a production stage? And there’s another important question about this: Do you even need those plugins to be uploaded to your live site?

Yeah, sure you can manually deactivate those plugins once the site goes to production, but what if you need to do some maintenance? Let’s say you pull the remote database to your local stage in order to continue your local work after a deploy. Then you need to manually activate your development plugins again. And let’s suppose you finish your work by now and update your live site with your local changes, including a possibly modified database. Then your development plugins get activated again, so you need to manually deactivate them once more. And now let’s say you do all of this at least once a week, and that you also have a testing server. That’s a whole bunch of time that you’re losing in repetitive tasks. You could use that time to read some XKCD, or learning to dance Gangnam Style.

Well, there’s a couple of things you can do to solve this issue.

Read more

WordPress Cumple 11 Años y lo Festejamos en Buenos Aires

El año pasado WordPress cumplió 10 años desde el lanzamiento de su primera versión. Para cheap nba jerseys la ocasión se promovieron festejos y reuniones en todo el mundo, incluyendo algunos eventos en Argentina. Los que fuimos al festejo en Buenos Aires, organizado a través de Meetup con muy poco tiempo de anticipación (más o menos или 10 días) nos sorprendimos al ver una concurrencia de alrededor de 25 personas. Muy poco comparado con la cantidad de gente que asistió a otros eventos en otras ciudades, pero un número considerable si tenemos en cuenta que cheap mlb jerseys en nuestro país no existía hasta el momento una comunidad activa más o menos identificable que girara alrededor de WordPress.

Read more

How to Automatically Activate Jetpack Modules

If you, the like me, use Jetpack cheap jerseys for Inspiration a lot of sites (for Iniciando example, in a multisite or some complex installations), you probably need to have some modules always active for all your sites. It would be awesome cheap jerseys online if you could just have those modules active cheap jerseys without having to do it manually once you have activated the plugin, right? Well, you 2011 can do it.

Read more

Iniciando

Este es como el octavo o décimo blog que inicio. Desde que empecé con todo este asunto de los sitios web tuve blogs sobre literatura, poesía, música, humor y otras tantas temáticas, con distintos resultados. Sin embargo, un tema que nunca toqué fue el del trabajo que hago, y ya hace varios meses que me viene pareciendo que ya sería hora.

Read more