WordPress.org

Ready to get started?Download WordPress

Forums

SubHeading
[resolved] Subheading placement below post date in Catch Box free theme (2 posts)

  1. jangofett
    Member
    Posted 1 year ago #

    Hi,

    I've been looking for a subheader optiion and this looks great but with using the free version of Catch Box I can't get it to work correctly.
    Instead of this...

    TITLE
    Subheading
    Posted on 9 February, 2013 by User — No Comments

    I get this...

    TITLE
    Posted on 9 February, 2013 by User — No Comments
    Subheading

    I've seen references to adding or moving a PHP control in a template PHP file. I cannot find which one to look at for standard page content as there are several and if the plugin is already installed and active should I be able to find a reference to it already in one of the template PHP files so I'll know which one to edit?

    Note I've tried the place before and after tags option but since the same tags are repeated it still places the copy below the date.

    Any assistance would be greatly appreciated!

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

  2. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    This should be possible to adjust by editing the content-single.php file and adding the manual call to the function instead of using the "Automatically display subheadings before post content." option.

    If you find the current h1 tag, simply add the subheading call after that, such as:

    ...
    <h1 class="entry-title"><?php the_title(); ?></h1>
    
    <?php if (function_exists('the_subheading')) { the_subheading('<p>', '</p>'); } ?>
    ...

    This should guide you in the rough direction of where to look and what to do, hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.