Blog Archives

10 Effective Cleanup Strategies to Enhance Functionality of Your WordPress Site

Like many people, you may be quite pleased with the functionality of your WordPress site. With that said, if you’ve been running it for a while, the time may be now when you want to do a cleanup of your

Posted in Guest Posts, WordPress Tagged with: , ,

Remove Website Field From WordPress Comment Form

Remove the website / URL field in WordPress comment form. /** * Remove webiste field from WordPress comment form * * Removes the website field when comments form is displayed with comment_form() * * @since 1.0 */ function velocity_remove_comment_form_website_field( $fields

Posted in WordPress Tagged with: , , ,

Remove Comment Author Link In WordPress Comment List

Add the following code snippet to the functions.php of your theme to remove the links to the comment author website in WordPress comments list. Works when the comments list is generated with wp_list_comments(). /** * Remove comment author link in

Posted in WordPress Tagged with: , ,

Add Custom Post Type To Tag And Category Archive Pages

Here is how to modify the query for default taxonomy archive pages (tag archive page or category archive page) to display custom post types. /** * Add custom post types to the default tag query * * This will make

Posted in WordPress Tagged with: , ,

Read Plugin Version Of Any WordPress Plugin

Using the get_file_data() function. More efficient than using get_plugin_data() function. $plugin_data = get_file_data( WP_PLUGIN_DIR . ‘/plugin-folder-name-in-wp-content-plugins-folder/plugin-main-file.php’, array( ‘Version’ => ‘Version’ ) ); $plugin_data[‘Version’] will have the version. To read version from within the same plugin: $plugin_data = get_file_data( __FILE__, array(

Posted in WordPress Tagged with: , ,