This topic has 1 reply, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #10397
     daniellemarie
    Participant

    Hi,

    I am looking to have a button in the sidebar for “Search Members” and when clicked, the search widget form expands below it. I have installed an expand/collapse widget plugin to allow this, however as the search widget uses the same form as on the home page, I need a shortcode or php code to call the search widget – instead of adding the Kleo Members Search Form widget (as I can’t use this with the expand/collapse plugin I’m using).

    What would this code be so I can place in my expand/collapse widget area?

    Thanks

    #10614
     Abe
    Keymaster

    Hi, As it states in Sweetdate – Buddypress there are several ways of adding the form:

    To show the form you have different options:
    Shortcode
    [kleo_search_members] or [kleo_search_members_horizontal]
    Widget
    Go to Appearance -> Widgets to set it up
    In PHP files
    Paste the following code where you want the forms to show:
    do_action(‘kleo_bp_search_form’);
    or
    do_action(‘kleo_search_form_horizontal’);

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?