WordPress widgets are content blocks that can be used to add different type of content & features(for example, list of latest posts, a slider, a interactive map, a contact form etc) in the theme. Widget are used to control structure of theme by creating different layouts based on widget areas. Widgets can be added in pre-defined widget […]
A Shortcode in WordPress is a function or group of functions which can be used to display forms,text,sliders, widgets within page or post content or in sidebar. By default when a shortcode is created it is not enabled to work in Widgets. Add following code to enable it to work in Widgets.
add_filter('widget_text', 'do_shortcode', 11);
WordPress 4.4.1 has been released. It is maintenance and security release. Since it is a security release, it is recommended to update the WordPress to new version. There has been several security and other bugs fixed in this release. Sites which has set-up automatic background release are already beginning to update to WordPress 4.4.1 . […]
Most Web hosting are configured to automate installing of theme or plugins. On some hosting WordPress ask for FTP details either to update or install a theme or Plugin. To fix this issue we can enter our FTP credentials in wp-config.php file so that we don’t have to enter it every time we update a […]
WordPress Visual editor provides great ease to write blog posts. Most often themes have consistent look of editor and website front-end text. We can customize editor text using some WordPress hooks. What you need is to create a stylesheet file, write CSS code and hook it into WordPress theme. Below code will serve the purpose […]
Sidebar or Widget area can be used to show widgets in the part of website where it is located. Widget area can be anywhere either in left side of content or right side of content, in header area or footer area. Available widgets can be found in Appearance -> Widgets in WordPress Admin Area and […]
In WordPress by default post revisions are enabled. WP saves a different version of page or post for each edit you make. It is a great feature and let you revert your edits as a specific edit. As number of post edits increases it makes database heavy. For example, You have edited a post 30 […]