WordPress.org

Ready to get started?Download WordPress

Forums

Delicate
[resolved] How to enter in Delicate the microformat "updated" (12 posts)

  1. InmaG
    Member
    Posted 5 months ago #

    Hi,
    I have in web master tools some microformat errors.
    One of them is that the microformat "updated" is missing
    How can I configure it in Delicate template?

    thanks a lot

    Inma

  2. ELExG
    Member
    Posted 5 months ago #

    Within your template files try this

    <time class="updated hidden" datetime="%2$s"></time>

    Hope this fixes Googles webmastertools "updated missing". I'm waiting for reindexing and post here if it works.

  3. ELExG
    Member
    Posted 5 months ago #

    Sorry! That was wrong

    <time class="entry-date updated" datetime="%2$s" >%3$s</time>

    did the trick.

    It seems "updated" has to be at the end! I'v removed the attribute "pubdate" too because its HTML5 invalid.

  4. InmaG
    Member
    Posted 5 months ago #

    ElexG
    Thanks so much for your quick answer. I am going to make the changes and will let you know.
    Have a great day

  5. ELExG
    Member
    Posted 5 months ago #

    You can test your solution here http://www.google.com/webmasters/tools/richsnippets

  6. InmaG
    Member
    Posted 5 months ago #

    It seems I am doing something wrong...still get when checking :
    Error: Missing required field "entry-title".
    Error: Missing required field "updated".

    Did you enter the code in page.php?
    Thanks

  7. ELExG
    Member
    Posted 5 months ago #

    Yes and it depends on your template and your content

    page.php - static content
    single.php - Articles

    Depending on your template look for someting like
    format-standard.php
    format-gallery.php
    format-aside.php
    if it supports different types of articles

    Let me know which template you use and provide a link please.

  8. ELExG
    Member
    Posted 5 months ago #

    Some Details and Examples

    HTML markup snippet http://www.html5live.at/2014/01/x3d-torii-itsukushima-schrein/

    <h1 class="entry-title">X3D Torii Itsukushima Schrein</h1>
    <div class="entry-meta">
    <span class="meta-prep meta-prep-author">Posted on </span><a href="http://www.html5live.at/2014/01/x3d-torii-itsukushima-schrein/" rel="bookmark"><time class="entry-date updated" datetime="2014-01-11T15:31:06+00:00">11. Januar 2014</time></a><span class="meta-sep"> by </span> <span class="author vcard"><a class="url fn n" href="http://www.html5live.at/author/elexgpunkt/" title="View all posts by ELExGspot">ELExGspot</a></span></div>

    Snippet from single.php
    <span class="meta-prep meta-prep-author">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date updated" datetime="%2$s" >%3$s</time></a><span class="meta-sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s">%6$s</a></span>

  9. InmaG
    Member
    Posted 5 months ago #

    Thanks again
    The template is Delicate and this is the URL: http://www.biogallery.es/blog/

    Thanks!!

  10. ELExG
    Member
    Posted 5 months ago #

    Some changes on Delicate needed

    1. find index.php (template)
    2. line 16 add class="entry-title" to <h2> tag
    3. line 17 change

    <?php the_time('F jS, Y') ?>

    to

    <time class="entry-date updated" datetime="<?php the_time('F jS, Y') ?>" ><?php the_time('F jS, Y') ?></time>

    single.php,
    archive.php,
    attachement.php and author.php accordingly

    This will fix it ;-)

  11. InmaG
    Member
    Posted 5 months ago #

    oh, my god. Thanks so much for this, I do not know how to thank you...let me know if I can share a page or whatever you need in my social network. Really. It is working. Big big thank you from Madrid

  12. ELExG
    Member
    Posted 5 months ago #

    I'm glad I could help, and of course it would be nice if you could set a link to http://www.html5live.at from somewhere, or share any link from there whichever you like.

    Please mark this topic "resolved" if it is ;-)

Reply

You must log in to post.

About this Theme

About this Topic