Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] [SEO] H1 tag in menu (http://forum.bytesforall.com/showthread.php?t=20172)

aem38 Apr 21, 2013 01:24 PM

[SOLVED] [SEO] H1 tag in menu
Hi !

after an update, i noticed that i get two h1 tag into each page of my website …

- Make the Post/Page Titles is set to YES

Here is a part of the code …


<!-- Main Column -->
                <td id="middle">

                                                                <div class="post-817 page type-page status-publish hentry post odd" id="post-817">
                                                <div class="post-headline">                <h1>depannage MAC et PC portable</h1>
                </div>                                <div class="post-bodycopy clearfix"><h1>assistance mac, PC &amp; portable sur Grenoble</h1>
<p style="text-align: justify;">Les techniciens aem se rendent เ domicile pour r้soudre les …

Menu title gets a h1 tag (post headline) ?

How or where to remove it ? 've never seen this before ?!



juggledad Apr 22, 2013 07:55 AM

what is the URL?
do you have a seo plugin? if so what happens if you shut it off?

aem38 Apr 22, 2013 08:30 AM


thanks for the fast reply !

here is the website : aexm.fr

Yes, WP plugin (AIO SEO) is active (but when disabled, it doesn't fix this issue).


juggledad Apr 22, 2013 09:12 AM

it looks like you have hidden the actual post headline and added a <h1> in the text of the post

aem38 Apr 22, 2013 09:40 AM

yes, this css rules comes from this post : http://forum.bytesforall.com/showthread.php?t=15914

But that's not enough, 'am looking for a way to disable / remove this h1 tag (or change to h2).
this H1 tag is not good for SEO …

I've found some .php files in edition part, but am not able to read and follow the code !

nota : i don't think "post-headline" gets h1 tags before, so that's why 'am surprised !
i believe it was due to update, maybe it's a mistake …



juggledad Apr 22, 2013 10:51 AM

Why don you use 'PRESTATAIRE INFORMATIQUE ภ GRENOBLE' as the page title instead of AEM?

If it is just because of the menu, create a wordpress custom menu and change the 'Navagation Label' (dashboard->appearance->Menu: edit a menu item, expand the label and you will see the field) to 'aem' then you don't have to modify the theme code.

aem38 Apr 22, 2013 05:43 PM

Thanks for your reply !

h1 tag and meta title (or page title) are different.

There is two h1 tag in the same page, this is not good !
I 've to remove the "post-headline" one.

Navigation label are not the good place to put h1 tag … there is not enough space !
nota : H1 tag could be up to 8 words length.
example : 6 word in a menu item is not OK.

Do you this is an athaulpa issue ? or wp ?


juggledad Apr 22, 2013 06:43 PM

You should not put an H1 in the text of your post. Please remove it

aem38 Apr 23, 2013 01:34 AM

I understand, but that's not the way i choose … and not answering to my needs.

Tryin' to remove this tags, not edit page content !

You can see it here … http://web.archive.org/web/201210161...//www.aexm.fr/
post-headline with h2 tags before update …

Thanks for your support !


aem38 Apr 23, 2013 02:29 AM


I modified the bfa_get_options.php file …

i've set :


// $bfa_ata['h1_on_single_pages'] turn the blogtitle to h2 and the post/page title to h1 on single post pages and static "page" pages

                if ( $bfa_ata['h1_on_single_pages'] == "Yes" AND ( is_single() OR is_page() ) ) {
                        $bfa_ata['h_blogtitle'] = 2; $bfa_ata['h_posttitle'] = 2;
                } else {
                        $bfa_ata['h_blogtitle'] = 1; $bfa_ata['h_posttitle'] = 2;

thanks again for your time ! You can mark this thread as solved ;)


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

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