Review(s)

Discussion in 'GeoCraft WordPress Theme' started by spoonboy90, Oct 14, 2013.

  1. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Could you please direct me to where i can edit the No Review, % Reviews text etc

    as you can see from my site http://www.stokebusinesslistings.com/all-listings/page/4/ the plural isnt working.

    I've changed the following code in the module_functions.php file but it doesn't seem to make any difference, also need this to work for the searches too!
    Code:
        if ( false === $zero ) $zero = __( 'No Reviews' );
        if ( false === $one ) $one = __( '1 Review' );
        if ( false === $more ) $more = __( '% Reviews' );
        if ( false === $none ) $none = __( 'Reviews Off' );
    I'm using version 1.7.9 and I don't wish to upgrade to 1.8
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For search page review. Sending "template_search.php" and "module_functions.php" file download and replace them with your current theme files.(Do not delete old files keep them for backup)
    For other pages review text.
    Go to
    geocrafttheme\library\text_domains\template_path.php
    Check image given below.

    reviewsss.png
     

    Attached Files:

  3. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Thanks Nitesh

    Is there a particular reason that on the search page 'No Reviews'/'1 Review' etc is not a link but it is on other pages?

    and

    For anyone else interested there is also another instance in template_path.php around line 80 to pluralise more than 1 listing

    Code:
    define('REVIEW',__('Review',THEME_SLUG));
    to

    Code:
    define('REVIEW',__('Reviews',THEME_SLUG));
     

Share This Page