• Resolved offpeakdesign

    (@offpeakdesign)


    Hi, thank you for the work on this plugin. I hope I ask this clearly. How do I only include a particular section’s references within content? I put the references position shortcode below content of first footnote, but it displays all footnote references from the page.

    To demonstrate what I’m trying to do:

    First content widget (contains footnote “one”)
    Reference for footnote “one” displays at bottom of first content widget.

    Second content widget (contains footnote “two”)
    Reference for footnote “two” displays at bottom of second content widget.

    I also tried the setting default position to “In widget area”, but that resulted in no references being displayed.

    I’m using Jevelin theme with wpbakery pb.

    • This topic was modified 3 years, 7 months ago by offpeakdesign.
    • This topic was modified 3 years, 7 months ago by offpeakdesign.
    • This topic was modified 3 years, 7 months ago by offpeakdesign.
    • This topic was modified 3 years, 7 months ago by offpeakdesign.
    • This topic was modified 3 years, 7 months ago by t-p.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor pewgeuges

    (@pewgeuges)

    @offpeakdesign,

    Please excuse the project for the late answer, as the number of Plugin Authors has been cut back from five to two. @lolzim has answered to your other topic and might eventually get back to you soon.

    The desired layout where each content widget has its own reference container is enabled by checking the box next to widget_text under the Scope and priority dashboard tab.

    Please note however that this design only works if the sections that shall have their footnotes separately in an individual reference container are (content) widgets.

    As of the option “in widget area”. it requires to assign the reference container to a widget. As long as the widget yielding the footnotes list is not defined, the references won’t be able to display.

    That is cross-theme compatible and should work in Jevelin with WPBakery too.

    Thread Starter offpeakdesign

    (@offpeakdesign)

    Thanks for your answer! To clarify, I do not need to use “in widget area” option to achieve desired layout? Or do I need to do both things (check widget_text and enable “in widget area”)?

    Plugin Contributor pewgeuges

    (@pewgeuges)

    @offpeakdesign,

    No problem. You do not need to enable “in widget area”.

    Since v2.7.0, you may alternatively achieve the desired layout by using the shortcode [?[/footnotesection]] at the bottom of each widget. Then you may uncheck widget_text again. That would enable you to have other pages with multiple content widgets where you do not want multiple reference containers. That is also true the other way around: You may have multiple reference containers in pages where the content is not divided by content widgets, such as accordion sections without widget status. (The shortcode can be edited in the dashboard to change it to [/fns] for example.)

    • This reply was modified 3 years, 7 months ago by pewgeuges.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘reference shortcode’ is closed to new replies.