Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #17702

    Hi,

    I have a page: http://www.csomagolas-ami-elad.hu with a Corona Theme.

    At the SEO Analyzer I got the following problem:

    There are multiple <h1> tags on the page.

    1.

    <h1 class=’logo’></h1>

    2.

    <h1>Ha Ön termékgyártó Magyarországon…</h1>

    3.

    <h1>A piac kicsi, a kínálat óriási!</h1>

    4.

    <h1>A vásárlási döntést 93%-ban az első benyomás határozza meg!</h1>

    I am beginner in this programming. What have I do, please?

    #96514

    Hi Vista53,

    That is just how the theme outputs its styles. You would need to go through the theme files and change the various instances of h1 to h2 or whatever you wanted. In this instance, I really wouldn’t recommend it as you’ll need to change the framework files which would mean you would have a hard time updating in the future.

    On that note, you are running version 1.2.1. There is a newer version available from your Downloads on Themeforest. Just re-download the theme from there and install it in the same way you first installed it. That way you have all the most recent bug fixes and security updates.

    Regards,

    Devin

    #96515

    Hi Devin,

    I made the install of the newest version (1.4)

    – Renamed the old Corona folder to Corona_1.2.1

    – Upload the theme to my server via ftp (only upload the unzipped folder „Corona“ into the folder wp-content/themes/ )

    – So I’ve got the both versions on the server

    – I have to made the translations again – it is no problem

    (see http://www.csomagolas-ami-elad.hu/archivum-oldalterkep the English words between the Hungarian)

    I started the SEO Analyzer of Bing (https://ssl.bing.com/webmaster/messages/home)

    – I got the message for all sites:

    “There are multiple <h1> tags on the page.” For all sites, please!

    – There is with the version 1.2.1 and with the 1.4 too

    Have to change the all framework files and the language at the all upgrades?

    What files, and what elements have to change, and how, please?

    Or have to waiting for a new upgrade, please?

    Thanks in advance, best regards

    Vista53

    #96516

    Hi,

    Every search engine has a secret formula which they use to determine a web page’s rank in the search engine. There is something like 300+ individual factors that when combines give a webpage its position for various combinations of words people search under. Neither Google or Bing will tell which factors they are considering and what importance they place on each of those factors, because spammers will instantly know what to do to reach #1. Do not consider h1 to be any more crucial that the other 299 factors a search engine uses to evaluate your page. I can show you pages that are #1 for their keyword and do not use h1 tags

    You should read this http://jubilantweb.com/basic-seo-explanation-updates-due-google-search-algorithm-improvements/ to know what is important currently (written 3 weeks ago) by a Google Engage Agency Member. This is what they say about H1 tags:

    “H1 tags is not that important in relation to the overall SEO process. This point makes it sound as if a keyword is not using the tag then it won’t be indexed. Google’s algorithm has surpassed this basic tagging.”


    However if you want to remove one of the h1, please open up function-set-avia-frontend.php located in the /framework/php/ folder inside your theme , and on lines 398 and 404 , replace ‘h1′ with ‘div’ and replace ‘/h1′ with ‘/div’ so that your line 398 would look like

    $logo = "<div class='logo'><a href='".home_url('/')."'>".$logo."$sub</a></div>";

    and line 404 would look like

    $logo = "<div class='logo bg-logo'><a href='".home_url('/')."'>".$logo."$sub</a></div>";

    Please let us know how Bing reacts to this change.

    Thanks,

    Nick

    #96517

    Hi Nick,

    I made the changes, and Bing react so for the http://www.csomagolas-ami-elad.hu site:

    There are multiple <h1> tags on the page.

    At the page source are this the chritical lines (3x):

    1. class=”inner_caption”><h1>Ha Ön termékgyártó Magyarországon…</h1><div

    2. class=”inner_caption”><h1>A piac kicsi, a kínálat óriási!</h1><div

    3. class=”inner_caption”><h1>A vásárlási döntést 93%-ban az első benyomás határozza meg!</h1><div

    And if I make for an other subsite, the sizuation is the same.

    Until now it was 4x for this site (the logo was the 4th).

    What can I do, please?

    Thanks, Istvan

    #96518

    Hi,

    Please open helper-slideshow.php located in /includes/ directory and on line 287 which looks like

    if(!empty($slide['slideshow_caption_title'])) 	$output .= '<h1>'.$slide['slideshow_caption_title'].'</h1>';

    please change to

    if(!empty($slide['slideshow_caption_title'])) 	$output .= '<h2>'.$slide['slideshow_caption_title'].'</h2>';

    They are all gone and you can have multiple h2 tags , You just now need to figure out what the most important sentence on this page is, and make it into h1 and bing will be tamed.

    Thanks,

    Nick

    #96519

    Hi Nick,

    I mad it, and got again, and controlled more times:

    There are multiple <h1> tags on the page.

    1. class=”inner_caption”><h1>Ha Ön termékgyártó Magyarországon…</h1><div

    2. class=”inner_caption”><h1>A piac kicsi, a kínálat óriási!</h1><div

    3. class=”inner_caption”><h1>A vásárlási döntést 93%-ban az első benyomás határozza meg!</h1><div

    If I check of an onother site:

    http://www.csomagolas-ami-elad.hu/ertekek/ingyen

    I got 2x

    1. <h1 class=’post-title’>Ingyen letölthető anyagok</h1><h1>Ingyenes anyagok a csomagolástervezéshez</h1>

    2. <h1>Ingyenes anyagok a csomagolástervezéshez</h1>

    And I think, at the all sites is the same.

    I hope, you can help me.

    Thanks in advance,

    Istvan

    #96520

    Hi,

    Sorry in the same file as in my last post , please open up line 336

    if(!empty($slide['slideshow_caption_title'])) 	$output .= '<h1>'.$slide['slideshow_caption_title'].'</h1>';

    and change it to

    if(!empty($slide['slideshow_caption_title'])) 	$output .= '<h2>'.$slide['slideshow_caption_title'].'</h2>';

    and on line 425 please change

    if(!empty($element['slideshow_caption_title'])) $title = '<h1>'.$element['slideshow_caption_title'].'</p>';

    to

    if(!empty($element['slideshow_caption_title'])) $title = '<h2>'.$element['slideshow_caption_title'].'</p>';

    Thanks

    Nick

    #96521

    Hi Nick,

    the line 425 is this by my file:

    if(!empty($element)) $title = ‘<h1>’.$element.'</p>';

    I made the upgrade 1.4 (from 1.2.1).

    What have to make, please?

    Thanks

    Istvan

    #96522

    Hi,

    In line 425, please change h1 to h2.

    Thanks,

    Nick

    #96523

    Hi Nick,

    – On the first site is this now OK, but I have to make now manually an h1 tag, its clear (it’s fail now),

    – At the 3th slide show now can’t read the text – it is a great problem now!!!!!

    – At the all other site are multiple <h1> tags on the pages, now forget it. Will be an upgrade, for Corona, please?? It is promoted as a SEO optimized theme!!!

    Thanks

    Istvan

    #96524

    Hi,

    could I make an exeption for the 3th slide show? They will be then to seen and will be have the one h1 tag.

    Thanks

    Istvan

    #96525

    Hi,

    The third slideshow, please use this line 425 (same file as mentioned above for line 425 ( themescoronaincludeshelper-slideshow.php ) . You can also put the original line back you had there before the change, which is what i pasted below.

    if(!empty($element['slideshow_caption_title'])) $title = '<h1>'.$element['slideshow_caption_title'].'</p>';


    Please download and install Notepad++ ( http://notepad-plus-plus.org/download/v6.2.1.html ) [big green button] … (It has Magyar language pack for you to use built into it) Just use standard settings during installation.

    Now unzip the theme on your desktop so that you have all the files in the Corona theme folder on your desktop. Now open up Notepad++

    Look at this image http://i.imgur.com/8PARQ.png

    on the top menu click Search (cntrl + shift + F) and just as in the image, click the button where the arrow is pointing, and locate the theme directory on your desktop, then put *.php for the filter. First search for <h1 and it will show you every location in the theme (there are not that many). change all the <h1 to <h2. You can do it all on the same page, just keep clicking ctrl-s (save) to save each file ..

    Now search for </h1> and repeat the process changing each </h1 to </h2 .. Now you will have zero h1 in the entire theme, and can add them yourself! It will take 10 minutes in total.

    In case you do not want to use that program. here is a list of all the pages with line numbers (from notepad++ that you need to open and change)

    I included the file, and the line numbers, just change h1 to h2.

    
    
    coronaframeworkphpfunction-set-avia-frontend.php

    Line 398: $logo = "<h1 class='logo'><a href='".home_url('/')."'>".$logo."$sub</a></h1>";
    Line 404: $logo = "<h1 class='logo bg-logo'><a href='".home_url('/')."'>".$logo."$sub</a></h1>";
    coronaincludeshelper-slideshow.php

    Line 287: if(!empty($slide['slideshow_caption_title'])) $output .= '<h1>'.$slide['slideshow_caption_title'].'</h1>';
    Line 336: if(!empty($slide['slideshow_caption_title'])) $output .= '<h1>'.$slide['slideshow_caption_title'].'</h1>';
    coronaincludeshelper-templates.php

    Line 592: $output .= "<h1 class='post-title'>".get_the_title()."</h1>";
    coronaincludesloop-archive.php

    Line 42: <h1 class='post-title'>
    Line 44: </h1>
    Line 85: <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
    coronaincludesloop-index.php

    Line 27: <h1 class='post-title'>
    Line 29: </h1>
    Line 127: <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
    coronaincludesloop-page.php

    Line 35: echo "<h1 class='post-title'>".get_the_title()."</h1>";
    Line 64: <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
    coronaincludesloop-portfolio-single.php

    Line 40: echo "<h1 class='post-title portfolio-single-post-title'>".get_the_title()."</h1>";
    Line 68: <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
    coronaincludesloop-portfolio.php

    Line 119: echo "<h1 class='post-title'>";
    Line 121: echo "</h1>";
    Line 175: <h1 class='post-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1>
    coronatemplate-archives.php

    Line 26: echo "<h1 class='post-title'>".get_the_title()."</h1>";
    coronatemplate-portfolio.php

    Line 41: echo "<h1 class='post-title first-title'>".get_the_title()."</h1>";

    Thanks,

    Nick

    #96526

    Hi Nick,

    I’m working on Mac with TextWrangler. It is a professional application. I’ll back later.

    Thanks

    Istvan

    #96527

    Hi,

    Sure thing. I listed all the files and line numbers, But I would pay attention to the function of the line, a lot of them are for page titles, which usually is exactly what you want your h1 tags for.

    Thanks,

    Nick

    #96528

    Hi,

    I made the change for the slide:

    I took for the line 425:

    a. my older verion:

    if(!empty($element)) $title = ‘<h1>’.$element.'</p>';

    b. your version:

    if(!empty($element)) $title = ‘<h1>’.$element.'</p>';

    with the h1.

    It is all the same before:

    – The text of 3th slide is wrong!!!!!!!

    – Bing: The <h1> tag is missing

    If the slide is ok, then I try the other changes.

    Thanks

    Istvan

    #96529

    Hi,

    The only problem is that the original didn’t look like that. It used codes for those characters and looked like this:

    Please take a close look at this snapshot of the original code that uses different characters to represent brackets <

    http://i.imgur.com/7Q8ZN.jpg

    Thanks,

    Nick

    #96530

    Hi,

    I made it, all the same, like in my last post.

    Thanks

    Istvan

    #96531

    Hi,

    Great! We are here to support you anyway we can. Good luck!

    Thanks,

    Nick

Viewing 19 posts - 1 through 19 (of 19 total)

The topic ‘Corona: multiple tags on the page’ is closed to new replies.