[SOLVED] How To Change H1 Tags On Pages - Can't Find Page Template In Code
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! |
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 --> |
You can change H1, H2 etc by putting CSS in ATO>Add HTML/CSS Inserts>CSS Inserts
|
Quote:
prospercomm.com is the site and we want to remove "Home" from the homepage. Please advise, thanks :) |
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.
|
How can I do it only on the homepage?
|
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 { |
We're using All In One SEO, but I added embedded style to header w/ the post ID and that worked. Thanks!
|
All times are GMT -6. The time now is 07:55 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.