• androjungle

    (@prashanthvarma42343)


    hi i have some issue with site by default older versoin apps will not not showup in search, but in ajax search it is showing older version apps in search, how do i stop them from showing

    https://ibb.co/Tcx2rsg

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter androjungle

    (@prashanthvarma42343)

    i have seperate options in the theme panel to stop showing them, as i have replaced the default search bar with custom code of ajax those functions are not working or doing any effect on ajax search

    https://ibb.co/zZ3z8WL

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I assume the theme does some sort of an exclusion by meta fields or categories so they don’t show up on the theme controlled pages.

    I think the best way around this is to exclude those items by their IDs on the plugin back-end here: https://i.imgur.com/L1tABjs.png

    All the best,
    Ernest

    Thread Starter androjungle

    (@prashanthvarma42343)

    hi the exclusion is made by post ids, but the process is done automatically, how do i do it same here, because some older versions are 20+ posts for a single post

    Plugin Author wpdreams

    (@wpdreams)

    That is the only way. The exclusions on the screenshot seem to be added by the theme or some other feature, which may not have an effect on the plugin by default.

    All the best,
    Ernest

    Thread Starter androjungle

    (@prashanthvarma42343)

    https://prnt.sc/0A7oZosHYoBr

    hi this is my default search code is there anything i can do so that it works with ajax search, or ajax search works with that code

    Plugin Author wpdreams

    (@wpdreams)

    Oh okay, that’s some sort of a custom query code, that will have no effect on ajax search by default. What I can see there is only a category exclusion for category ID=5. You can actually do the same exclusion here: https://i.imgur.com/nMVbghH.png

    That might be it, my guess is that the excluded post are tagged with that category probably.

    Thread Starter androjungle

    (@prashanthvarma42343)

    hi i asked ther developer he told me this

    With: category_not_in => array(1, 2, 3, 4) you can block posts from ID categories 1, 2, 3, 4. And with post__not_in => array( 5, 6, 7, 8) you can block posts by their ID.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘previous versions in search box’ is closed to new replies.