Skip to:
Content
Pages
Categories
Search
Top
Bottom

Filtered member loop by state


  • blauweogen
    Participant

    @blauweogen

    I am using this if statement.
    if ( bp_get_member_profile_data( ‘field=State’ ) == ‘New York’ ) :

    It works for states that do not have a space between words, but does not work for States like New York. Does anyone know how to get it to work?

    BP 1.5.6
    wp 3.5.2
    I’m using Exec-PHP and have the code in a page if that makes any difference. Everything else I have used to filter the loop works fine. Just not anything with two words. I’ve tried everything in place of the space that I could think of. (+ etc.)

  • The topic ‘Filtered member loop by state’ is closed to new replies.
Skip to toolbar