{"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":"2025-01-19T18:20:51","modified_gmt":"2025-01-19T18:20:51","slug":"shortcode","status":"publish","type":"page","link":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/documentation-free-version\/shortcode\/","title":{"rendered":"Shortcode"},"content":{"rendered":"<p>If needed, you can use our shortcode <strong>[ tiprp ]<\/strong> to display the related posts in a specific position.<\/p>\n<ol>\n<li><strong>enable_section_title<\/strong>, Enable\/disable the section title &#8211; on|off<\/li>\n<li><strong>section_title<\/strong>, Replace the default title <strong>&#8220;You may be interested&#8221;<\/strong><\/li>\n<li><strong>posts_array<\/strong>, Enter the ID of each post, separated by a comma<\/li>\n<li><strong>layout<\/strong>, hero-layout|list-layout|html-list-layout<\/li>\n<li><strong>columns<\/strong>, 1-column|2-columns|3-columns<\/li>\n<li><strong>content_align<\/strong>, left|center|right<\/li>\n<li><strong>enable_post_title<\/strong>, Enable\/disable the post title &#8211; on|off<\/li>\n<li><strong>enable_post_date<\/strong>, Enable\/disable the post date &#8211; on|off<\/li>\n<li><strong>enable_post_author<\/strong>, Enable\/disable the post author &#8211; on|off<\/li>\n<li><strong>enable_post_author_label<\/strong>, Enable\/disable the post author label &#8211; on|off<\/li>\n<li><strong>enable_post_summary<\/strong>, Enable\/disable the post summary &#8211; on|off<\/li>\n<li><strong>target<\/strong>, Set <strong>_blank<\/strong> to open the related posts in a new window<\/li>\n<li><strong>rel<\/strong>, Set the rel attribute for the related posts &#8211; dofollow|nofollow<\/li>\n<li><strong>show_placeholder_image<\/strong>, Enable\/disable the placeholder image &#8211; on|off<\/li>\n<\/ol>\n<p>Below an example<\/p>\n<p><strong>&#091;tiprp layout=&#8221;hero-layout&#8221; posts_array=&#8221;9401,9010,9398&#8243;&#093;<\/strong><\/p>\n<div class=\"trpp-wrap trpp-hero-layout align-left\"><h3 class=\"trpp-section-title\">You may be interested<\/h3><div class=\" trpp-grid trpp-grid-3-columns\" data-columns=\"3\" ><section><div class=\"trpp-hero-article related-post-inner\" style=\"background-image:url(https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2021\/04\/hand-man-outdoor-person-cold-winter-764418-pxhere.com_.jpg)\"><a  title=\"Sed laoreet, magna sit amet cursus dapibus\" class=\"related-posts-permalink\" href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/sed-laoreet-magna-sit-amet-cursus-dapibus\/\"><\/a><div class=\"related-posts-details\"><div class=\"related-post-inner\" style=\"display:block\"><div class=\"related-post-inner-details\"><h3>Sed laoreet, magna sit amet cursus dapibus<\/h3><div class=\"trpp-post-meta\"><span class=\"trpp-post-date\">April 25 2021<\/span><span class=\"trpp-post-author\">By&nbsp;alexvtn<\/span><\/div><p class=\"trpp-post-summary\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis... <\/p><\/div><\/div><\/div><\/div><\/section><section><div class=\"trpp-hero-article related-post-inner\" style=\"background-image:url(https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2020\/12\/man-person-white-cute-male-guy-1327121-pxhere.com-1.jpg)\"><a  title=\"Proin et lectus sit amet diam\" class=\"related-posts-permalink\" href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/proin-et-lectus-sit-amet-diam\/\"><\/a><div class=\"related-posts-details\"><div class=\"related-post-inner\" style=\"display:block\"><div class=\"related-post-inner-details\"><h3>Proin et lectus sit amet diam<\/h3><div class=\"trpp-post-meta\"><span class=\"trpp-post-date\">December 7 2020<\/span><span class=\"trpp-post-author\">By&nbsp;alexvtn<\/span><\/div><p class=\"trpp-post-summary\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ut... <\/p><\/div><\/div><\/div><\/div><\/section><section><div class=\"trpp-hero-article related-post-inner\" style=\"background-image:url(https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2021\/04\/beach-sea-sand-ocean-girl-woman-1103572-pxhere.com_.jpg)\"><a  title=\"Lorem ipsum dolor sit amet\" class=\"related-posts-permalink\" href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/lorem-ipsum-dolor-sit-amet\/\"><\/a><div class=\"related-posts-details\"><div class=\"related-post-inner\" style=\"display:block\"><div class=\"related-post-inner-details\"><h3>Lorem ipsum dolor sit amet<\/h3><div class=\"trpp-post-meta\"><span class=\"trpp-post-date\">April 25 2021<\/span><span class=\"trpp-post-author\">By&nbsp;alexvtn<\/span><\/div><p class=\"trpp-post-summary\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis... <\/p><\/div><\/div><\/div><\/div><\/section><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If needed, you can use our shortcode [ tiprp ] to display the related posts in a specific position. enable_section_title, Enable\/disable the section title &#8211; on|off section_title, Replace the default title &#8220;You may be interested&#8221; posts_array, Enter the ID of each post, separated by a comma layout, hero-layout|list-layout|html-list-layout columns, 1-column|2-columns|3-columns content_align, left|center|right enable_post_title, Enable\/disable the&hellip; <a class=\"more-link\" href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-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-related-posts-pro\/wp-json\/wp\/v2\/pages\/9377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/comments?post=9377"}],"version-history":[{"count":7,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9377\/revisions"}],"predecessor-version":[{"id":9795,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9377\/revisions\/9795"}],"up":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9703"}],"wp:attachment":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/media?parent=9377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}