Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1009314

    hi
    i want remove meta tags without add display:none
    now, enfold removes any elements with css. it’s not seo friendly.
    help me, please.

    #1009530

    Hey mohsensalar,

    Which meta tags are you referring to? Can you please explain a bit more?

    Best regards,
    Victoria

    #1010316

    single posts meta tags
    please see this:
    https://ibb.co/dyy94z

    #1010370

    Hi mohsensalar,

    You can edit templates and remove that html element if you need.

    Best regards,
    Victoria

    #1013274

    i cant find that in single.php
    please help about

    #1013287

    Hi!
    Please open up enfold\includes\loop-index.php and delete line 203 – 209:

    
    	            	if(!empty($cats))
                        {
                            $cat_output .= '<span class="blog-categories minor-meta">';
                            $cat_output .= $cats;
                            $cat_output .= '</span>';
                            $cats = "";
                        }
    

    then line 219:

    
    echo '<span class="av-vertical-delimiter"></span>';
    

    and line 245 – 279:

    
    echo "<span class='post-meta-infos'>";
                    
                    echo "<time class='date-container minor-meta updated' >".get_the_time(get_option('date_format'))."</time>";
                    echo "<span class='text-sep text-sep-date'>/</span>";
    
                        if ( get_comments_number() != "0" || comments_open() ){
    
                        echo "<span class='comment-container minor-meta'>";
                        comments_popup_link(  "0 ".__('Comments','avia_framework'),
                                              "1 ".__('Comment' ,'avia_framework'),
                                              "% ".__('Comments','avia_framework'),'comments-link',
                                              "".__('Comments Disabled','avia_framework'));
                        echo "</span>";
                        echo "<span class='text-sep text-sep-comment'>/</span>";
                        }
    
                        if(!empty($cats))
                        {
                            echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
                            echo $cats;
                            echo '</span><span class="text-sep text-sep-cat">/</span>';
                        }
    
                        echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
                        echo '<span class="entry-author-link" >';
                        echo '<span class="vcard author"><span class="fn">';
                        the_author_posts_link();
                        echo '</span></span>';
                        echo '</span>';
                        echo '</span>';
                    echo '</span>';
    

    You can also copy the loop-index.php file to the child theme folder ( enfold-child\includes\loop-index.php ) to make these changes update safe.

    Best regards,
    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.