Collapse-o-mattic on image post thumbnail
-
Hello,
I’ve been trying to find a way to programmatically use collapseomatic short code in a php file rather than in the text editor.I have an index page that shows thumbnail images with excerpts shown beneath the thumbs. I have moved my content to display in the excerpts area by replacing, in a php file “page-activity.php”, “php the_content” with “get_the_excerpt”.
Now my content shows up in my excerpts display area.So now that that’s working, I want to have this content show and hide when the user clicks on a thumbnail.
I’ve been able, collaps,the content via the text editor but this is much too time consuming and it doesn’t allow me to use the post thumbnail image($img) as a trigger.
I am close but I can use some help or suggestions.
Thanks,
ww
- The topic ‘Collapse-o-mattic on image post thumbnail’ is closed to new replies.