Post / Page detailed template - Pagination

Stagger Lee
1818 Posts
Stagger Lee posted this 27 July 2016

As it is now option Pagination on Post / Page view template is uselless, never used. You can remove it.
WordPress (and other CMS) use it only on Blog / Archive template and Posts listings.

Can you convert this option to be Pagebreak pagination in WordPress ? (When User split to long Articles/Posts in several subpages)
And maybe also as comments pagination ?

As it is now option Pagination on Post / Page view template is uselless, never used. You can remove it. WordPress (and other CMS) use it only on Blog / Archive template and Posts listings. Can you convert this option to be Pagebreak pagination in WordPress ? (When User split to long Articles/Posts in several subpages) And maybe also as comments pagination ?
Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
Stagger Lee
1818 Posts
Stagger Lee posted this 27 July 2016

Sorry, I forgott it is used for Next - Prev Articles/Posts.

Let questions stay here for voting, for new options for Pagebreak and Commnets paginations.

Sorry, I forgott it is used for Next - Prev Articles/Posts. Let questions stay here for voting, for new options for Pagebreak and Commnets paginations.
Stagger Lee
1818 Posts
Stagger Lee posted this 27 July 2016

Here is custom snippet to make Pagebreak similar to Bootstrap / Themler default Pagination:

function spacedmonkey_pages($old){
    $old['before'] = '<nav><ul class="pagination"><li class="disabled"><span><b>Unterseiten: </b></span></li>';
    $old['after'] = '</ul></nav>';
    $old['link_before'] = '<span class="">';
    $old['link_after'] = '</span>';
    return $old;
}


add_filter( 'wp_link_pages_args', 'spacedmonkey_pages' );


function spacedmonkey_pages_link($old){
    $class = (strpos($old,'<a') !== false) ? '' : 'active';
    $new = "<li class='$class'>$old</li>";  
    return $new;
}
add_filter( 'wp_link_pages_link', 'spacedmonkey_pages_link' );

CSS:

ul.pagination li:before, .pagination li:before {
    content: none !important;
}

Here is custom snippet to make Pagebreak similar to Bootstrap / Themler default Pagination: function spacedmonkey_pages($old){ $old['before'] = '<nav><ul class="pagination"><li class="disabled"><span><b>Unterseiten: </b></span></li>'; $old['after'] = '</ul></nav>'; $old['link_before'] = '<span class="">'; $old['link_after'] = '</span>'; return $old; } add_filter( 'wp_link_pages_args', 'spacedmonkey_pages' ); function spacedmonkey_pages_link($old){ $class = (strpos($old,'<a') !== false) ? '' : 'active'; $new = "<li class='$class'>$old</li>"; return $new; } add_filter( 'wp_link_pages_link', 'spacedmonkey_pages_link' ); CSS: ul.pagination li:before, .pagination li:before { content: none !important; }
You must log in or register to leave comments