Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Using Pods + CPT, need *urgent* help please

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • William Hamm
    #241857

    Trying to use the custom display method. Form is showing nicely, but results are not showing.

    The output just doesn’t update with the search results. The dynamic count within the form does work, so it’s finding records.

    Trying to use this:

    
    $params = array(
        'limit'   => -1,  // Return all rows
        'search_filter_id' => '4767'
    );
    // Create and find in one shot
    $mypods = pods( 'magazines', $params );
    
    Trevor Moderator
    #241871

    Whilst our plugin does support CPTs, standard custom fields and taxonomies created by PODS, we do not support, at this time, any of their advanced features. This is something we plan to do after we have released V3 (hopefully, it will be released around June 2020), possibly in V3.1 (which would be many months after 3.0).

    You would need to use the standard wp_query function to create any output.

    William Hamm
    #241996

    Understood, thanks. I’ve gotten it to work just fine now using WP_Query. I’m looking forward to V3 !!!

    Two more questions, if you please.

    1) For POST DATE, I need to offer only years (dropdown), can the date range be affected as such?

    2) Is it possible to use links as filters? Like toggle buttons?
    I need a setup like this:
    ALL MAGAZINES CAR MAGAZINES

    So that the ALL option is selected by default (radio?) showing all records
    and that selecting CAR would filter to show only those records

    Currently I’m using a dropdown, but it’s not ideal, because the field is a YES|NO for CAR and that gives me a dropdown with:
    ALL
    – ALL MAGAZINES (2)
    – CAR MAGAZINES (1)

    Trevor Moderator
    #242129

    To answer your questions in turn.

    1. At the moment, the only way to offer the user of your site a choice of just years would be if you had a custom field with just the years in. In V3 Pro addon, you will have the option to add custom form filters, which may well allow you to do as you want.

    2. Maybe you could use a checkbox and style the filters to look like buttons? This is possible using CSS to hide the checkboxes themselves. This is because you can select a checkbox by clicking its label, and you can style the label differently depending on whether the (hidden) checkbox is checked or not. The problem would be that, by default, checkboxes do not have a default set.

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

The forum ‘Search & Filter Pro’ is closed to new topics and replies.