We can customize WordPress gallery short code easily. It is on pluagable file so, this function can be override by theme functions.php or through plugins. Say How to customize the output of the WP image gallery shortcode from a plugin?... Read more
We can use this code to page redirect in PHP code $login_page_redirect is used for dynamic value. In HTML we can use this HTML & JavaScript Code: Read more
We can add featured image to rss feed. Even we can add it to custom post type rss feed also. Like http://mywebsite.com/feed/ http://mywebsite.com/feed/?post_type=product Just need to add this code to functions.php file. This is customize code, because I want to... Read more
Sometimes we need to write plugin, where some hook need to fire before theme hook fired. For this we need to add plugin_loaded hook to plugin file. Suppose, we are going to customize RSS feed hook. It needs to include... Read more
If you are developing a WordPress plugin, one of the first things I would suggest is adding a “Settings” link directly on the plugins page. This makes it easier for users to quickly access the plugin’s options page without having... Read more