Forum: Sweet Date Theme Integration

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Sweet Date Theme Integration premium extension please open a new premium support ticket.

[Resolved]How to add geo search fields in other pages other than members directory

Forums Sweet Date Theme Integration How to add geo search fields in other pages other than members directory

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34729

    I made page template that include sweet-date horizontal search form, but it’s not show geo search like address, radius and order by. Geo search fields only shows in members directory

    Can you help me to make it appear in other page?

    #34731

    Hi @fitoussi,

    I managed to make it work on every page by delete this line
    if (bp_current_component() == ‘members’

    I want to make geo search fields appear on page with slug ‘members-online’, this page using custom template..
    maybe there are better alternatives other than delete this line, already tried below but nothing work

    if (bp_current_component() == ‘members’ || bp_current_component() == ‘members-online’ || bp_is_current_component() == ‘members-online’ || is_page () == ‘members-online’

    Maybe you have any suggestion

    #34730

    Nop. It is works for you than that is the best solution. That line – if (bp_current_component() == ‘members’ ) – simply check if you are in the members page of BuddyPress. Only then the code will be executed. Once you removed it will work on other pages as well.

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

You must be logged in to reply to this topic.