• Hi
    I just realized, that the WP search of my Admiral Child Theme is pretty useless.
    It finds little, and the results (of static pages) are no clickable links.

    I use WP primarily as a CSS and try to make/code as much as my possibilities will allow on my own …
    So I mainly use pages instead of posts and some of them are custom-post-type pages. Some of them consist only of metabox custom fields.

    No matter, what I’ve tried, the search results I get do not meet my needs. The biggest pain is, that, even if I use plugins like Relevanssi or curry-search, the post results of static pages just show a part(excerpt) of the found entries, but WON’T LINK to the pages, where the entries were fond. That is pretty USELESS.

    The next pain is, that the search doesn’t find terms in the metabox custom fields in the custom post type pages …
    I have another site running, using Weaver Extreme Theme, and the search there finds static pages, shows them with thumbs and they are formatted as clickable links.

    So what can I do, to force my search to find entries in:
    Static pages
    Custom post type (static)pages
    (Metabox) Custom fields content
    Custom post type pages
    (Categories, Tags ? )
    AND, and that’s important: display them ALL as clickable links to the pages, the found entries come from ….

    I hope my English is good enough, to make clear, what I mean.

    Tnx in advance
    BrGds
    Worels

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Thread Starter worels

    (@worels)

    As I said, this changes nothing, the search results/style doesn’t change even with plugin … I tried Relevanssi and curry-search before ….
    They have no own result oage, they use WP-search or Theme-search with described effects …

    Thread Starter worels

    (@worels)

    Search-Everything – same behaviour – NO clickabel links in search results
    no custom field results of custom post type pages ??

    It must have something to do, how the theme (admiral) formats the results, but I don’t know how to change this and the theme(admiral) don’t give personal support and in the theme-forum there are no answers and just 1 post …

    Thread Starter worels

    (@worels)

    Solution:

    In the file, where the search results will be generated, in my case:
    content-search.php, as that is the file search.php points to …
    you have to add in the loop:
    <a href="<?php the_permalink();?>"><h3><?php the_title(); ?></h3></a>
    than you get the results with the links.
    In my case, there was only: the_excerpt()

    • This reply was modified 6 years, 10 months ago by worels.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Useless search results’ is closed to new replies.