Luis
asked 7 years ago

Good morning.
I just install a plugin for rating post, but does not work. The plugin is WP-PostRatings,? Know any that works well? The web is of agricultural machinery and need people to value each machine. I put it before the comments.
Thank you, Best regards
Luis
PS
I need the menu of the mobile version remains fixed on the top.

And i have a problem with ads in mobile version (responsive). In desktop version don´t happen.

1 Answers
DominicStaff
answered 7 years ago

Hello Luis !
– To display the WP-PostRatings,in the single post, you can do as the following:
Step 1. Activate  WP-PostRatings Plugin
Step 2. To display PostRatings before Comment in the single post, you can open single.php file
+ Find:

   <?php while (have_posts()) : the_post(); ?>

       + Add the following code under the code line that you have just found above:

     <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

Notice:  If you want to display in single post on the left hand side under Social sharing, please open the functions.php file, find the line 475.
Add the following code:

         <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

– To change the Fixed top for the menu in the mobile, please follow the jetpack’s guideline in the Blog article on how to use Edit CSS here. http://designwall.com/blog/using-jetpack-custom-css-for-your-wordpress-site/
After that, just add the following code to the Edit Css.

        @media (max-width: 480px) {
    .site-header #site-navigation.navbar {
        position: fixed;
        width: 88%;
    }
}

– Regarding the issue with ads in mobile version, you can add the following code to the Edit CSS:

        .ads-770 .ads-thumb {
    min-height: 30px;
}

Hope this helps !

Powered by DW Question & Answer Pro