Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 5 posts - 1 through 5 (of 5 total)

How to ad a Meta description to the front page

Home Forums Free Theme Support Asteria Lite How to ad a Meta description to the front page

  • #114332

    joris

    Hi,

    i am trying to add Meta Description for the front page (all the other pages are fine).

    Thanks

    #114778

    Towfiq I.

    administrator

    open up header.php and add this:

    <?php if(is_home()) { ?>
    <meta name="description" content="Your homepage Meta Description">
    <?php } ?>
    #129264

    Joris

    Hi,

    I wish to include one Meta description for English, one for French and added some code in the header but it seems not working…

    Could you please have a look at villalumiabali.com

    Thanks

    #129309

    Joris

    And to provide a bit more information I would like to have it done like this:

    http://www.villalumiabali.com and http://www.villalumiabali.com/en/ >> Meta in English
    http://www.villalumiabali.com/fr/ >> Meta in french

    Currently

    http://www.villalumiabali.com >> Title in French (I woudl like this to be in English) + no meta description

    Thanks for your support

    #129325

    Towfiq I.

    administrator

    why do you want to do that? The meta description is only visible for search engine bots. they will only index the meta found in english.

You must be logged in to reply to this topic.