You need to wrap the wp_footer(); in PHP tags so it looks like this:
<?php wp_footer(); ?>
Right now it is simply printing that text at the bottom of your site. By adding the PHP tags WordPress will know to call that function.
Thread Starter
jana11
(@jana11)
Thanks, I did that. It still does not work though. What other issues could prevent the plugin from working? Thanks.
It looks like it’s working for me. You’re first accordion is working as expected (clicking on the first instance of “Austin Bradley” and “Amber Fasquelle” near the bottom of your page). Your second accordion has no content within each accordion item so when you click on theme, there is nothing to display.
Thread Starter
jana11
(@jana11)
Yes, it is working now. Thank you.
I suppose I misunderstood, I thought each entry (person in my case) had to be their own accordion item. But there can be multiple entries within one accordion item.
Is there a way add little toggle icons so that viewers will understand easily that they are looking at an accordion?
Thanks again
There are a number of ways you can do that. The best is by editing your themes CSS stylesheet. You can add this CSS to add a + and – symbol for each one. It will also add a pointer cursor when so users will know it is clickable.
.accordion-title {
cursor: pointer;
}
.accordion-title:after {
content: "+";
float: right;
}
.accordion-title.open:after {
content: "\2212"; /* Minus sign */
}
I see you have also used 8 different accordion groups. You could, if you want, just use a single [accordion] shortcode and place all you [accordion-item] shortcodes inside it. This way all eight will get the same settings applied to them.
Thread Starter
jana11
(@jana11)
Thank you so much. I very much appreciate your help!