• I use this function in order to display the titles of my pages with the help of shortcodes:
    function post_title_shortcode(){
    return get_the_title();
    }
    add_shortcode(‘post_title’,’post_title_shortcode’);

    It works fine everywhere except for pages in which I use your plugin. Can you tell me what might be the problem here and how I can solve it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes’ is closed to new replies.