• Resolved syoung68

    (@syoung68)


    I posted about this in the PublishPress Future support a few days ago. I was using a different block library (GetWid) and I am having the same issue in you library as well. What I have realized that this is a function of WordPress – the short code is grabbing the post ID of the main page and therefore can not pull the expiration date (or a custom meta field) inside the loop. I don’t think I can pass the post ID in any way.

    Any thoughts are appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author htmgarcia

    (@htmgarcia)

    Hi @syoung68,
    may you share step by step details to reproduce this scenario in my end? The more details, the better, please.

    Regards

    Thread Starter syoung68

    (@syoung68)

    Sure. Using the Content Display Block, I am entering a short code such as, [postexpirator], in the “Text after title” field. It will not pull the date for the posts in the content loop. If I put the block directly on a post, it will repeatedly pull the date of the parent post, not the posts within the loop.

    Make sense?

    Plugin Author htmgarcia

    (@htmgarcia)

    Thanks for the clarification! The “Text after title” field is for static content only.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcodes in Content Display’ is closed to new replies.