Tagged: ,

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

    Hi,

    Does anyone know what I could add in the functions.php file of my child theme in order to remove tags and category reference in the footer.
    Display:none in css does not help as it is still fetched by Google.
    Thanks!

    Frederic

    #715567

    Hi fred1601!

    Can you post a screenshot showing the tags and category reference in the footer?

    Regards,
    Nikko

    #715571

    Hello Nikko,

    Please find below the page which inlcudes tags in the footer.
    Here is a sample:
    <footer class=”entry-footer”><span class=”blog-tags minor-meta”>Tags:<span> android, Apple

    Thanks,

    Frederic

    #715604

    Hey!

    There’s no function that can remove it, you need to edit it in enfold\wp-content\themes\enfold\includes\loop-index.php and remove this code in line 268-273:

    if(has_tag())
                	{
                    	echo '<span class="blog-tags minor-meta">';
                    	the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span> ');
                    	echo '</span></span>';
                	}

    and enfold\includes\loop-portfolio-single.php line 41-46:

    if(has_tag() && is_single())
    				{
    					echo '<span class="blog-tags minor-meta">';
    					the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span> ');
    					echo '</span></span>';
    				}

    If you are using a child theme, create includes folder and copy both files above then remove/modify the code. Hope this helps :)

    Best regards,
    Nikko

    #715623

    Works great!
    Thanks!

    Frederic

    #715627

    Hi,

    Glad we could help!
    We really appreciate it if you rate our theme on themeforest https://themeforest.net/downloads

    Best regards,
    Nikko

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