• Resolved bunta123

    (@bunta123)


    Hi there,

    I’m stuck and can’t work out what I’m doing wrong.

    I created a new pod called “Store”

    Within that pod I created a new text box field called “store_info” for a taxanomy category I have called store.

    So when I edit that store, I see that I have that new “Store_info” box available and I can enter the store details and save it. That all works fine.

    The last thing I want is to display that store information in my store page. I’ve tried to various shortcodes to try to display it, but it crashes my site.

    Can any help me understand what I put in the shortcode to display the Store_info?

    <?php echo do_shortcode(“[shortcode]”); ?>

    Thanks!

    • This topic was modified 5 months, 2 weeks ago by bunta123.
Viewing 2 replies - 1 through 2 (of 2 total)
  • jhnpldng

    (@jhnpldng)

    Are you specifying the field you want?

    [pods id="1" field="post_title"]

    Search docs.pos.io for “shortcode” for both basic shortcode or php with shortcode usage. It’s one of the few Pods subjects the docs cover well.

    Plugin Support Paul Clark

    (@pdclark)

    https://docs.pods.io/displaying-pods/pods-shortcode/

    Also make sure the quotation marks are dumb quotes " not curly as from a word processor.

    Also the shortcodes should be able to go onto the Store page within the WordPress editor without using PHP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.