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 Change H1 Tags On Pages - Can't Find Page Template In Code


  #1  
Old Feb 3, 2011, 03:20 PM
pokepsw
 
5 posts · Feb 2011
Hi, I have moderate-advanced PHP knowledge and want to change the way H1s are used on the site, specifically on pages.

Currently, there are 2 H1s being called on each page, one for the Title and another that I manually entered into the Page Content box. How can I find the H1 tag in the page code?

Thanks!
  #2  
Old Feb 3, 2011, 03:42 PM
pokepsw
 
5 posts · Feb 2011
I found this in the options, and the H1 is inside div class="post-headline" but I still don't see the actual place where I can remove the H1

<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

</div><!-- / Post -->
  #3  
Old Feb 4, 2011, 10:15 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You can change H1, H2 etc by putting CSS in ATO>Add HTML/CSS Inserts>CSS Inserts
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #4  
Old Feb 7, 2011, 09:41 AM
pokepsw
 
5 posts · Feb 2011
Quote:
Originally Posted by lmilesw
You can change H1, H2 etc by putting CSS in ATO>Add HTML/CSS Inserts>CSS Inserts
Thanks for the reply, but how can we just remove the title all together only on the homepage?

prospercomm.com is the site and we want to remove "Home" from the homepage. Please advise, thanks
  #5  
Old Feb 7, 2011, 10:11 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If it a single post or static page you can go to the SEO Options in the theme option and turn on Use Post/Page Options then you will have a check box to turn off the title on the post or page. I this is a multi post page you will have to use CSS to turn off the title.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Feb 7, 2011, 12:19 PM
pokepsw
 
5 posts · Feb 2011
How can I do it only on the homepage?
  #7  
Old Feb 7, 2011, 12:25 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
It it's a page you just check the box as mentioned. If it is a multipost page you would use a conditional with the CSS such as
HTML Code:
div#post-682 .post-headline {
display: none;
}
where 682 is the id of your post.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Feb 7, 2011, 12:29 PM
pokepsw
 
5 posts · Feb 2011
We're using All In One SEO, but I added embedded style to header w/ the post ID and that worked. Thanks!

Bookmarks

Tags
h1 tags



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar (horizontal bar, like bar1). Have the code embedded in a Page Template treeplant Header configuration & styling 0 Mar 28, 2010 08:16 PM
[SOLVED] Explorer problems; can't find the code errors snphillips Header configuration & styling 6 Dec 14, 2009 01:44 PM
[SOLVED] Please Help, I can't find the code: itbloke Header configuration & styling 28 Dec 4, 2009 09:10 PM
Where do I find the code for the Post title? JakeThePeg Post-Kicker, -Byline & -Footer 1 Sep 13, 2009 06:26 AM
How do I change the "Page" header on top of my menu? I cannot find it in the editor. Jayce Page & Category Menu Bars 1 Apr 11, 2009 10:51 PM


All times are GMT -6. The time now is 07:33 PM.


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