• Resolved mdavidhughes

    (@mdavidhughes)


    I love Easy Footnotes, but I write long blog posts and need to use Collapse-O-Matic to show/hide full posts. Unfortunately the footnotes do not collapse along with the body text. Collapse-O-Matic crafted a workaround for me, but I couldn’t get it to work. They said I should contact you. Thank you.

    • This topic was modified 6 years, 4 months ago by mdavidhughes.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    Hi David,

    Their developers submitted a pull request to add the custom hooks into the Easy Footnotes plugin that they show in the workaround example.

    That was recently merged into the latest version of Easy Footnotes.

    Have you implemented their code suggestion into your functions.php file in your theme?

    Plugin Author Jason Yingling

    (@yingling017)

    I’ve just confirmed implementing their workaround does work on a demo site when adding their example code into functions.php with the only exception being the Easy Footnotes title (if you’re using it) is not within the collapsed area.

    I’d recommend turning off the Easy Footnote title via Easy Footnotes settings as it is redundant in this situation as the Collapse-o-mattic plugin would output “Show Footnotes” instead.

    I’m working to add a filter to wrap the full list output for a future release.

    Thread Starter mdavidhughes

    (@mdavidhughes)

    Thanks, Jason. It works now. Don’t know what I did wrong originally. What would be ideal is for the “Show Footnotes” toggle not to display until the user hits “Read more…” since the footnotes toggle could be confusing to the user. But this definitely is an improvement and will allow me to move my long blog post from a WP “page” into a WP “post.”

    Thread Starter mdavidhughes

    (@mdavidhughes)

    Following up on my entry above, “Show Footnotes” is properly hidden on my Blog Posts page (scroll down to the last post):

    https://qualityofmercy.com/wordpress/blog/page/2/

    But “Show Footnotes” appears next to my “Read more…” toggle in the stand-alone post itself:

    https://qualityofmercy.com/wordpress/2008/10/19/footnote-formatting/

    Plugin Author Jason Yingling

    (@yingling017)

    That will be due to the Collapse-o-matic plugin styles.

    Looking at it you could probably just add

    .collapseomatic {
        display: block;
    }

    To your CSS through Appearance > Customize > Additional CSS. But not knowing that plugins very well I don’t know how/if it would effect other styles with the plugin. I’d suggest consulting with them on that if the above causes issues with Collapse-o-matic elsewhere on the site.

    Thread Starter mdavidhughes

    (@mdavidhughes)

    That at least shoved “Show Footnotes” down a line in the stand-alone post. I’ll take this up with Collapse-O-Matic. Thanks.

    Plugin Contributor twinpictures

    (@twinpictures)

    Just to jump in and clear one issue:

    But “Show Footnotes” appears next to my “Read more…” toggle in the stand-alone post itself:

    This is because the tag being used for the expand/collapse elements is set to the default ‘span’. Span elements are inline elements and will appear ‘in line’ next to each other. To have them appear on separate lines, simply set the default tag to: div in the plugin settings or by using the tag attribute.

    Plugin Author Jason Yingling

    (@yingling017)

    That makes sense. Better to switch the element than make an inline element like span a block element. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Using EF with Collapse-O-Matic’ is closed to new replies.