Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • korrosiv
    Participant

    I cannot execute the shortcode in the title.

    It is correctly executed in the post text though.

    https://ibb.co/J2sLLZp

    Hi Korrosiv,

    Shortcodes in post title will be executed depending on the theme.

    Themes have to execute shortcodes in whatever text before printing them.
    This applies to any shortcode.

    Anyways, you can try the suggestion mentioned here to add support to execute shortcodes in the title.
    https://stackoverflow.com/a/6845622/306961

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘shortcode not executed on post title’ is closed to new replies.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam.