7 Secrets About WordPress You Must Know In 2018

7 Secrets About WordPress You Must Know In 2018

7 Secrets About WordPress You Must Know In 2018

Display random header images

  1. You do this by going to the appearance section of your dashboard, and clicking on the header section to expand it.
  2. You then upload all of your header images and click on the ‘randomize header images’ button
  3. Add image icons to links navigation menu
  4. You can use the menu image plugin to add image icons next to the navigation menu
  5. You install the plugin, then you go to the appearance section of the dashboard, and click on the menu option.
  6. You follow the steps to add the images
  7. You can do this manually as well
  8. Go to the appearance section and select the menus option
  9. Click on the screen options at the top right corner of the screen
  10. You will see a drop-down menu.  Select the CSS classes option
  11. Scroll down to your navigation menu and click on an item to expand it
  12. You will see an option to add the CSS classes option
  13. You will enter a different CSS class for each menu option
  14. You click on the save menu button to save your changes
  15. You then upload the image icons by going to the Media page of your dashboard and selecting the add media option
  16. You upload the files and copy the URL’s
  17. You then add an image icon to your navigation menu by adding a custom CSS.  Here is an example
  18. You then replace the existing URL with that of your own image file

Add full-screen search overlay in WP

Open navigation link in a new window



  1. You may need to make the navigation menu open like a browser window for various reasons
  2. WP does not naturally give you this option
  3. This option is hidden to save space.  You unhide this option by clicking on the screen options button at the top right corner and checking the link target option.
  4. You scroll down to the menu item that you want to open in a new window, and you click on the open link in a new window option
  5. You click on the save menu button to save your changes.

Add full-screen search overlay in WP

WordPress Full Screen Search Overlay




  1. This improves the overall search experience and makes more interactive
  2. You want to add this screen to your site to increase website traffic.
  3. Install and activate the  WordPress Full Screen Search Overlay to do this
  4. It will work immediately upon installation and activation

Add a sticky floating navigation menu


  1. This stays at the top of the screen even when the user scrolls down
  2. This feature will also make using your website interesting and engaging, so you want to install it
  3. Not all WP themes have this option – you will have to install it as a plugin if this is the case
  4. You install and activate the Sticky menu plugin.
  5. You go to the plugins settings page in the dashboard and select the sticky menu option
  6. You add the CSS class to your navigation menu and you save the changes

Add multiple authors

  1. You want this feature if you have a blog of scientific publications which many authors contribute to, and you want to include all of them in your blog posts
  2. You install and activate the Co-Authors plugin
  3. You then edit the post or page where multiple authors will appear.
  4. You will be taken to a post edit screen (in the dashboard) where you will see the new ‘Authors’ box immediately below the post editor
  5. You can list multiple authors here
  6. Add categories to WP pages
  7. . You aren’t supposed to add categories to WP pages, so they are naturally unchangeable.
  8. But you can can make your pages fluid by adding the following code to your theme’s functions.php file, or site-specific plug in:  // add tag and category support to pages

function tags_categories_support_all()


register_taxonomy_for_object_type(‘post_tag’, ‘page’);

register_taxonomy_for_object_type(‘category’, ‘page’);


// ensure all tags and categories are included in queries

function tags_categories_support_query($wp_query) {

if ($wp_query->get(‘tag’)) $wp_query->set(‘post_type’, ‘any’);

if ($wp_query->get(‘category_name’)) $wp_query->set(‘post_type’, ‘any’);


// tag and category hooks

add_action(‘init’, ‘tags_categories_support_all’);

add_action(‘pre_get_posts’, ‘tags_categories_support_query’);

Add content to articles in RSS feeds

  1. You can configure your WP RSS feed in such a way that only your RSS feed subscribers will see its content
  2. You do this by adding the following code to your functions.php file or site-specific plugin:


function wpbeginner_postrss($content) {


$content = ‘This post was written by Syed Balkhi ‘.$content.’Check out WPBeginner’;


return $content;


add_filter(‘the_excerpt_rss’, ‘wpbeginner_postrss’);

add_filter(‘the_content’, ‘wpbeginner_postrss’);


Delay posts in RSS feeds

  1. This comes in handy if you need to take a post down and you don’t want your RSS subscribers to see it in their feeds

Simply add the following code to your functions.php file or site-specific plugin:


 function publish_later_on_feed($where) {

   global $wpdb;

   if ( is_feed() ) {

       // timestamp in WP-format

       $now = gmdate(‘Y-m-d H:i:s’);

       // value for wait; + device

       $wait = ’10’; // integer

       // http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff

       $device = ‘MINUTE’; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR

       // add SQL-sytax to default $where

       $where .= ” AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, ‘$now’) > $wait “;


   return $where;


    2.add_filter(‘posts_where’, ‘publish_later_on_feed’);

    3.This code will delay RSS posts from being published for 10 minutes, long enough for you to permanently delete the post


Important Links :

8 Secrets About WordPress You Must Know In 2018

Top Affiliate Programs Bloggers Must Join

Best hosting for WordPress Blogging Website

Best WordPress Plugins Free Download

Best Free eCommerce WordPress Themes

Awesome Free WordPress Themes

Free Best WordPress Themes


News Reporter

Leave a Reply

Your email address will not be published. Required fields are marked *