Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Huson

    (@husobj)

    How have you “enabled short code expansion”?

    Please give further details so I can recreate your setup.

    Thread Starter ldebacker

    (@ldebacker)

    Sure, thanks for your quick response.
    I am using Suffusion.
    I just followed the instructions that can be found here and there on the net to enable short codes in titles, that’s to say:
    I modified functions.php (the one coming with suffusion) to add the following line: add_filter('the_title', 'do_shortcode');

    So, in my page title I enter a short code: [content field=”year”]

    The short code I entered comes form the plugin custom-content-shortcode/
    The one I’m using inserts the contents of the custom field “year” in my title.

    BRs,

    Laurent.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Short code expansion in title’ is closed to new replies.