Single.php - little bug

Discussion in 'ColorWay WordPress Theme' started by jsonnemans, Apr 5, 2013.

  1. jsonnemans

    jsonnemans New Member

    Joined:
    Mar 28, 2013
    Messages:
    14
    Likes Received:
    0
    In single.php there are a few entries that do not call the localization functions correctly e.g.:
    PHP:
    <?php next_post_link('%link'__('Next Post <span class="meta-nav">&rarr;</span>''nutrition')); ?>
    should be:

    Code:
    <?php next_post_link('%link', __('Next Post <span class="meta-nav">&rarr;</span>', 'colorway')); ?>
    furthermore the Next Post, Previous Post (etc) are not added to the Default.po file.

    (I have made the changes and added it to my .po file, also in blog.php - so these are now translated correctly - I can submit the changes if that helps…)
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107

Share This Page