Pagination not working when Big Grid not used

Posted in: Newsmag
Post count: 2

Hi There,

I have a version of this theme that I cannot update to the latest version (at least for now) because it causes a lot of problems with the site since it’s had a lot of customisation over time.

The version of Newsmag we’re using is 1.7

I would like to know, if possible, what parts of the theme were changed to fix the pagination issue when Big Grid not being used that was addressed in version 2.3.3 so that I can factor the fix into the theme we’re using.

Post count: 6535

Hi

Try the solution indicated in this topic to fix the pagination issue for hompage: https://forum.tagdiv.com/topic/wordpress-4-4-1-pagination-new-fix/ but I cannot guarantee that will work as we didn’t test it with V 1.7 of the theme.

Also try to use this code in td_wp_booster_functions.php file: http://screencast.com/t/T1qCb2vBRX8

if(empty($query->is_feed)) {
if ( $paged > 1) {
$query->set( ‘offset’, intval($offset) + ( ( $paged – 1 ) * $limit ) );
} else {
$query->set( ‘offset’, intval($offset) );
}
}
This should fix the issue with the pagination on category page. If this does not work then the only solution is to update the theme at the current version available on themeforest, V2.3.5.
If you make any customizations in theme’s files it’s a good practice to keep track on them such that you can add them again after theme it’s updated. You can save your custom code in a text file on your computer then re-add it again in theme’s files but make sure it does not affect the new theme implementation. Also you can use the child theme provided with the theme to make some customizations, just make sure that the modified files can be overwritten in it. For more details about its usage with Newsmag theme check our documentation here: https://forum.tagdiv.com/newsmag-child-theme-support/ also WordPress’s documentation could help: https://codex.wordpress.org/Child_Themes

Thanks!

Post count: 2

Thank you so much for that fix. It fixed the pagination for us.

Absolutely agree on maintaining the most updated versions. We have a child-theme set up but because a that didn’t give us enough scope to deliver the functionality that was required we’ve had to make changes to the theme core – which was always supposed to be ‘temporary’.

What would be ideal is if we can view the changelog for each version of the theme so that we can patch it safely rather than update the theme completely.

Is that possible if we maintain support payments to the theme every year?

Post count: 6535

Hi

The change log can always be checked on themeforest and the list with modified files can also be checked in theme path: http://screencast.com/t/a1OHQfsl As long as you have a valid license for the theme there will be no restrictions the updates.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.