• steve2507

    (@steve2507)


    Hi,

    I am a complete newbie on php (I usually use ASP) so please go gentle.

    I have installed the rating plugin (WP-PostRatings) and have got it to work easily (like the rest of wordpress), but I am having problems with one area. I know it is not the software, it is my knowledge that is at fault.

    I am trying to add a link to display the highest rated postings and can’t get it to work. The code I am entering is:

    <?php if (function_exists('get_highest_rated')): ?>
       <ul>
         <a href="<?php get_highest_rated(); ?>">View Highest Rated Posts</a>
       </ul>
    <?php endif; ?>

    I know I am probably doing something that is very basic wrong, but for the life of me I can’t figure it out.

    Any help greatfully received.

    Steve

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Newbie question on php’ is closed to new replies.