prismtechstudios
Forum Replies Created
-
Forum: Plugins
In reply to: [Modern Footnotes] Issue with latest updateThanks for the details on this @scienterrif1c ! I just released a new update that should fix this issue. Can you give it a try and confirm it’s working for you now?
Forum: Plugins
In reply to: [Modern Footnotes] FWIWGood point! There will be an improvement in the pipeline to make the plugin have the option of true footnotes (at the bottom of the page), so the naming confusion shouldn’t be an issue for long. I’ll make a note to test it with the Divi Toggle module to see if we can do anything about that too.
Forum: Plugins
In reply to: [Modern Footnotes] Create box around number before clickingHi @dan-bollinger! If I’m understanding correctly, you could accomplish that by adding CSS like this – changing the CSS based on how you’d like it to appear.
.modern-footnotes-footnote { border-radius: 3px; border: 1px solid #999; box-shadow: 1px 1px rgba(0,0,0,0.2); background: #f3f3f3; padding: 1px 3px; }Let me know if that works for you!
- This reply was modified 6 years, 7 months ago by prismtechstudios.
- This reply was modified 6 years, 7 months ago by prismtechstudios.
Forum: Plugins
In reply to: [Modern Footnotes] Button of Rich Text don’t work correctlyGreat, thanks for checking @samtulana! That display is correct for the for the footnotes now: it’s not ideal, but it’s what I needed to put in place to fix the original problem you reported. I’ll try to make the formatting more intuitive in a future release.
As for font formatting options, you should now be able to use any of the formatting options available in the Block Editor (including bold/italic/etc.) Let me know if that isn’t working properly for you now! I’ll create a task in the backlog to add formatting options for size, background, borders, etc!
Forum: Plugins
In reply to: [Modern Footnotes] Button of Rich Text don’t work correctly@samtulana I just released an update to the plugin that should fix this issue. Can you give it a try and let me know if it’s working for you now?
Forum: Plugins
In reply to: [Modern Footnotes] Button of Rich Text don’t work correctlyJust wanted to post an update on this: I’ve started looking at this and was hoping to have it ready this week but it’s been tougher than I expected. Hoping to have a release out next week that fixes this issue!
Forum: Plugins
In reply to: [Modern Footnotes] Scripts are loadedHi @samtulana,
Thanks for checking. I believe it should be possible to make this change, so I’ve logged an issue for it in GitHub at https://github.com/seankwilliams/modern-footnotes/issues/13. I’ll update this thread when the change is ready!
Cheers,
SeanForum: Plugins
In reply to: [Modern Footnotes] Button of Rich Text don’t work correctly@samtulana Thanks for pointing this out, I’ll take a look in the next couple of days to get a fix in for this!
Forum: Plugins
In reply to: [Modern Footnotes] List of footnotesThanks @charliecat!
Forum: Plugins
In reply to: [Modern Footnotes] List of footnotesThanks for the feedback, I agree with both of you that we should add this! I created a GitHub issue at https://github.com/seankwilliams/modern-footnotes/issues/11 for it and will post an update here once the feature is implemented.
Forum: Plugins
In reply to: [Modern Footnotes] Proposed Update: Improve non-wrapping URL linksThanks @kzeni! I agree with your proposed fix and the pull request is merged into the main branch now.
Thanks @kzeni! Great suggestions: your PR’s merged in and released to the WordPress repo. I’ve also added a README file to the GitHub repository that links to the plugin homepage as you suggested!
Forum: Plugins
In reply to: [Modern Footnotes] Modern footnotes and pdfGreat!
Forum: Plugins
In reply to: [Modern Footnotes] Modern footnotes and pdfSounds good, please let me know how it turns out when you do get a chance to work on it!
Forum: Plugins
In reply to: [Modern Footnotes] Modern footnotes and pdfI’m not familiar BestWebSoft PDF & Print, but my experience with PDF generation tools that take in HTML is they are limited in their CSS support. So, it could be that the pseudo-elements you’re trying to set with CSS are being ignored by that plugin.
I’m not sure there is a way to do this through CSS alone in the PDF tool, so you might have to modify the Modern Footnotes plugin to make this work. I would try to modify the shortcode so it outputs hidden brackets where you want to display them in the PDF. In modern-footnotes.php, you could modify the modern_footnotes_func function to output different HTML. For example, you could replace lines 41 and 42 with something like this:
$content = '<sup class="modern-footnotes-footnote ' . $additional_classes . '" data-mfn="' . str_replace('"',"\\\"", $display_number) . '"><a href="javascript:void(0)" ' . $additional_attributes . '>' . $display_number . '</a></sup>' . '<span class="modern-footnotes-footnote__note" data-mfn="' . str_replace('"',"\\\"", $display_number) . '">' . '<span class="pdf-bracket">[</span>' . $content . '<span class="pdf-bracket">]</span>' . '</span>';Then, you’d need to add a style of
display:nonefor.pdf-bracketon the website, and a style ofdisplay:inline;to that same class for the PDF. Hopefully that will work!