How to add widgetized and custom sidebars on WordPress theme

WordPress themes are usually come with Widgetized sidebars where you can drag and drop widgets. It’s okay when we don’t need more widgetized sidebars to the theme, but we probably think to add more when we think widgetized sidebar solution to your customization problem, for instance you want to add a banner ad to header [...]

Continue Reading

Install cURL on Ubuntu

We only need to run two commands to install cURL for PHP on Ubuntu

Continue Reading

WordPress Conditional Tag for Login Page

WordPress have conditional tags. The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches Following conditional tag is specific to Login Page, that is currently not available on WordPress Codex

Continue Reading

Full Screen Background on WP Login Page

The following function add full screen background on WP Login page 1. Open functions.php in your theme directory 2. Add this function to functions.php 3. Save

Continue Reading

Override CSS property right to left

  This case is an example on how to override CSS property right to left We have this AdSense banner floating on the right side of the screen. What if you want to change it to the left Recently, I installed Floating AdSense plugin for WordPress. It’s very helpful to add AdSense banner floating on [...]

Continue Reading

How to add ‘Show Thumbnail’ option in WPZOOM Featured Category Widget

Tribune is a lovely magazine theme from WPZOOM. The theme has custom widgets name WPZOOM Featured Category Widget You could use this widget to display categories on homepage like the demo site (Politics – World – Sports – Automotive). The widget show thumbnails by default, it doesn’t have feature to disable that. What if you want [...]

Continue Reading

Enable Formatting Tags for Content Limit in Genesis Featured Posts widget

Genesis Framework has same function that return the content after trimming and it strips all HTML The following code help you keep or filter some HTML tags when you are using Content Limit in Theme Settings or Widgets (e.g Genesis – Featured Posts widget) Add following to functions.php in the Genesis Framework child theme The [...]

Continue Reading

Keep HTML Tags in WordPress Limit Posts – the_content_limit

This function, the_content_limit  controls the maximum amount of characters displayed for an entry on the main page on WordPress homepage posts, e.g Featured Posts, Recent Posts However , the_content_limit stripped HTML tags just like the_excerpt. What if we want to keep HTML tags We make modification to the function, the_content_limit which is usually found in functions.php [...]

Continue Reading