Support » Theme: ProfitMag » How do I alter the position of the Page Break?

  • Resolved jwadesays

    (@jwadesays)


    Hi there,

    Thanks for taking the time to read about my issue.

    As you can see at the link, the “next page” feature in the post is placed below the starbox author profile and the related content boxes. The page break is in the correct place in the article (using short code “<!–nextpage–>”) but I would like the “next page” feature to be placed above the author profile and related content boxes for better readability.

    Would anyone be able to provide a fix for this?

    Many thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Rigorous Themes

    (@wpgaint)

    Hi there,

    Thank you for considering our theme.

    It seems these issues occur from the plugin that you are using on your site.
    Can you please try to contact the plugins vendor once?
    And if you got any issues related our theme later please fell free to ask us.

    Thank you!!

    jwadesays

    (@jwadesays)

    Hi,

    Thank you for your prompt response.

    Would you be able to explain how this is possible? The “matched content” section is a feature of “Jetpack”, one of the most used plugins on wordpress, so why would it cause this issue?

    Typically, the look and layout of a website is determined by the theme itself so is there no work around in the CSS or PHP of the site?

    Cheers!

    Theme Author Rigorous Themes

    (@wpgaint)

    Hi there

    It seems you have to modify the theme file to complete your requirement.
    So it will be easy to make a child rather than modifying the theme file.
    So for that, Create a child theme and paste following code on your child theme function.php file.

    /**
    * Move pages
    */
    add_filter( ‘the_content’, ‘profitmag_add_pagination’, 5 );
    function profitmag_add_pagination( $content ) {

    ob_start();
    wp_link_pages( array(
    ‘before’ => ‘<div class=”page-links”>’ . esc_html__( ‘Pages:’, ‘business-page-plus’ ),
    ‘after’ => ‘</div>’,
    ) );

    $content .= ob_get_clean();

    return $content;
    }

    And you have to copy the content-single.php file from your parent theme to your child theme and remove the code from line number 158 to 163.
    If you need any help let us know.

    you can send us an email at rigorousthemes@gmail.com

    Thank You!!

    jwadesays

    (@jwadesays)

    Hi, many thanks for your assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I alter the position of the Page Break?’ is closed to new replies.