pewgeuges
Forum Replies Created
-
Forum: Reviews
In reply to: [footnotes] How to use it???What if I want to show some text instead of suggested symbols as a link to footnote?
The suggested symbols are for the backlink, so yes you may input some text in the textbox after the select box. A non-empty text input field content overrides the selection.
(The reason why the backlink symbol, despite being displayed in the reference container, is configured under the second tab of the Footnotes settings page, about Referrers and tooltips, is that in this plugin, settings cannot change tab, and this tabs initial name was about styling.)
What if I want to show footnote in a popup window?
The Footnotes plugin cannot trigger popup windows, neither system popups nor modal popups, but what it does is display rich tooltips on hovering footnote anchors.
If your question is about having footnotes in a popup window, then the answer depends on the popup plugin used. Footnotes supports Popup Maker from Code?Atlantic since it has been requested by a Footnotes user.
Forum: Reviews
In reply to: [footnotes] How to use it???I’m sorry to learn that you are having trouble retrieving how to add inline footnotes.
Did you check out the plugin’s description in the Plugin Directory?
https://www.ads-software.com/plugins/footnotes/#description
Also, the last tab on the plugin’s settings page aims to provide a brief how-to.
Assuming that you will be using Footnotes out of the box, the syntax goes:
Your blog post text ending in the word that the footnote anchor should display after((The content of that footnote, bracketed with double parentheses.)) and here your blog post resumes.
Please let us know if that makes sense to you, and how you would expect the instructions for use to be provided.
Sorry again for the inconvenience.
Forum: Plugins
In reply to: [footnotes] How to use footnotes in custom fieldsNo problem. Thank you for the insights. In wysiwyg fields, ACF applies the filters added to
acf_the_content
. Footnotes not working in plain text seems normal to me because of multiple Footnotes features requiring markup.The references’ section displaying right after the field is often the expected behavior as in https://www.ads-software.com/support/topic/enhancement-request-8/ But you rightfully require that on the website you are running, footnotes be reunited at the bottom of the page. To achieve that, these custom fields would ideally be part of the content, and footnotes would be processed all at once when filters like the one added by Footnotes are applied to
the_content
.Alternatively, custom fields might be appended to the post and add up to enhance the content if priority is higher than the one that the Footnotes filter is added with. This is controlled in the Footnotes settings under the third tab.
After all, given the trouble you are experiencing, I wonder whether custom fields are an optimal solution. Another option would be using tables instead. An already posted example with tables, footnotes, and all footnotes together at the bottom of the entry was a page of https://wikiwiki.in, but not all pages of the website do have footnotes.
Also you can go through ACF documentation to see what filters they use and alter your plugin’s coding accordingly.
ACF documentation is very extensive. In the plugin’s code (free version) we see the
acf_the_content
in the wysiwyg field content, in this file:I’m no more in a position to alter Footnotes’ code to provide quick fixes, but as it appears, that wouldn’t even be useful since fields must not be processed individually, per your requirement.
Please let us know if we can do anything else aiming at ACF-Footnotes-integration.
Indeed we can use a media query restricting the fix to small screens. If we wanted the tooltips to display, say, centered on mobiles, the absolute position we give them must be relative to something, so ideally we should know the container that the theme wraps the post in. Or list all possible options, hoping that the relevant one is always covered.
Forum: Plugins
In reply to: [footnotes] How to use footnotes in custom fieldsHi @muhammadmairaj,
Thank you for your valuable feature request, that raised already much concern with this and at least one other plugin (EFN) alike.
Much like when footnotes are in the text of a widget or in the content of a popup, processing footnotes in the content of a custom field requires that when the custom field is displayed, certain filters be applied. Footnotes adds filters to the following hooks, per current version; to see them in the code:
https://plugins.trac.www.ads-software.com/browser/footnotes/tags/2.7.3/class/task.php#L434
From that code, the full list of filtered hooks, beside
wp_head
andwp_footer
filtered for output only, is:the_title
the_content
term_description
pum_popup_content
the_excerpt
widget_title
widget_text
From this I conclude that it depends on how a custom field is implemented. This is the code to apply one of these filters:
$the_custom_field_content = apply_filters( 'the_desired_hook_name', $the_custom_field_content );
Does that make sense? I hope that ACF does apply filters added to one of the cited hooks.
Out of curiosity, may I ask your which other footnotes plugin you consider using on failure of the Footnotes plugin to process footnotes in custom fields? As far as I know, other footnotes plugins may apply filters to less than the hooks listed above. E.g. the filter for
pum_popup_content
was added on request.If we know the hook name that ACF applies the filters of, hopefully the Footnotes authors will add it likewise. Meanwhile, what I’m suggesting to do is applying the filters of one of the above hooks, conversely, when displaying the custom field. Sort of a quick fix.
Please let us know whether that solves the issue.
Forum: Plugins
In reply to: [footnotes] Tap to popup instead of Tap and holdThe footnote tooltips’s point is in displaying information on merely hovering a footnote anchor. On mouseless devices waiting for a tap, we may avoid holding, so that we can read the footnote in the list. Preventing unwanted contextual menus has been requested multiple times both for Android and for iOS.
Thank you for your feature request. Let’s wait for the plugin authors to address it.
Forum: Plugins
In reply to: [footnotes] Box position vs elementsI wonder if the features would be ordered correctly when setting the priority to lowest. In this numeric input box, the greatest possible number (for lowest priority) is set when the display value is
-1
. That will be replaced with the greatest integer.Still I’m clueless about why the entry-content is reordered, since the Footnotes reference container is supposed to be appended to the_content, and as a Gutenberg block, the Kadence Author block is part of it.
Prior to responding, I’d installed Kadence from www.ads-software.com and tried to find out about the Autor block priority, but it seems to be part of Kadence?Pro, as you hinted.
Forum: Reviews
In reply to: [footnotes] Great PluginThank you for your positive feedback.
Lets wait for the plugin authors to address your (very valuable) feature request.
Forum: Plugins
In reply to: [footnotes] Box position vs elementsTry changing the_content’s priority to lower (greater figure) under the third tab in Footnotes settings.
Forum: Reviews
In reply to: [footnotes] Fabby …Thanks a lot! I’m pleased that it suits your needs. To track progress you may wish to visit https://github.com/markcheret/footnotes
Forum: Plugins
In reply to: [footnotes] Footnotes not working on mobile (displaying footnote in text)Don’t mind. I’m clueless about both variants of this issue (and don’t even know if the first one has been solved meanwhile).
I’m currently unable to test on mobile, but I strongly encourage you to check out Brave and Opera as documented in an earlier topic from this post on:
https://www.ads-software.com/support/topic/update-2-1-3/page/3/#post-13733430
When making a new thread (sorry for seeing your post only when the deletion deadline was over), you have an opportunity to share a link to a page that you need help with, and that link will be hidden to non-logged-in visitors. In case that this might suit your preference.
Beyond, you are welcome to send an email to the owner of this plugin, as many Footnotes users already did, using his address in the plugin header (file
footnotes.php
).More in detail, it seems that your issue is actually different because you do not report the unprocessed footnotes showing up in the article as @happyches did.
Further, while reporting the device name, OS and version, you missed out on the browser extensions in use, that @rumperuu advised to draw a list of, but so far I can only repeat his advice.
Apologies for not being more helpful.
Forum: Plugins
In reply to: [footnotes] Export Footnotes config ?I understand that the preferred process involves downloading and uploading the configuration as a file in JSON (or XML) format, but for the time being, the DB way definitely works. Please follow these steps:
- In your hosting account, go to cPanel ? Databases ? phpMyAdmin.
- In the navigation pane, look for the DB whose wpxx_options table starts (option_id = 1) with a site URL matching the site with the Footnotes configuration to be exported.
- In this wpxx_options table, look for Footnotes’ up to 4?rows by filtering on ‘footnotes’ or by scrolling after sorting by option_name (ascending). The option names are
footnotes_storage
,footnotes_storage_custom
,footnotes_storage_custom_css
andfootnotes_storage_expert
. Each one shows up after its tab has been saved at least once. Make sure that this has been done on the destination site as well. - In
footnotes_storage
, click Copy, click in the frame and Ctrl?+?C. - In a new browser tab, access the equivalent row of the site whose configuration should be synced, click Edit, select all and paste the data.
- At the bottom, make sure it says ‘
Save
and thenGo back to previous page
’, and click ‘Go’. - Repeat steps 4–6 for
footnotes_storage_custom
for the tooltip styling options, other things referrer-related and the backlink symbol, and eventually forfootnotes_storage_expert
for the priority level settings, and the 4th for the Custom?CSS.
When looking at the settings in the new Footnotes instance, you will see it in synch.
Be sure to stay in touch should you require any further assistance.
Forum: Plugins
In reply to: [footnotes] BordersThanks for your feedback. Happy to hear you found a fix, like in https://www.ads-software.com/support/topic/remove-reference-container-borders/
- This reply was modified 3 years, 1 month ago by pewgeuges.
Forum: Plugins
In reply to: [footnotes] Export Footnotes config ?Thanks for your feedback. One way to do this is to copy-paste the database tables (there are four of them IIRC) found in wp_options from one instance to the other one.
Please let us know if you are okay with this workaround by lack of the proper feature that was projected but did not come to light.
Forum: Plugins
In reply to: [footnotes] Possible to have two separate footnote sections?One week down the road nothing happens in the cited GitHub but, as the saying goes, Google is your friend, and you need a plugin to “parse inline complements and display them either as descriptive endnotes or as bibliographic endnotes depending on their delimiters”