Okay
  Public Ticket #1608079
Pagination on blog page not working
Closed

Comments

  • Kweku started the conversation

    The pagination links below the blog pages not working. Link is not clickable.

    Please check and assist.

    Thanks.

  •  626
    Support Agent replied

    Hi Kweku,

    There does seem to be a link missing in pagination, and its format is different from the one on our demo.

    Could you tell us if you made some changes in the theme files? Thanks in advance.

    Either way, we suggest that you first update the theme - How to update installed theme? Will it change data?

    Also, make sure to update all necessary plugins.

    If the issue persists, please also try deactivating third party plugins, and see if any of them was causing the problem.

    Let us know of the outcome.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Kweku replied

    Thanks for your feeback.
    I managed to solve the problem.

    Yes i edited the theme to suit my clients requirements.

    1. I commented the line below in the view file standard.php to hide the featured image in standard blog list format

    /* if ( BoldThemesFramework::$media_html != '' ) { echo '<div class="achieve-img"> ' . BoldThemesFramework::$media_html . ' </div>'; } */

    2. I also commented this line to hide body content so only title is shown on standard format blog list.

    /* echo '<div class="btArticleListBodyContent">' . BoldThemesFramework::$content_final_html . '</div>'; */

    That is all the editing i did to the  theme and am not sure this caused the pagination issue.

    What caused the issue however was a plugin i installed to manage events called Very Simple Events List.

    When i disable the plugin the Pagination links work okay. But i still need the events plugin for the site so i commented the preg_replace code and echoed the link directly like so:

    if ( $prev != '' ) {
    echo '<div class="paging onLeft">';
    echo '<p class="pagePrev">';
    //echo preg_replace( $pattern, '<span class="nbsItem"><span class="nbsTitle">$2</span></span>', $prev );

    echo $prev;

    echo '</p>';
    echo '</div>';
    }
    if ( $next != '' ) {
    echo '<div class="paging onRight">';
    echo '<p class="pageNext">';
    //echo preg_replace( $pattern, '<span class="nbsItem"><span class="nbsTitle">$2</span></span>', $next ); 

    echo $next;

    echo '</p>';
    echo '</div>';
    }

    It works now. Thank you.

  •  626
    Support Agent replied

    Hi Kweku,

    Thanks for the info, we appreciate it.

    We are glad you have managed to resolve the issue.

    Please let us know should you need additional assistance.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!