Saturday, 5 November 2016

If Page specific id then code execute WordPress code?

IT NEW CODE gives a way to execute some code on only fix page. We can do it by using page id. Below is given code.In this code if page id match then only code will be execute. Here, 156 id is page id Code is below: <?php...

How to Hide WordPress Theme identity?

IT NEW CODE gives to rename a theme as your project or website name.There are some steps to follow you. 1> Add following code in "function.php" file. ---------------------------------------- // // To hide WP header identity // remove_action('wp_head', 'wp_generator'); // //To Change Name Howdy in wp Admin top right...

How to add multiple header and footer in WordPress?

IT NEW CODE give a trick to make multiple header & footer  templates. Sometimes We need multiple kind of look & client needs different header.In such a case need to create multiple header files. Below describes how to create multiple headwer & footer. Create New Header:- In Your...

How to Disable auto formating?

IT NEW CODE give trick to disable auto formatting paragraph tag <p>. To solve just like auto <p> tag generation problem add following code in your theme "function.php" file. <?php remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); ?> For more Interesting, Useful Article & codes visit IT...

Thursday, 3 November 2016

How to Disable Ctrl+U?

Sometimes to protect our website content from copy-paste & miss use of it or protect it from spam uses need some security. To check the code of webpage "Ctrl+U" is use.Below is given method to stop this code by script.Simply Add this code. Here Script is stop "Ctrl+U" by...

 

Copyright @ 2016 IT New Code | Developing Code | Designing Code.

Designed by: Templateism