WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
I can't comment query_posts because of Jobroller theme (5 posts)

  1. pablorodriguez
    Member
    Posted 1 year ago #

    Hello!

    If in search.php from my theme, I comment:

    [I]//query_posts($args);[/I]

    location search box isn't working :(

    I'm using Relevanssi for searching by custom categories, and is needed to comment that line, as explained here:

    http://www.relevanssi.com/knowledge-base/query_posts/

    Is there any workaround for this?

    Other other suggestion for searching by custom categories?

    Thanks in advance.

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    If you can't comment out the line, then your theme is simply incompatible with Relevanssi.

    However, in most cases you can comment it out, with suitable workarounds. What those might be, however, I don't know.

  3. pablorodriguez
    Member
    Posted 1 year ago #

    Thanks Mikko!

    Anyone knows about any workaround? :)

    Thanks in advance.

  4. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Figure out what your theme does with that query_posts() and see if it can be done in some other way.

  5. pablorodriguez
    Member
    Posted 1 year ago #

    Thanks Mikko!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags