For a while now I’ve been slowly ripping off functionalities from KC Settings to make it more modular. Today, I’m releasing a helper plugin for you theme/plugin developers out there. This plugin should speed up your development time when creating a settings page for your plugin/theme. Continue reading “Settings Page Meta Boxes”
A few days ago, I created an Indonesian translation for the Stream plugin. It’s been a while since I used POEdit to create/update translations, so this post will serve as a reminder for me. 🙂 Continue reading “WordPress Plugins Localization”
A while ago, I wrote about how you can add custom classes to your widgets. I’ve also created a plugin that’s available in WPORG but haven’t been updated in a while. Continue reading “Widget Attributes”
I recently encountered this error when running
PHP Fatal error: Call to undefined function cliline() in …/wp-cli/vendor/wp-cli/php-cli-tools/lib/cli/Table.php on line 107
In a recent project, I needed to use
<span /> tags to add some styles (just color, actually) to post and widget titles. By default — and there’s no hook to disable this — WordPress strips any HTML tags found in post and widget titles. Here’s my solution to this problem. Continue reading “Add HTML Tags in Post and Widget Titles”
wp_list_pages() is a handy little function for displaying a list of hierarchical post type, and it works with custom post types too. Unfortunately, when used for a custom post type, the list items don’t have the necessary CSS classes for current page item/ancestors. Here’s a quick fix for this particular problem. Continue reading “wp_list_pages() for Custom Post Types”
I was making some improvements to the KC Posts widget module in my KC Essentials plugin, and I wanted to make it easy for the users to find post IDs they want to include/exclude from the query. Continue reading “Using Built-in Post Finder in Plugins”
Here’s a quick tip. If you built a custom widget for your themes/plugins and you need jQuery for the configuration form, you’ll need to call it when the ajax process is done, that is when a widget was just dropped to a sidebar/widget area, or the user just saved the configuration. Continue reading “jQuery in Widgets Admin Page”
Term list table, unlike post list table, is not very customizable. What I needed was to display the thumbnail/icon of each term, to make it easier for the content editors to distinguish one term from another.
We all have
WP_DEBUG enabled and use Debug Bar when developing WordPress plugins and themes, right? Here’s how I added my own panel.