Forums Forums Search & Filter Pro Sample Using Pod

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #140080

    Hi, I am displaying the content on a Page using Pod Template and I am unable to get Search and Filter to work. Would like to ask if you have any example that can help me please?

    This is what I am trying to achieve:

    1. Created a Pod “myPod” with custom Taxonomy “Topic”.

    2. Displayed content the the Pod using Pod Template.
    [pods name=”myPod” orderby=”myPod_date DESC ” template=”MyPod Content” limit=”1″ pagination=”true”]

    3. Have Search Form to filter by “myPod_Date” and “Topic”

    4. Search result seems to always show “No result”.

    Appreciate any advice from you.
    Thank you.

    Trevor
    #140091
    This reply has been marked as private.
    Anonymous
    #140141
    This reply has been marked as private.
    Trevor
    #140210
    This reply has been marked as private.
    Anonymous
    #140221
    This reply has been marked as private.
    Trevor
    #140223

    Hi

    On the Post Meta settings tab, you had an unfinished condition, so I have removed that. also, the form had no name, so I have given it one, and I have enabled Auto Count (generally a good thing to do).

    I also disabled force is_search and is_archive, unless there is a reason you enabled these?

    Has that improved it?

    Anonymous
    #140394
    This reply has been marked as private.
    Trevor
    #140405

    Hi Tony

    It is possible that S&F Pro would would with a Pod Template and Content Views Pro.

    I am thinking it might work with an undocumented feature of S&F Pro; the Filter Next Query shortcode, which looks like this:

    [searchandfilter id="1876" action="filter_next_query"]

    This has to appear, in page content order, before the WP Query that is executed to create your loop. It is used when the form is to to the Custom Display Results Method and the form is used on a real WP page (one you have made). On the page, let us say that you insert the content using a shortcode in the WordPress post/page editor, you would place the Filter Next Query shortcode immediately before the content shortcode.

    If you have a page builder of some sort, where the content loop is an element you add, just before that element, place a code or text element with the Filter Next Query shortcode in.

    It does not always work, but is worth a try. Always test it first with Ajax off.

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