{"id":863,"date":"2021-03-14T09:22:26","date_gmt":"2021-03-14T09:22:26","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/?p=863"},"modified":"2025-04-09T11:52:48","modified_gmt":"2025-04-09T11:52:48","slug":"display-shortcode-in-product-table-plugin","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/display-shortcode-in-product-table-plugin\/","title":{"rendered":"Display shortcode in the product table plugin"},"content":{"rendered":"\n<p>Display shortcode in the product table is the best way to show the shortcoded content related to your products such as song preview.&nbsp;<\/p>\n\n\n\n<p>This feature is especially important for the downloadable products such as music. A shortcode is assigned to them in the description of WooCommerce product page.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/ithemelandco.com\/plugins\/woocommerce-product-table\/\" target=\"_blank\" rel=\"noreferrer noopener\">Woocommerce product table plugin<\/a> is compatible with displaying shortcodes in the description of the product table. The related content will automatically displayed in the table as soon as assigning a shortcode to a product.<\/p>\n\n\n\n<p>For example, let\u2019s check displaying shortcode of some songs in a music store by product table:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Assign shortcode to the products in WooCommerce<\/strong><\/h2>\n\n\n\n<p>To assign a shortcode to the WooCommerce product page, you have to add some products.<\/p>\n\n\n\n<p>In each product, you are able to add shortcode to the description part as we assigned for some songs below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-add-shortcode.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1537\" height=\"720\" src=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-add-shortcode.jpg\" alt=\"Add audio shortcode to woocommerce products\" class=\"wp-image-866\" style=\"width:1537px;height:720px\"\/><\/a><\/figure>\n\n\n\n<p>After assigning these shortcodes to your products, you are able to display them in the product table, directly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Display shortcode in the product table<\/strong><\/h2>\n\n\n\n<p>&nbsp;To display shortcode in the product table, you have to add \u201c<strong>Description<\/strong>\u201d column to the product table in the \u201c<strong>Columns<\/strong>\u201d tab:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-display-shortcode.jpg\"><img decoding=\"async\" width=\"1408\" height=\"753\" src=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-display-shortcode.jpg\" alt=\"Display shortcode in the product table\" class=\"wp-image-867\" style=\"width:1408px;height:753px\"\/><\/a><\/figure>\n\n\n\n<p>To help you control and manage columns in the product table, you can edit columns in the list by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Changing the order\u00a0<\/li>\n\n\n\n<li>Selecting in which screen you want to display the column<\/li>\n\n\n\n<li>Changing the column name<\/li>\n<\/ul>\n\n\n\n<p>For example, as we are going to display the song preview in the \u201c<strong>Description<\/strong>\u201d column, it is a good idea to replace this name by \u201c<strong>Preview<\/strong>\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-rename-column-name.jpg\"><img decoding=\"async\" width=\"1402\" height=\"747\" src=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-rename-column-name.jpg\" alt=\"Rename column name in woocomemrce product table plugin\" class=\"wp-image-1755\" style=\"width:1402px;height:747px\"\/><\/a><\/figure>\n\n\n\n<p>By getting help from \u201cHow to make an audio Woocommerce product table for an online music store\u201d, before, you can edit any part of this product table such as &#8220;<strong>Query<\/strong>&#8220;, &#8220;<strong>Searchbox &amp; Pagination<\/strong>&#8220;, &#8220;<strong>Template<\/strong>&#8221; and &#8220;<strong>Setting<\/strong>&#8220;.<\/p>\n\n\n\n<p>Finally, you need to publish this song table to see how the shortcode are displaying in your online music store:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-final-result.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1531\" height=\"669\" src=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/03\/23-final-result.jpg\" alt=\"display shortcode in woocommerce product table plugin\" class=\"wp-image-1753\" style=\"width:1531px;height:669px\"\/><\/a><\/figure>\n\n\n\n<p>As you can see in the above picture, the preview of all songs which we had assigned their shortcodes to the Woocommerce Product page is displayed in the product table under the \u201c<strong>Preview<\/strong>\u201d column.<\/p>\n\n\n\n<p><strong>Note: <\/strong>If you have any problem in publishing your product table as a WordPress or Woocommerce page, please refer to \u201cHow to insert product table shortcode in wordpress\u201d and \u201cHow to replace shop page and archive page with product table\u201d.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Display shortcode in the product table is the best way to show the shortcoded content related to your products such as song preview.&nbsp; This feature is especially important for the downloadable products such as music. A shortcode is assigned to them in the description of WooCommerce product page. The Woocommerce product table plugin is compatible [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-863","post","type-post","status-publish","format-standard","hentry","category-plugin-usage"],"_links":{"self":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/comments?post=863"}],"version-history":[{"count":0,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts\/863\/revisions"}],"wp:attachment":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/media?parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/categories?post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/tags?post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}