Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #648761

    Hi i am facing 155 mistakes in google search console pointing out missing hentry entries…(author and updated).

    Any idea how to fix that issue? This is an adivse from yoast – does this make sense or are there other ways?

    Kind regards,
    Tob

    • This topic was modified 8 years, 5 months ago by Tobiy.
    #649798

    Hey Tobiy,

    They are already added in Enfold. Do you have a list that shows where they are missing?

    Best regards,
    Yigit

    #651345

    Hey yigit,

    attached.
    fields” author and updated are missing….

    Kind regards,
    Tobiy

    #652429

    Hi,

    The portfolio template do not contain the author info. You have to add it manually in the config-templatebuilder > aviashortcodes > portfolio.php file. Or use the default post items instead of the portfolio items.

    Best regards,
    Ismael

    #653359

    Hi Ismael,
    opened the php file…mh…where and what must i add?
    Can you please guide me through?

    Thank you very much!

    #654588

    Hi,

    We are very sorry for the delay. Look for this code around line 515:

    if(!empty($title_link))
                            {
                            	$output .= "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a>";
                            }
                            else
                            {
                            	$output .= "".$title."";
                            }
    
                            $output .= '</h3>
    </header>';

    .. below, add this code:

    	ob_start();
    						the_author_posts_link();
    						$author = ob_get_clean();
    
    						$output .= '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
    	                    $output .= '<span class="entry-author-link" >';
    	                    $output .= '<span class="vcard author"><span class="fn">';
    	                    $output .= $author;
    	                    $output .= '</span></span>';
    	                    $output .= '</span>';
    	                    $output .= '</span>';

    Best regards,
    Ismael

    #654822

    Ismael, everything is good – no reason for an apology :-)
    To Make things short: THANK YOU THANK YOU THANK YOU

    Best regards, tob

    #654865

    Hi,

    glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘hentry missing in portfolio entries’ is closed to new replies.