Home » WordPress (page 2)

WordPress

WordPress get_option Example

WordPress has simplified a lot the way we approach functionality, as it has defined many PHP functions, some of them (known as Template Tags) intended especially for WordPress Themes. Among many others which you can find here, are the Options functions. In case you want to get values for a specific option of your site from the database, you can ...

Read More »

Templating a WordPress theme with Twig

Well, that wasn’t as painful as I thought it would be. Some googling and a couple of experiments went a long way, and now I have a partial, unstyled, Twig-based theme happily running on WordPress. Twig is a templating engine for php. It has more than enough features to get me going, setting it up is as easy as falling ...

Read More »

How to customize WordPress mail sending method

Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud hosts such as openshift, aws, etc. are usually blacklisted by most email servers, hence its not a good idea to use them to send mails. In any case, why should I depend on my hosting ...

Read More »