Thread Starter
vr8ce
(@vr8ce)
For others reading this: using <hr> as the label didn’t work. I didn’t really expect it to, but thought I’d check.
Thread Starter
vr8ce
(@vr8ce)
Sorry, I forgot another suggestion. Would you consider making the symbol used as the “return to post” icon configurable as well? I prefer the rounded ↩ rather than squared-off version EF is using. (I’ve actually never seen that one before.) This could be done with an option and putting it directly in the footnoteCopy in easy_footnote_after_content instead of having it in the easynote CSS.
Thanks again!
Hi,
Thanks for using the plugin. I try to keep the options to a minimum in the plugin sticking to the WordPress philosophy of “Every time you give a user an option, you are asking them to make a decision. When a user doesn’t care or understand the option this ultimately leads to frustration.”
That being said all of the items you requested can be accomplished with CSS to a degree.
.easy-footnotes-wrapper {
border-top: 1px solid #333;
}
Will let you add a top border to the footnote wrapper which you could style to match an <hr> element.
.easy-footnotes-wrapper .easy-footnote-to-top:after {
content: '\f171';
}
Will let you change the content of the back to top button to anything you like as long as your site has the proper font. For example, EFN makes use of WordPress’s built in Dashicons font. https://developer.wordpress.org/resource/dashicons/
body .qtip {
max-width: 500px;
}
body .qtip-content {
font-size: 2em;
width: 500px;
}
Will let you overwrite the qtipdefaults for font-size and box width. Although if you’re going to change the box width up too much you may want to review the qtip documentation to make sure it will handle the calculation properly so your tip doesn’t go off the page. http://qtip2.com/options#style
Let me know if you have any other questions.
Thread Starter
vr8ce
(@vr8ce)
Thanks for the quick reply!
Too many unnecessary options = not good. Agreed.
However, with sane defaults, the user *doesn’t* have to make a choice. It just works the way they want. But giving an option empowers other users who don’t want that default. This is especially true when the default behavior is out of the mainstream. (Having an <hr> in front of footnotes is a de facto standard in my web viewing, as is the #8617 for the return symbol.)
But, if you don’t want to do that, it’s your plugin. 🙂
It *might* be possible for me to format the border top as an hr, or get a font character that resembles (or is) #8617, but that’s a lot of work (for me; I’m not a CSS guru), and I’m still modifying one of the plugin files that has to be maintained after an update, just the CSS instead of the PHP. Since it’s far easier (for me) to add an <hr> and the right character to the PHP, then I’ll just do that.
Thanks very much for the tip on the qtip font stuff and especially the link. Those were the parts I hadn’t been able to figure out.