Adding pagination to overview section (about the book)
-
I’ve switched to use this plugin because it supports <!–nextpage–> so I’ve updated overview file in single-book-storefront template to display paginated post properly and it works great inside the single-book-storefront.
this is my updateif(function_exists('st_remove_st_add_link')) { st_remove_st_add_link(''); } global $post; //echo(apply_filters('the_content', $post->post_content)); orignial code $post = get_post(); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; echo($content = get_the_content($paged));
I also have no problem in excerpt-book (single book shortcode)
the problem is in the archive-book (All books shortcode/mybooktable view) it displays the pagination of the latest book (if it has overview pagination).
Please advice
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding pagination to overview section (about the book)’ is closed to new replies.