Support » Plugin: SubHeading » Show Subheading at Custom Place (single.php)

  • Hello,

    i’m using the newest Version of Subheadings (1.7) and the newest version of WordPress (Template: Montezuma)

    My wordpress:
    http://www.felskader-bw.de/FelskaderBW/news/2012/briancon-sommer-2012/

    I really like the idea behind Subheadings and using the automatic option to place the Subheading below the Title works perfect.
    But i want to place the Subheading at a custom place (To the right of the Posts Date, see wordpress link above!).

    Therefor i tried following codesnippets in the single.php:

    <?php the_subheading(); ?>

    <?php the_subheading('<p>', '</p>'); ?>

    <?php if (function_exists('the_subheading')) { the_subheading('<p>', '</p>'); } ?>

    get_the_subheading($postID);

    get_the_subheading(the_ID());

    get_the_subheading(863);

    non are working … anybody any ideas?

    thanks,
    Axel

    http://wordpress.org/extend/plugins/subheading/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Calling this i recognize “the_subheading()” does not exist:
    <?php if (!function_exists(‘the_subheading’)) { failed } ?>

    But the Plugin is activated and the auto placement below the title works … :-/

    Plugin Author Steve

    (@stvwhtly)

    Hi,

    This seems slightly odd, I installed the Montezuma theme directly from the theme directory and added the following immediately after the closing </h1> tag in single.php:

    <?php echo the_subheading(); ?>

    This seemed to work as expected and outputted the subheading assigned to the post.

    Does this differ from what you have tried?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show Subheading at Custom Place (single.php)’ is closed to new replies.