The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Photo Album Plus
[resolved] Separating Average Rating & My Rating More (2 posts)

  1. pugman76
    Posted 4 years ago #

    In regards to the rating system, it currently says:
    "Average Rating ***** ***** My Rating".
    This seems confusing to me.

    Is there a way to make it say
    "Average Rating: ***** | My Rating: *****"

    Here there is a separator, and the stars are on the other side of my rating, instead of all going across together.

    I tried to do this myself, but couldn't figure it out.

    Could someone help?

    Here is a link to my website:



  2. Jacob N. Breetvelt
    Plugin Author

    Posted 4 years ago #

    You can increase the gab ( i will make it a configurable setting in the next version ) by editing wppa-slideshow.php:
    Change line 236:

    $wppa['out'] .= '  ';


    $wppa['out'] .= '<img src="'.wppa_get_imgdir().'bbbl.png" style="width:30px; height:15px;" />';

    You may change 30 into a larger or smaller number.

    To change the sequence of stars and My Rating:
    Remove the ! in line 240:

    if ( ! $wppa_opt['wppa_show_avg_rating'] ) $wppa['out'] .= __a('My&nbsp;rating', 'wppa_theme').':&nbsp;';

    and disable line 248:

    if ( $wppa_opt['wppa_show_avg_rating'] ) $wppa['out'] .= '&nbsp;'.__a('My&nbsp;rating', 'wppa_theme');

    by placing // in front of the line like:

    //	if ( $wppa_opt['wppa_show_avg_rating'] ) $wppa['out'] .= '&nbsp;'.__a('My&nbsp;rating', 'wppa_theme');

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Photo Album Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic