Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How to display subheading inline with headline? (http://forum.bytesforall.com/showthread.php?t=16904)

dmahaffey Mar 2, 2012 01:40 PM

[SOLVED] How to display subheading inline with headline?
 
Following the instructions elsewhere in this forum I can get a subhead to display below my headline using the Subheading plugin and adding
Code:

<?php if (function_exists('the_subheading')) { the_subheading('<span class="subtitle">', '</span>'); } ?>
below
Code:

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
in index.php. But how can I get the subhead to show up inside the headline H3 tag instead?

Failing that, how can I replace the headline H3 tag with something other than a block element?

My objective is to wrap the subhead in a <span class="subtitle"> so I can reduce the font size and apply small caps but keep the subhead inline with the headline. The site I'm developing is password-protected until it goes live, but if it would help I can provide a username/password via PM.

I'm running Atahualpa 3.7.3 on Wordpress 3.3.1.

juggledad Mar 2, 2012 01:53 PM

edit bfa_post_parts.php and change line 40 (version 3.7.3) from
HTML Code:

                                <?php the_title(); ?></a></h<?php echo $bfa_ata['h_posttitle']; ?>><?php
to
HTML Code:

                                <?php the_title(); ?></a><?php if (function_exists('the_subheading')) { the_subheading('<span class="subtitle">', '</span>'); } ?></h<?php echo $bfa_ata['h_posttitle']; ?>><?php

dmahaffey Mar 2, 2012 02:19 PM

That worked perfectly. Thank you! I just made my first donation; next one I'll direct to you specifically.


All times are GMT -6. The time now is 07:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.