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 » Page & Category Menu Bars »

[SOLVED] [SEO] H1 tag in menu


  #1  
Old Apr 21, 2013, 12:24 PM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
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 …

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 ?!

Thanks

Sebastien
__________________
Get lucky …
  #2  
Old Apr 22, 2013, 06:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the URL?
do you have a seo plugin? if so what happens if you shut it off?
  #3  
Old Apr 22, 2013, 07:30 AM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
Hi,

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).

Sebastien
__________________
Get lucky …
  #4  
Old Apr 22, 2013, 08:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it looks like you have hidden the actual post headline and added a <h1> in the text of the post
  #5  
Old Apr 22, 2013, 08:40 AM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
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 …

thanks

Sebastien
__________________
Get lucky …

Last edited by aem38; Apr 22, 2013 at 08:43 AM.
  #6  
Old Apr 22, 2013, 09:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
  #7  
Old Apr 22, 2013, 04:43 PM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
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 ?

Sebastien
__________________
Get lucky …
  #8  
Old Apr 22, 2013, 05:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You should not put an H1 in the text of your post. Please remove it
  #9  
Old Apr 23, 2013, 12:34 AM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
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 !

Sebastien
__________________
Get lucky …

Last edited by aem38; Apr 23, 2013 at 12:46 AM.
  #10  
Old Apr 23, 2013, 01:29 AM
aem38's Avatar
aem38
 
6 posts · Nov 2010
GRENOBLE
SOLVED !

I modified the bfa_get_options.php file …

i've set :

Code:
// $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

Sebastien
__________________
Get lucky …

All times are GMT -6. The time now is 02:09 AM.


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