{"id":10193,"date":"2026-07-09T09:17:28","date_gmt":"2026-07-09T09:17:28","guid":{"rendered":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/?page_id=10193"},"modified":"2026-07-11T18:46:29","modified_gmt":"2026-07-11T18:46:29","slug":"shortcode","status":"publish","type":"page","link":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/documentation-pro-version\/shortcode\/","title":{"rendered":"Shortcode"},"content":{"rendered":"<p>You can use the shortcode generator from the WordPress admin panel to create a new product slider shortcode.<\/p>\n<div style=\"width: 750px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-10193-1\" width=\"750\" height=\"422\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-content\/uploads\/2026\/07\/shortcode-generator.mp4?_=1\" \/><a href=\"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-content\/uploads\/2026\/07\/shortcode-generator.mp4\">https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-content\/uploads\/2026\/07\/shortcode-generator.mp4<\/a><\/video><\/div>\n<p>If needed, you can use our shortcode [ tps ] to generate a custom post slider.<\/p>\n<ul>\n<li><b>id<\/b>, the ID of the saved product slider, used when selecting an existing slider from the shortcode generator<\/li>\n<li><b>layout<\/b>, classic|card|overlay|minimal|centered|compact|hero<\/li>\n<li><b>items<\/b>, number of products to display; use -1 to display all matching products<\/li>\n<li><b>columns_desktop<\/b>, number of visible columns on desktop, from 1 to 6<\/li>\n<li><b>columns_tablet<\/b>, number of visible columns on tablet, from 1 to 4<\/li>\n<li><b>columns_mobile<\/b>, number of visible columns on mobile, from 1 to 2<\/li>\n<li><b>product_filter_mode<\/b>, none|include|exclude<\/li>\n<li><b>include_products<\/b>, product IDs to include, separated by comma<\/li>\n<li><b>exclude_products<\/b>, product IDs to exclude, separated by comma<\/li>\n<li><b>category_filter_mode<\/b>, none|include|exclude<\/li>\n<li><b>product_categories<\/b>, product category IDs to include, separated by comma<\/li>\n<li><b>exclude_product_categories<\/b>, product category IDs to exclude, separated by comma<\/li>\n<li><b>tag_filter_mode<\/b>, none|include|exclude<\/li>\n<li><b>product_tags<\/b>, product tag IDs to include, separated by comma<\/li>\n<li><b>exclude_product_tags<\/b>, product tag IDs to exclude, separated by comma<\/li>\n<li><b>sale_filter_mode<\/b>, none|include|exclude<\/li>\n<li><b>orderby<\/b>, date|title|price|sales|rating|menu_order|rand<\/li>\n<li><b>order<\/b>, DESC|ASC<\/li>\n<li><b>filter_featured<\/b>, set this option ON to display only WooCommerce featured products<\/li>\n<li><b>filter_free<\/b>, set this option ON to display only products with a zero price<\/li>\n<li><b>only_in_stock<\/b>, set this option ON to display only products marked as in stock<\/li>\n<li><b>show_image<\/b>, set this option ON to display the product image<\/li>\n<li><b>show_title<\/b>, set this option ON to display the product title<\/li>\n<li><b>show_price<\/b>, set this option ON to display the product price<\/li>\n<li><b>show_rating<\/b>, set this option ON to display the product rating<\/li>\n<li><b>show_sale_badge<\/b>, set this option ON to display the sale badge for discounted products<\/li>\n<li><b>show_add_to_cart<\/b>, set this option ON to display the add to cart button<\/li>\n<li><b>show_category<\/b>, set this option ON to display product category links<\/li>\n<li><b>show_excerpt<\/b>, set this option ON to display the product short description<\/li>\n<li><b>show_sale_percentage<\/b>, set this option ON to display the discount percentage in the sale badge<\/li>\n<li><b>button_background_color<\/b>, add to cart button background color<\/li>\n<li><b>button_background_hover_color<\/b>, add to cart button background color on hover<\/li>\n<li><b>button_text_color<\/b>, add to cart button text color<\/li>\n<li><b>button_text_hover_color<\/b>, add to cart button text color on hover<\/li>\n<li><b>button_border_radius<\/b>, add to cart button border radius in pixels<\/li>\n<li><b>arrow_background_color<\/b>, navigation arrows background color<\/li>\n<li><b>arrow_background_hover_color<\/b>, navigation arrows background color on hover<\/li>\n<li><b>arrow_text_color<\/b>, navigation arrows icon color<\/li>\n<li><b>arrow_text_hover_color<\/b>, navigation arrows icon color on hover<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can use the shortcode generator from the WordPress admin panel to create a new product slider shortcode. If needed, you can use our shortcode [ tps ] to generate a custom post slider. id, the ID of the saved product slider, used when selecting an existing slider from the shortcode generator layout, classic|card|overlay|minimal|centered|compact|hero items,&hellip; <a class=\"more-link\" href=\"https:\/\/demo.themeinprogress.eu\/tip-product-slider-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":10007,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10193","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/pages\/10193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/comments?post=10193"}],"version-history":[{"count":6,"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/pages\/10193\/revisions"}],"predecessor-version":[{"id":10287,"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/pages\/10193\/revisions\/10287"}],"up":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/pages\/10007"}],"wp:attachment":[{"href":"https:\/\/demo.themeinprogress.eu\/tip-product-slider-pro\/wp-json\/wp\/v2\/media?parent=10193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}