• Hey guys,

    I’m trying to use [product_category category=”computers”] on my page Our Computers so it will just show the products in the “computers” category (This is with WooCommerce). However, whenever I enter the shortcode in the page editor and publish it, I get this on my page;

    View post on imgur.com

    Please help! I have no idea what the problem is!

Viewing 1 replies (of 1 total)
  • The power of posting! I figured it out right after. The issue is in where you edit your page; click on the ‘text’ tab above where you input the shortcode and now you’ll see “pre” brackets around your shortcode. Get rid of those and you’re good to go. That happens when input shortcodes while you’re in the visual tab.
    Here’s a good reference for woocommerce’s shortcodes:
    http://docs.woothemes.com/document/woocommerce-shortcodes/
    It was down near the bottom,’messed-up shortcodes’ ,I just didn’t far enough.

Viewing 1 replies (of 1 total)

The topic ‘Weird formatting/yellow box when using shortcodes?’ is closed to new replies.