{"id":9377,"date":"2021-03-07T14:31:47","date_gmt":"2021-03-07T14:31:47","guid":{"rendered":"https:\/\/demo.themeinprogress.com\/internal-linking-related-contents-pro\/?page_id=9377"},"modified":"2026-08-22T12:45:15","modified_gmt":"2026-08-22T12:45:15","slug":"shortcode","status":"publish","type":"page","link":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/documentation-free-version\/shortcode\/","title":{"rendered":"Shortcode"},"content":{"rendered":"<p>If needed, you can use the <strong><\/strong> shortcode to manually display the post navigation in a specific position.<\/p>\n<p>When used without any attributes in a single post, the shortcode automatically uses the options configured under <strong>TIP Next Post &gt; Plugin Settings<\/strong>.<\/p>\n<p>The following attributes are available:<\/p>\n<ol>\n<li><strong>layout<\/strong>, Override the layout configured in the plugin settings.\n<ul>\n<li><strong>layout-1<\/strong><\/li>\n<li><strong>layout-3<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>engine<\/strong>, Override the navigation\/search method configured in the plugin settings.\n<ul>\n<li><strong>adjacent<\/strong> \u2013 Standard Previous \/ Next<\/li>\n<li><strong>adjacent_category<\/strong> \u2013 Previous \/ Next in the same category<\/li>\n<li><strong>adjacent_tag<\/strong> \u2013 Previous \/ Next with the same tag<\/li>\n<\/ul>\n<\/li>\n<li><strong>posts_array<\/strong>, Manually specify up to two post IDs, separated by a comma. When this attribute is used, the automatic navigation\/search method is ignored.<\/li>\n<li><strong>target<\/strong>, Set <strong>_blank<\/strong> to open navigation links in a new browser window or tab. If omitted, the value configured in the plugin settings is used.<\/li>\n<li><strong>rel<\/strong>, Set the link relation attribute.\n<ul>\n<li><strong>nofollow<\/strong><\/li>\n<\/ul>\n<p>If omitted, the value configured in the plugin settings is used. Chronological navigation automatically receives the appropriate <strong>prev<\/strong> or <strong>next<\/strong> relation.<\/li>\n<\/ol>\n<h2>Examples<\/h2>\n<p>Use the current plugin settings:<\/p>\n<nav class=\"tnxtp-navigation tnxtp-layout-2 tnxtp-display-inline tnxtp-boxes-center\" aria-label=\"Article navigation\"><a class=\"tnxtp-slot tnxtp-left has-thumbnail\" href=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/labore-consectetur-amet-tempor-ipsum-sit-amet\/\"><span class=\"tnxtp-copy\"><span class=\"tnxtp-label\"><span aria-hidden=\"true\">&#8592;<\/span> Previous post<\/span><span class=\"tnxtp-title\">Labore Consectetur Amet Tempor Ipsum Sit Amet<\/span><\/span><img decoding=\"async\" class=\"tnxtp-thumbnail\" src=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-content\/uploads\/2026\/08\/featured-image-1787400913-2302-80x80.jpg\" alt=\"\" loading=\"lazy\"><\/a><a class=\"tnxtp-slot tnxtp-right has-thumbnail\" href=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/tempor-labore-ipsum-eiusmod-eiusmod-amet-ipsum-tempor\/\"><img decoding=\"async\" class=\"tnxtp-thumbnail\" src=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-content\/uploads\/2026\/08\/featured-image-1787400916-1934-80x80.jpg\" alt=\"\" loading=\"lazy\"><span class=\"tnxtp-copy\"><span class=\"tnxtp-label\">Next post <span aria-hidden=\"true\">&#8594;<\/span><\/span><span class=\"tnxtp-title\">Tempor Labore Ipsum Eiusmod Eiusmod Amet Ipsum Tempor<\/span><\/span><\/a><\/nav>\n<p>Use Layout 3:<\/p>\n<nav class=\"tnxtp-navigation tnxtp-layout-3 tnxtp-display-inline tnxtp-boxes-center\" aria-label=\"Article navigation\"><a class=\"tnxtp-slot tnxtp-left has-thumbnail\" href=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/labore-consectetur-amet-tempor-ipsum-sit-amet\/\"><span class=\"tnxtp-copy\"><span class=\"tnxtp-label\"><span aria-hidden=\"true\">&#8592;<\/span> Previous post<\/span><span class=\"tnxtp-title\">Labore Consectetur Amet Tempor Ipsum Sit Amet<\/span><\/span><span class=\"tnxtp-image-wrap\"><img decoding=\"async\" class=\"tnxtp-thumbnail\" src=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-content\/uploads\/2026\/08\/featured-image-1787400913-2302-136x136.jpg\" alt=\"\" loading=\"lazy\"><\/span><\/a><a class=\"tnxtp-slot tnxtp-right has-thumbnail\" href=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/tempor-labore-ipsum-eiusmod-eiusmod-amet-ipsum-tempor\/\"><span class=\"tnxtp-image-wrap\"><img decoding=\"async\" class=\"tnxtp-thumbnail\" src=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-content\/uploads\/2026\/08\/featured-image-1787400916-1934-136x136.jpg\" alt=\"\" loading=\"lazy\"><\/span><span class=\"tnxtp-copy\"><span class=\"tnxtp-label\">Next post <span aria-hidden=\"true\">&#8594;<\/span><\/span><span class=\"tnxtp-title\">Tempor Labore Ipsum Eiusmod Eiusmod Amet Ipsum Tempor<\/span><\/span><\/a><\/nav>\n<h3>Manual post order<\/h3>\n<p>When using the <strong>posts_array<\/strong> attribute, a maximum of two posts can be selected.<\/p>\n<p>The first post ID is used as the <strong>next\/primary<\/strong> post displayed on the right, while the second post ID is used as the <strong>previous\/secondary<\/strong> post displayed on the left.<\/p>\n<p>If one of the specified IDs is the current article, it is automatically excluded.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If needed, you can use the shortcode to manually display the post navigation in a specific position. When used without any attributes in a single post, the shortcode automatically uses the options configured under TIP Next Post &gt; Plugin Settings. The following attributes are available: layout, Override the layout configured in the plugin settings. layout-1&hellip; <a class=\"more-link\" href=\"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/documentation-free-version\/shortcode\/\">Continue reading <span class=\"screen-reader-text\">Shortcode<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9703,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9377","page","type-page","status-publish","hentry","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/pages\/9377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/comments?post=9377"}],"version-history":[{"count":10,"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/pages\/9377\/revisions"}],"predecessor-version":[{"id":10027,"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/pages\/9377\/revisions\/10027"}],"up":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/pages\/9703"}],"wp:attachment":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-next-post-pro\/wp-json\/wp\/v2\/media?parent=9377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}