Support

Account

Home Forums General Issues Setting up front end filtering and sorting by custom fields Reply To: Setting up front end filtering and sorting by custom fields

  • Thanks so much for getting back to me. I switched the | back to a , and double checked my variables and it looks basically just like the sample code. I am still getting the same error. It is on this line

    foreach( $field['choices'] as $choice_value => $choice_label ):

    I’m not sure what ‘choices’ is supposed to be.

    Also – I maybe didn’t mention this before but this is pulling from a custom post type rather than regular posts. Does that make a difference?