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

  • Author
  • #34058
     mikereff
    Participant

    My search form currently has a long list of activities. My goal is to add an accordion above the activities, so that it will appear when clicked.

    I know how to create the javascript functions, I am just wondering where to place the div that references the function. Is it in kleo-bp-search? I see that on line 435 there is a comment, ‘//theme options get fields’. My best guess is that it is somewhere around here, but I would like to know for sure.

    Also, if I add a new js file to the child theme, where do I reference or enqueue it in order to be recognized by this kleo-bp-search?

    Thanks

    #34616
     Kamal
    Moderator

    Hi,
    Can you please give me a screenshot of where you would like to insert accordion? and You can add new custom js code to “Theme options> General Settings> JavaScript code field. Your code will be loaded in the footer. Thanks.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?