Warning: Array to string conversion in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/component-init.php on line 4316

WEBSITE 2 DESIGN

How to add Previous Next Links on Oxygen Post Template

August 19, 2021

Adding Previous and Next Links on Oxygen Single Post Template is Really Simple

Add two code blocks

One for Previous Post Link and Other for Next Post Link

For Previous Post Link Code

<?php
if ( get_previous_post_link() ) {
    previous_post_link();
}
?>

For Next Post Link Code

<?php
if ( get_next_post_link() ) {
    next_post_link();
}
?>

This is the simple and easiest way to add Next and Previous Post Link on Oxygen Single Blog Post Template

You can customize the design with css to make it look more professional and related to your theme.


Warning: Undefined array key "preview" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comment-form.class.php on line 75

Leave a Reply

Your email address will not be published. Required fields are marked *


Warning: Undefined array key "preview" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comment-form.class.php on line 79

Warning: Undefined array key "preview" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comments-list.class.php on line 90

Warning: Undefined array key "preview" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comments-list.class.php on line 102

Warning: Undefined array key "preview" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comments-list.class.php on line 113

Warning: Undefined array key "action" in /home/lkap42pX2mcsn4pm/Website2Design/public_html/wp-content/plugins/oxygen/component-framework/components/classes/comments-list.class.php on line 113