2016-06-15 Fix Search Result Links

I used this URL to find the information to change the search template so that it provides the LINK address correctly. Now if I can just determine the editor for the theme.

You need to edit your search results template. It’s broken, as it’s missing post titles and links to the posts.

<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

adds the title and

<a href="<?php the_permalink(); ?>">Read more...</a>

adds a link to the post, when added to your search results template. [Mikko Saari]

https://wordpress.org/support/topic/no-links-to-results-in-search-results

One thought on “2016-06-15 Fix Search Result Links”

  1. I made a comment inside the file entitled “content-search.php” which formats the search results. The code fix will not work for these results as stated above. If the user [you] click on “continue reading”, the post is reloaded WITH the corrected URLs and gif content. Just a mental note to self and other contributors: links and graphics will not appear or be functional in the brief excerpts of the search results. I do not consider this bad enough to continue working on it.

Comments are closed.