Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] How to display subheading inline with headline?

Old Mar 2, 2012, 02:40 PM
5 posts · Mar 2012
Following the instructions elsewhere in this forum I can get a subhead to display below my headline using the Subheading plugin and adding
<?php if (function_exists('the_subheading')) { the_subheading('<span class="subtitle">', '</span>'); } ?>
<?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.

Last edited by dmahaffey; Mar 2, 2012 at 02:43 PM.
Old Mar 2, 2012, 02:53 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
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
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Mar 2, 2012, 03:19 PM
5 posts · Mar 2012
That worked perfectly. Thank you! I just made my first donation; next one I'll direct to you specifically.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display inline my sub menu guaccio2209 Page & Category Menu Bars 0 Dec 8, 2011 01:45 PM
[SOLVED] CSS and JS still showing up in inline hallartistry Header configuration & styling 1 Mar 27, 2010 06:31 PM
[SOLVED] category widget can not display inline in v3.4 duping812 New Versions, & Updating 5 Jul 11, 2009 12:10 PM
Changing a widget display from block to inline (Twitter Text Widget) Flur Sidebars & Widgets 2 May 7, 2009 12:45 PM
Inline Comments Siekierski Comments, trackbacks & pings 1 Jan 5, 2009 01:52 PM

All times are GMT -6. The time now is 09:15 PM.

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