Plugin Author
Baden
(@baden03)
what have you tried?
do you have a link to your current status?
Hi!
I’ve tried to wrap a list with its title and respective descriptions below each item, like:
<h1>[expand title=”Title” trigclass=”noarrow” filter=”true”]</h1>
Description.
Description.
Description.
Description.
[/expand]
That is, everything inside [expand (…)] and [/expand]. But it messes with the page and simply doesn’t apply.
I remember having seen one specific code for lists, but if I change the formatting between links and descriptions it doesn’t apply too.
Am I getting to be clear? I’d like to do something like this: https://en.m.wikipedia.org/wiki/Ludwig_van_Beethoven. In this mobile version of a Wikipedia article, you can collapse or expand each chapter, like “Biography”, “Character”, etc., and under each of these titles there is more than one line of text or a mere list: there is a block of varied content, even images! I don’t need to collapse images, but I’d like to collapse blocks of content like in this article.
Ah, and there will be subtitles that should be collapsible too, like in this hypothetical structure: http://en.euterpe.blog.br/test
It would be great to get it done! Thanks!
Plugin Author
Baden
(@baden03)
Try:
[expand title="Title" trigclass="noarrow" filter="true" tag="h1"]
Link 1
Description.
...
[/expand]
Yes, man! It’s happening!
I had to remove the tag “<strong>” from the titles, or it would mess with the entire page. But in the end I liked it without the “strong” effect!
Now there is only one last detail!
Look: http://en.euterpe.blog.br/books-sites
If you open the subtitles, each of them brings at the bottom of its list those buttons of “follow me” and “like” from social networks. Did you already know this kind of problem? Any idea of how to fix it? My template is “Virtue Premium” from Kadence Themes, and this is a page actually, not a blog post.
Thank you very very much!
Plugin Author
Baden
(@baden03)
yes, simply un-tick the ‘filter content’ checkbox in the plugin options page.
Settings -> Collapse-O-Matic -> Content Filter: [ ] Apply filter (Apply the_content filter to target content)?
Actually, it was already unmarked, and, of course, marking it also didn’t work. π
We’re almost there! Any other idea?
Thanks!
Plugin Author
Baden
(@baden03)
is there a setting in your social sharing plugin that can turn this off?
I asked directly in the forum of the plugin “AddToAny” (here: https://wordpress.org/support/topic/buttons-more-buttons-through-the-page?replies=6), and it was all about the shortcut filter=”true”!
Now it is perfect! Thank you very much! π
Plugin Author
Baden
(@baden03)
glad you got the issue resolved.