Deprecated: File Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in /home/rolevine/public_html/wp-includes/functions.php on line 5579
Open First Collapsible Section on Initial Page Display - rolevine Open First Collapsible Section on Initial Page Display - rolevine

Categories

Open First Collapsible Section on Initial Page Display

You are here:

[vc_row][vc_column][vc_column_text]

Issue

You have a collection of collapsible sections and you want the first one to be open when you access the page.

Use Case

See issue

Solution

User jQuery to simulate the opening

Credits to

Phil Cox (Formidable Slack @Phil) - for asking the question

Caveats

None

Code

[/vc_column_text][vc_raw_html]JTNDYmxvY2txdW90ZSUzRSUwQSUzQ3ByZSUzRSUwQSUzQ3NjcmlwdCUyMHR5cGUlM0QlMjJ0ZXh0JTJGamF2YXNjcmlwdCUyMiUzRSUwQWpRdWVyeSUyOGRvY3VtZW50JTI5LnJlYWR5JTI4ZnVuY3Rpb24lMjglMjQlMjklN0IlMEElMjAlMjAlMjAlMjAlMjJ1c2UlMjBzdHJpY3QlMjIlM0IlMEElMDklMEElMDl2YXIlMjBmaXJzdFNlY3Rpb24lMjAlM0QlMjAlMjQlMjglMjIuZnJtX3NlY3Rpb25faGVhZGluZyUzQWZpcnN0JTIyJTI5JTNCJTBBJTA5Zmlyc3RTZWN0aW9uLmZpbmQlMjglMjIuZnJtX3RyaWdnZXIlMjIlMjkuYWRkQ2xhc3MlMjglMjJhY3RpdmUlMjIlMjklM0IlMEElMDlmaXJzdFNlY3Rpb24uZmluZCUyOCUyMi5mcm1fdG9nZ2xlX2NvbnRhaW5lciUyMiUyOS5jc3MlMjglMjJkaXNwbGF5JTIyJTJDJTIwJTIyYmxvY2slMjIlMjklM0IlMEElN0QlMjklMEElM0MlMkZzY3JpcHQlM0UlMEElM0MlMkZwcmUlM0UlMEElM0MlMkZibG9ja3F1b3RlJTNF[/vc_raw_html][/vc_column][/vc_row]

Table of Contents

Deprecated: File Theme without footer.php is deprecated since version 3.0.0 with no alternative available. Please include a footer.php template in your theme. in /home/rolevine/public_html/wp-includes/functions.php on line 5579

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram