+917803057266

Category Archives: Tips & Tricks

How to change the custom cursor throughout the site?

You can simply use this class on your css file to have your custom cursor for the entire site to override any other pointer, hand cursor. * { cursor: url(‘cursor_image_file_path’), auto !important; } Enjoy 😀

Read it

How to resolve canonical URL issue on Yoast SEO WordPress Plugin?

1.. Go ahead and Install Yoast Test Helper plugin. 2.. Activate it and Find its setting under Tools > Yoast Test 3.. Now the start the magic by clicking “Reset Indexables & Migrations” button 4.. All Set! Now go to Yoast SEO > General and click on Start SEO data optimization Enjoy 🙂 Canonical URL […]

Read it

How to identify if your in the first page of WordPress pagination?

Here is the simple function you can use to check the first page of pagination: if ( !is_paged() ) { // first page of pagination }

Read it

Clean the header section inserted by WordPress Core

Are you looking for a solution to remove the extra code inserted by the WordPress core function wp_head()? Then check the following codes and paste it in your themes functions.php file to make it work 🙂 1. Remove XML-RPC RSD link remove_action (‘wp_head’, ‘rsd_link’);   2. Remove WordPress version number function remove_header_version() { return ”; […]

Read it

Remove Version From CSS And JS

To Remove Version parameter from your theme css or js file add the following code in functions.php function eleminate_js_css_var( $src ) { if( strpos( $src, ‘?ver=’ ) ) $src = remove_query_arg( ‘ver’, $src ); return $src; } add_filter( ‘style_loader_src’, ‘eleminate_js_css_var’, 1000 ); add_filter( ‘script_loader_src’, ‘eleminate_js_css_var’, 1000 ); Alternatively… You can set NULL to the fourth […]

Read it

Unable to Insert a line break before an element using CSS?

Its easy to have a line break before or after any element using css. Simply add this property to the ::before or ::after class of any element: .ClassName::after { content: “\a”; white-space: pre-wrap; } .ClassName::before { content: “\a”; white-space: pre-wrap; }

Read it

Is PUBG is not playing from Tencent Gaming Buddy??

If your Tencent Gaming doesn’t showing PUBG game and its not even starting it.. then follow these simple steps to load PUBG like before: 1.. Go to C Drive > Program Files > txgameassistant (search fo the similar folder name) 2.. Go to inside txgameassistant > Find UI folder 3.. Search for an application called […]

Read it

Getting “Blocked loading mixed active content” Error on a Web Page?

The Firefox Web Console displays a mixed content warning message sometimes. This error/warning comes because the third party API or Script was loaded via HTTP. To fix this type of error you just need to replace all the request of HTTP content with HTTPS. There are a few examples of mixed content includes JavaScript files, […]

Read it

Remove Custom Post Type from a Theme

Add this block of code to your theme’s functions.php Note: Change projects, employees or clients according to your theme custom post type. /* Remove Custom Post Type */ add_action(‘init’, ‘theme_remove_post_type’, 1); function theme_remove_post_type( $post_type ) { global $wp_post_types; if ( isset( $wp_post_types[‘projects’] ) || isset( $wp_post_types[’employees’] ) || isset( $wp_post_types[‘clients’] ) ) { unset( $wp_post_types[‘projects’] […]

Read it

Custom 404 Text for Thesis Theme

Open Thesis > Custom File Editor and select custom-functions.php and add the following code: /* Custom 404 Title*/ function custom_404_title() { ?> <strong>Article Not Found</strong> <?php } remove_action(‘thesis_hook_404_title’, ‘thesis_404_title’); add_action(‘thesis_hook_404_title’, ‘custom_404_title’); /* Custom 404 Content*/ function custom_404_content() { ?> <p><strong>Article Not Found!</strong><br />The article you were looking for was not found, try again later!</p> <?php […]

Read it