• Resolved grapesodabanked

    (@grapesodabanked)


    Is there any way to make Ajaxy Live Search display, for example, all album posts by a certain artist (taxonomy = artist) when I type in the artist as a search term? I noticed only the wp_posts table is queried for posts. How would I get started to search posts on both title AND taxonomy terms?

    For example: if I type in “AC/DC”, I want all posts with the taxonomy term “AC/DC” to show, even if they don’t have “AC/DC” in the title.

    Great plugin!

    https://wordpress.org/plugins/ajaxy-search-form/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Naji Amer

    (@n-for-all)

    in the settings you can check “search category posts”, this will show all posts under the matching category, so if you have a category that is “AC/DC” it will list all post under that category even if they don’t contain “AC/DC”

    is that what you want?

    Thread Starter grapesodabanked

    (@grapesodabanked)

    That’s exactly what I want, but I couldn’t find “search category posts” anywhere. Only “Show Posts under Category” in the Category templates section. Is this what you mean? I put this to “yes” before, but it doesn’t seem to change anything…

    Whenever I search the name of a category or a taxonomy term, only the category or taxonomy term itself shows in the live search and none of the posts under the category or taxonomy…

    Plugin Author Naji Amer

    (@n-for-all)

    Show “Posts under Category”: Show

    this is the exact option to set, it should list all posts under that category if it matches the search

    try it will default categories and not custom taxonomy and tell me if it works

    Thread Starter grapesodabanked

    (@grapesodabanked)

    Nope. No matter what I try, it doesn’t work. I even went into my database, manually deleted old fields and everything, reinstalled, everything. Every time I search a default category or custom taxonomy, I just get the category/taxonomy itself, still none of the posts in it.. The posts show up when I search for their title, but I would like something where I can search for an artist (custom taxonomy) and then it would show the taxonomy (which it does) and a few of the posts under that taxonomy..

    All the other functionality works great, though

    Plugin Author Naji Amer

    (@n-for-all)

    whats your blog address?

    Thread Starter grapesodabanked

    (@grapesodabanked)

    Found the problem. I only tried this with custom post types. I tried putting a default post in a certain taxonomy or category and it works flawless!

    My guess is that my theme does something funny while registering custom post types or something, but I’ll figure it out!

    Thanks! I’ll sure as hell donate to this plugin! Would’ve cost a LOT of time to make this myself ^^

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search album posts by artist AND title simultaneously?’ is closed to new replies.