Custom Display Format Demonstration
In the following demonstration, we want to show only the product name with a link to buy the product.
To accomplish this request, we’ll specify a display format within the shortcode as shown below:
es1sc_prodlist display_format='<a href="#BuyNowURL">#ProductName</a>'
Fatal error: Uncaught Error: [] operator not supported for strings in /home/customer/www/1shopdemo.equalserving.com/public_html/wp-content/themes/layerswp/core/helpers/post.php:56 Stack trace: #0 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-content/themes/layerswp/partials/content-single.php(46): layers_post_meta(198) #1 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-includes/template.php(732): require('/home/customer/...') #2 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-includes/template.php(676): load_template('/home/customer/...', false, Array) #3 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #4 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-content/themes/layerswp/single.php(21): get_template_part('partials/conten...', 'single') #5 /home/customer/www/1shopdemo.equalserving.com/public_html/wp-includes/template-loader.php(106): include('/home/customer/...') #6 /home/cu in /home/customer/www/1shopdemo.equalserving.com/public_html/wp-content/themes/layerswp/core/helpers/post.php on line 56