{"id":9346,"date":"2021-03-06T19:26:57","date_gmt":"2021-03-06T19:26:57","guid":{"rendered":"https:\/\/demo.themeinprogress.com\/internal-linking-related-contents-pro\/?page_id=9346"},"modified":"2025-01-19T18:24:51","modified_gmt":"2025-01-19T18:24:51","slug":"shortcode","status":"publish","type":"page","link":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/documentation-pro-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>, classic-layout|hero-layout|list-layout|html-list-layout<\/li>\n<li><strong>columns<\/strong>, 1-column|2-columns|3-columns|4-columns|5-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>linkable_post_title<\/strong>, Enable\/disable the link on the post title, which redirects to the post &#8211; on|off<\/li>\n<li><strong>enable_featured_image<\/strong>, Enable\/disable the featured image &#8211; on|off<\/li>\n<li><strong>linkable_featured_image<\/strong>, Enable\/disable the link on the featured image, which redirects to the post &#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>post_author_label<\/strong>, Replace the default author label <strong>&#8220;By&#8221;<\/strong><\/li>\n<li><strong>linkable_post_author<\/strong>, Enable\/disable the link on the post author, which redirects to the author page &#8211; on|off<\/li>\n<li><strong>enable_post_summary<\/strong>, Enable\/disable the post summary &#8211; on|off<\/li>\n<li><strong>truncate_content<\/strong>, Truncate long post conten with ellipsis &#8211; on|off<\/li>\n<li><strong>enable_carousel<\/strong>, Enable\/disable the carousel &#8211; on|off<\/li>\n<li><strong>enable_carousel_nav<\/strong>, Enable\/disable the carousel nav &#8211; on|off<\/li>\n<li><strong>enable_carousel_dots<\/strong>, Enable\/disable the carousel dots &#8211; on|off<\/li>\n<li><strong>carousel_auto_height<\/strong>, Adjust the height of carousel items &#8211; disabled|visible-items|tallest-item<\/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>[tiprp layout=&#8221;hero-layout&#8221; posts_array=&#8221;9401,9010,9398&#8243; truncate_content=&#8221;on&#8221;]<\/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 trpp-hero-article-truncate-content\" 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 trpp-hero-article-truncate-content\" 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 trpp-hero-article-truncate-content\" 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<h2>Shortcode Generator<\/h2>\n<p>You can use the shortcode generator to easily insert the plugin&#8217;s shortcode.<\/p>\n<p><a href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator.jpg\" alt=\"\" width=\"1195\" height=\"618\" class=\"alignnone size-full wp-image-9797\" srcset=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator.jpg 1195w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator-300x155.jpg 300w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator-1024x530.jpg 1024w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator-768x397.jpg 768w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator-450x233.jpg 450w\" sizes=\"auto, (max-width: 1195px) 100vw, 1195px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9744\" src=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup.png\" alt=\"\" width=\"1183\" height=\"772\" srcset=\"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup.png 1183w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup-300x196.png 300w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup-1024x668.png 1024w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup-768x501.png 768w, https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-content\/uploads\/2025\/01\/shortcode_generator_popup-450x294.png 450w\" sizes=\"auto, (max-width: 1183px) 100vw, 1183px\" \/><\/a><\/p>\n<h2>Gutenberg block<\/h2>\n<p>Coming soon<\/p>\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, classic-layout|hero-layout|list-layout|html-list-layout columns, 1-column|2-columns|3-columns|4-columns|5-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-pro-version\/shortcode\/\">Continue reading <span class=\"screen-reader-text\">Shortcode<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9591,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9346","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\/9346","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=9346"}],"version-history":[{"count":29,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9346\/revisions"}],"predecessor-version":[{"id":9798,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9346\/revisions\/9798"}],"up":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/pages\/9591"}],"wp:attachment":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-related-posts-pro\/wp-json\/wp\/v2\/media?parent=9346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}