New Landing How can we help? Cardinal hentry issues

Viewing 15 posts - 1 through 15 (of 25 total)
  • Posted in: Cardinal
  • #213967
    rwolfenden
    Member
    Post count: 66

    Hi,

    I keep getting hatom issues within my search console. I think I’ve highlighted the issue (missing author and updated code).

    See attached screenshots

    Attachments:
    You must be logged in to view attached files.
    #214197
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Are you using the latest version of Cardinal(V2.32) and the Swift Framework plugin(V1.63)?

    -Rui

    #215288
    rwolfenden
    Member
    Post count: 66

    Hi Rui,

    I am indeed.

    Thanks,
    Rob

    #215545
    mcheck
    Member
    Post count: 44

    Getting the same issues, just came here to post a request to update the theme for Structured Data > hatom (markup: microformats.org)

    Here are the classes to be added:
    https://www.acceleratormarketing.com/trench-report/google-analytics-errors-and-structured-data/

    I request the developers add this to the core theme, if possible.

    For now I worked around it with the child theme functions.php file:

    
    /* GET RECENT POST ITEM
    ================================================== */
    if ( ! function_exists( 'sf_get_recent_post_item' ) ) {
        function sf_get_recent_post_item( $post, $display_type = "bold", $excerpt_length = 20, $item_class = "" ) {
    

    from the sf-post-formats.php file. I imagine one might need to also update the sf-post-formats-new.php

    look for the $recent_post variable and the post-date css class. In the css class, add an additional css class of updated.

    Like this:

    
                $recent_post .= '<div class="details-wrap">';
                $recent_post .= '<h4>' . $item_title . '</h4>';
                $recent_post .= '<div class="post-item-details">';
                $recent_post .= '<span class="post-date updated">' . $post_date . '</span>';
                $recent_post .= '</div>';
                $recent_post .= '</div>';
    
            } else if ( $display_type == "bright" ) {
    
                $recent_post .= '<div class="details-wrap">';
                $recent_post .= '<div class="author-avatar">' . get_avatar( get_the_author_meta( 'ID' ), '140' ) . '</div>';
                $recent_post .= '<h6 class="post-item-author"><span class="author">' . sprintf( '<a href="%2$s" rel="author" itemprop="author">%1$s</a>', $post_author, get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '</span></h6>';
                $recent_post .= '<h2><a ' . $post_permalink_config . '>' . $item_title . '</a></h2>';
                $recent_post .= '<div class="post-item-details">';
                $recent_post .= '<span class="post-date updated">' . $post_date . '</span>';
                $recent_post .= '</div>';
                $recent_post .= '</div>';
    

    Looking at the author htom, but haven’t updated it yet. I can report back once I find the right spot.

    #215752
    rwolfenden
    Member
    Post count: 66

    Thanks for the info mcheck!

    SwiftIdeas folk – any idea when this will be updated on the main theme?

    Thanks,
    Rob

    #215756
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Thanks for the code, will forward to the head developer so he can reply.
    Thanks

    -Rui

    #216209
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @mcheck – thanks, added that for the next theme update.

    – Ed

    #216219
    mcheck
    Member
    Post count: 44

    @Ed, You’re welcome. Thanks for being so responsive.

    -Mike

    #216293
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Ed.
    -Rui

    #218299
    rwolfenden
    Member
    Post count: 66

    Hi All,

    Any timelines for this fix?

    Thanks,
    Rob

    #218459
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @rwolfenden – the changes above were included in the 2.33 update. Has this not resolved it for you?

    – Ed

    #218601
    rwolfenden
    Member
    Post count: 66

    Afraid not, Ed.

    Rob

    #218604
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    I tested your link, and the only thing missing was the image – as you don’t have the detail image displayed on the page.

    – Ed

    #218607
    rwolfenden
    Member
    Post count: 66

    Hi ed, was this in the testing tool?

    If so it doesn’t show there, it’s in the webmasters console.

    #218620
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Which data is showing as missing? As the structured data testing would show up-to-date errors.

    – Ed

Viewing 15 posts - 1 through 15 (of 25 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register