Support » Plugin: Reusable Text Blocks » Display Text Block Title

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

    (@halgatewood)

    If you are familiar with PHP you can use this WordPress function:

    <?php echo get_the_title($ID); ?>

    Replace $ID with the number of the Text Block.

    Will this work?

    Yeah works for now. It would be nice if in the next release there was an option in the shortcode or php to pull in either the text block title or the text block content ie. <?php if(function_exists('show_text_block')) { echo show_text_block('1', 'title/content', true); } ?>

    Thanks for the reply and the plugin.

    Plugin Author Hal Gatewood

    (@halgatewood)

    Something to consider, however it would do the exact same thing as get_the_title() so I’m not sure it makes sense.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Text Block Title’ is closed to new replies.