• Resolved hurra03

    (@hurra03)


    Hi Nobita – you closed out the previous hAtom query I had, but it’s still not resolved. Could you check please? Thanks

    hurra03

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author nobita

    (@nobita)

    Sorry

    Your screenshot shows alert.

    I checked same ( update not exists ),

    but link click, Structured Data Testing is all good.

    Examine once again, please give a little time

    Thank you

    Thread Starter hurra03

    (@hurra03)

    https://alteregovoices.com/wp-content/uploads/2016/04/nobita.jpg

    I believe I need a function similar to this:

    `//mod content – use this function only if you DON’T USE Suffusion theme
    function hatom_mod_post_content ($content) {
    if ( in_the_loop() && !is_page() ) {
    $content = ‘<span class=”entry-content”>’.$content.'</span>’;
    }
    return $content;
    }
    add_filter( ‘the_content’, ‘hatom_mod_post_content’);

    //add hatom data
    function add_suf_hatom_data($content) {
    $t = get_the_modified_time(‘F jS, Y’);
    $author = get_the_author();
    $title = get_the_title();
    if (is_home() || is_singular() || is_archive() ) {
    $content .= ‘<div class=”hatom-extra” style=”display:none;visibility:hidden;”><span class=”entry-title”>’.$title.'</span> was last modified: <span class=”updated”> ‘.$t.'</span> by <span class=”author vcard”><span class=”fn”>’.$author.'</span></span></div>’;
    }
    return $content;
    }
    add_filter(‘the_content’, ‘add_suf_hatom_data’);
    `

    Would that work?

    Theme Author nobita

    (@nobita)

    Please tell me about the page you are experiencing the error

    Is attachment page ?

    Is post format status post ?

    or Static page ?

    If you also error other than this page, please tell me about it.

    Theme Author nobita

    (@nobita)

    I’m checked your WEB Site error pages from your screenshot.

    The error has occurred is the page of static page and attachments.

    You needs posted on for static page?

    You needs Image upload date for attachment image page?

    Thread Starter hurra03

    (@hurra03)

    Yes that’s right

    Theme Author nobita

    (@nobita)

    Please tell me the correct English name

    Posted on, at attachment page

    ‘Attached to Post on’ is correct ?

    Posted on, at static page

    ‘Created on’ is correct ?

    Theme Author nobita

    (@nobita)

    Raindrops1.404 live

    You can show posted on each page and attachment image page

    Dashboard / Appearance / Customize /

    Show Attach to Post Date and Author in Attachment

    Show Publish Date and Author in Page

    Thread Starter hurra03

    (@hurra03)

    Thanks Nobita – I will have a look a that this week.

    Thanks for all your help

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘hAtom Entries missing’ is closed to new replies.