[Support request] Pagination Number Location / Single Page

Home Forums Support [Support request] Pagination Number Location / Single Page

Home Forums Support Pagination Number Location / Single Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #729152
    William

    How can I move the location of the Pagination numbers on Posts, right now it’s buried underneath other plugin content (see our URL for example link)

    Also, how do we add a link to the full page with no pagination for members?

    #729427
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could try this:

    1. Remove the current links:

    .page-links {
           display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    2. Filter them into the content:

    add_filter( 'the_content', function( $text ) {
          $text .= wp_link_pages( 'echo=0' );
    
          return $text;
    }, 5 );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.