Hi, I’m currenlty doing a SEO upgrade to my website with an specialized team and they ask me to change some things I can’t do.
– They ask me to delete “/?s=” that the search button creates. If you look at search button, there’s an < a > tag with this href=”?s=” and I would like to delete it. How can I do it?
– I need to add rel=”next” & rel=”prev” for paginated archives, but I don’t know how or where.
Can you help me with this? Thanks!
Hey jorlafer,
You should be able to find it in wp-content\themes\enfold\functions-enfold.php line 284:
<a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
However this is used by wordpress when searching.
As for pagination you can find it in wp-content\themes\enfold\framework\php\function-set-avia-frontend.php, previous (line 854):
$output .= ($paged > 1 && $showitems < $pages)? "<a href='".$method($prev)."'>‹</a>":"";
and next (line 865):
$output .= ($paged < $pages && $showitems < $pages) ? "<a href='".$method($next)."'>›</a>" :"";
Hope this helps.
Best regards,
Nikko