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…
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…
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…
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…
It has now become a mandate for everyone to have a good online presence given the state of digitisation we are in. Earlier it used to be difficult to create a niche online as it needed strong technical skills to…
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(…