Wrong call for previous and next posts link in index.php
chodhary opened this issue · 0 comments
chodhary commented
In line number 42-43 of index.php, code output older entries and newer entries, and also printing next page and previous page. Because, code is using _e('« Older Entries', "wpbootstrap").
<li class="previous"><?php next_posts_link(_e('« Older Entries', "wpbootstrap")) ?></li>
<li class="next"><?php previous_posts_link(_e('Newer Entries »', "wpbootstrap")) ?></li>\
I am suggesting, first use __('« Older Entries', "wpbootstrap"). Then, output result with echo.
<li class="previous"><?php echo next_posts_link(__('« Older Entries', "wpbootstrap")) ?></li>
<li class="next"><?php echo previous_posts_link(__('Newer Entries »', "wpbootstrap")) ?></li>
Thank you,