Custom post types not showing in results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom post types not showing in results

This topic contains 2 replies, has 2 voices, and was last updated by enoversum enoversum 7 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2817
    enoversum
    enoversum
    Participant

    Hi Ernest,

    I hope you are well and alive. Since I wanted at least use the current functionality I couldn’t wait and bought your plugin right away ;-).

    So far I am pleased with all the options, though I hit a barrier right away. I have a three custom post types for the current website which form the basis of the whole website. I enabled the post types, I allowed search in title, but it just doesn’t return my posts from there. E.g. I have one doctor called ‘Dr. Martin Sander’, but it never shows. A frontend search form is at http://www.physalis-web.com/aerztegemeinschaft/suche-test . Already tried a vanilla search form with just the change of enabling the post types, but still they don’t show up.

    Also, one comparably minor thing: When I enable grouping of search results I get ‘Beitrag’ (i.e. ‘Post’) as a heading for posts. Can you provide a setting (similar to CPT renaming for frontend filter settings) to change that? E.g. I would like to rename it to a category since I only display posts from there.

    Can you help me out:-)?

    Thanks a bunch

    Eno

    #2822
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I checked on the plugin, but I needed to do a quick debugging as well and it turned out that some values on the options page were not consistent with the database. In this case the best and safest option is to start over, so I deleted the search you have configured – sorry about that – and created a new one. You probably will re-configure the search, I hope it won’t happen again. If so, then it’s definitely an unknown bug.

    You can actually change the grouping header on the advanced options page. Under the “Group results by” option there is an input field where you will see the following text: “Posts from: %GROUP%”. Change it to whatever you want, and it should show on the frontend. Currently the isotopic layout is used so I turned it off as it only applies to vertical results.

    I have also applied a few custom css rules, which you can see under the “Theme options->Custom CSS” panel, because some rules were conflicting from the theme. You should make a copy of that text in case you create a new search.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2823
    enoversum
    enoversum
    Participant

    Hey Ernest,

    no problem you deleted the search, I had tried myself a new search instance, but it didn’t help. As for the database/options thing, you’re still referring to your own plugin (or do you mean my options page in the backend)?

    However, this version works well, will see how it does when I configure it to my needs.

    Will see for the CSS thingy then ;). Didn’t find that it conflicted with my theme, so thanks a lot for the extra work!!!

    Any update on the relevance sorting thing I have been getting on your nerves so much :)?

    Best

    Eno

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.