Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ahmadword

    (@ahmadword)

    I have a problem … When I write the sources at the end of the article, a blank appears where to write references .. But at the bottom everything is fine, the references appear without problems … I want to delete this space
    wordpress 5.5
    https://www.a7eaha.com/%d8%aa%d8%a3%d8%ab%d9%8a%d8%b1-%d8%a7%d9%84%d9%82%d9%88%d9%84%d9%88%d9%86-%d8%a7%d9%84%d8%b9%d8%b5%d8%a8%d9%8a-%d8%b9%d9%84%d9%89-%d8%a7%d9%84%d8%ad%d9%85%d9%84/
    See the space at the bottom of the article before the author’s name at the bottom

    Plugin Contributor Lol Zimmerli

    (@lolzim)

    Hello ahmadword,

    I checked your page and see no blonak, can you give me a little more details, screenshot, etc ?

    Best regards,

    Plugin Contributor pewgeuges

    (@pewgeuges)

    Hi @ahmadword,

    While I do see the blank between the content and the authors list, I also see that it is filled with a column showing the numbers 1, 2, 3 and 4 in a stack, on top of each other, like they were footnote IDs.

    In the page source unveiled by Google Chrome developer tools inspector, a search for “footnote” brings up 8 occurrences at 4 instances of a footnote, each one with a class “modern-footnotes-footnote” for the footnote anchor, and “modern-footnotes-footnote__note” for the tooltip infobox span.

    But in the page content I’m unable to retrieve the footnote anchors.

    That lack tends to confirm my initial suspicion that the footnotes list is lacking the footnote texts, only featuring the IDs. Clicking on an ID does nothing.

    Before checking the source code in the Google Chrome inspector, I noticed that the page is copy-protected, including display of the source. To assist you for that purpose, I infringed that prohibition.

    But before, without knowing yet what footnote plugin is used—assuming it is footnotes—I searched a copy-protection plugin on Google and installed WP Content Copy Protection & No Right Click, only to see that the footnotes plugin keeps working properly. Modern Footnotes does, too.

    After checking and trying the (very few) settings of Modern Footnotes, I still don’t understand where the half-empty footnotes list comes from, since Modern Footnotes doesn’t feature any, and displays notes inline on click.

    To get a more functional website, I’d suggest that you switch footnote plugins, and in the settings of footnotes choose “user defined” for the shortcodes, [mfn] and [/mfn] as start and end tags.

    Please let us know if that solves your problem.

    Best regards.

    • This reply was modified 4 years ago by pewgeuges.
    • This reply was modified 4 years ago by pewgeuges.
    • This reply was modified 4 years ago by pewgeuges.
    • This reply was modified 4 years ago by pewgeuges.
    Plugin Contributor pewgeuges

    (@pewgeuges)

    @ahmadword

    Thankfully I see that you solved the problem by:

    1. Activating the Footnotes plugin;
    2. Listing the footnotes each in a paragraph to get a functional Footnotes reference container;
    3. Wrapping the footnotes list in a hidden div to remove the empty space.

    The empty space was caused by four lone footnote referrers, stacked at line start, each one making for a paragraph.

    The downside of hiding the footnote referrers is that the footnotes are not linked from the article any more. To access the references, a click on the references container label “???????” is needed, as the reference container is also collapsed by default, and cannot be expanded by clicking on a footnote referrer, since none of them is visible.

    An alternative way of solving the problem would be to start a last paragraph and enumerate the references instead of listing them otherwise than automatically by Footnotes in the reference container:

    ??????? ????????: ((https://example.edu/source)), ((https://example.org/reference)), ((…)), ((…))

    With referrers configured as surrounded by brackets, and without a <?div hidden?><?/div?>, that would result in:

    ??????? ????????: [1], [2], [3], [4]

    The display of the reference container would be unchanged by this modification. The upside is to have clickable footnote referrers right below the article, without any extra space, beside the rest of the line as block/paragraph.

    Yet another alternative with the same reference container would list the four references as descriptions, each one followed by a footnote, like:

    ??????? ??????? ????????? ?????? ??????: ????? ???????? ??????? ?????? ((https://example.org/reference))

    ???? ???????: ??????? ?????? ((https://example.com/documentation))

    […]

    Furthermore, we’re happy to announce that since current v2.5.0, thanks to @misfist contributing a revised source file class/template.php, using custom templates does not require extra handling at every update of Footnotes. All your custom templates are stored in a safe place in your child theme or elsewhere, and loaded by Footnotes instead of internal templates.

    However, the reference container template is now going to be revised. Thanks to your bug report and based on your linked web page, the presence or absence of the expand/collapse button (while the reference container is collapsed by default) shall become configurable. From upcoming v2.6.0 on, you’ll probably be able to ditch custom templates and to simply configure the desired look in Footnotes’ dashboard.

    I apologize for the long delay in handling, analyzing, and addressing the issues you raised.

    Thank you for reporting, and for helping improve Footnotes!

    <hr />
    Edit: At submission, the Forum engine deleted the response and asked whether I was sure I wanted to do that. This time I just pasted the post from the clipboard and submitted again. Then it was posted.

    But I note that RTL text doesn’t display correctly. Also the Arabic is from Google Translate, and the content isn’t fully generic.

    • This reply was modified 3 years, 10 months ago by pewgeuges.
    • This reply was modified 3 years, 10 months ago by pewgeuges.
    • This reply was modified 3 years, 10 months ago by pewgeuges.
    Plugin Contributor pewgeuges

    (@pewgeuges)

    @ahmadword

    Just checked that the hidden div scheme is used throughout on your website (with varying success, probably due to a plugin conflict). That brings the need for Footnotes to support this scheme out of the box, using short codes such as [?[reflist]] and [?[/reflist]]. (Double brackets are already used by Footnotes in a pre-existing shortcode, and since 2.2.0 in the reference container position shortcode [?[references]], but this is configurable, and new ones will be too.)

    The reference container label will also be debugged so as to become fully functional, not expanding only, and the cursor shall have pointer shape consistently. As of the reference container expand and collapse button, its constituents shall also become configurable, to use e.g. the triangle or caret shapes present even in Footnotes’ own dashboard collapse/expand container headlines, where the brackets in turn are not used; for backwards compatibility they shall remain default, but there are plenty of other options. The fact that you went through the trouble of customizing the reference container template hints that action on Footnotes’ side is wanted.

    As of the suggestion made earlier, I forgot to mention that the button-like display of the footnote referrers involves three settings, not two:

    1. Baseline position, under Referrers and tooltips > Referrer typesetting and formatting > Display footnote referrers in superscript ? No;
    2. Ibid. > At the start of the footnote referrer ? [;
    3. Ibid. > At the end of the footnote referrer ? ].

      Apologies again for waking up so late to a hopefully comprehensive view of what’s at stake and implied, and thank you for your bug report!

      This topic may be marked as resolved after the bugs are fixed and new features implemented, hopefully very soon in v2.6.0.

    • This reply was modified 3 years, 10 months ago by pewgeuges.
    • This reply was modified 3 years, 10 months ago by pewgeuges.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove the blank at the end of the article where references are written’ is closed to new replies.