Roll Your Own Method Within Template Files
-
Hi,
Hopefully this hasn’t been asked before (I couldn’t find an answer to it anywhere). I’d like to use the plugin so that the trigger and expanded content are in a template file but they need to be separate to one another (which I believe is where the “roll your own” method comes into play?). Is this possible within a template file?
If it helps the code I’d like within the expanded content is a bunch of advanced custom fields e.g.
<div class="additional-image"><img src="<?php the_field('additonal_image_1'); ?>" alt="<?php the_title(); ?>" ></div>
Hope that makes some sense?!
Thanks in advance,
James
https://www.ads-software.com/plugins/jquery-collapse-o-matic/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Roll Your Own Method Within Template Files’ is closed to new replies.