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
Hi fred1601!
Can you post a screenshot showing the tags and category reference in the footer?
Regards,
Nikko
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
Works great!
Thanks!
Frederic
Hi,
Glad we could help!
We really appreciate it if you rate our theme on themeforest https://themeforest.net/downloads
Best regards,
Nikko