Enqueueing scripts, while being as one of the most common tasks for WordPress theme and plugin developers, has a very nice companion feature that can be used to pass data to it. These data will then be available in the native scope of those scripts. In this short article, I am going to show you … Continue reading Passing data from PHP to the enqueued scripts in WordPress
WordPress uses BackboneJS and Underscores in the admin panel. Though codex has a rich set of documentation on different WordPress topics, it lacks instructions of using these BackboneJS models in your code. So here’s a small snippet which shows you how to fetch an attachment from your WordPress blog using these models First of all, … Continue reading Fetch WordPress media files using BackboneJS
This is not a rant. It’s a post from a fan who is sad, very sad. I am a fan of Redux Framework and use it in all my themes. It’s easy to use and it has an excellent collection of controls which can make your life easier when you deal with option panels. However, … Continue reading ReduxFramework – a perfect example of how not to redesign your site!