• Hi there!

    I am using the latest WP version – my theme is Generatepress Premium.
    My Php version is 7.3.12.
    I love your plugin but currently I am using it together with the “WP Post author” plugin. Unfortunately, the footnotes are being displayed beneath the author box (see link). Is it possible to change the display priority in order to display it above the other plugin?
    Another option would be – according to my theme’s support team:

    If they provide a Shortcode or PHP function method of displaying their output then you can add them using a Hook Element. Where you can set the priority for each of them.

    https://docs.generatepress.com/article/hooks-element-overview/

    Could we make this happen?

    Best wishes

    The page I need help with: [log in to see the link]

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

    (@m1wp)

    I used the “hooks” element of my theme in order to make this work by applying the shortcode output of the other plugin. It would be great to get an answer to this nonetheless since other users might not have the opportunity to use my kind of solution.

    Plugin Contributor Lol Zimmerli

    (@lolzim)

    Hi,

    I am not sure to understand, since on https://alexandrin.de/hi/ I see the footnotes above the author box. Did you change something on your side ?

    https://ibb.co/fr8f0t4

    Best regards

    Thread Starter m1wp

    (@m1wp)

    Hi again,

    Did you read my second message?
    “I used the “hooks” element of my theme in order to make this work by applying the shortcode output of the other plugin. It would be great to get an answer to this nonetheless since other users might not have the opportunity to use my kind of solution.”
    By using hooks I was able to place the other plugin above yours but below the entry content of the wordpress single post page. This way it always gets displayed at this position. It is a workaround which is why a priority option etc. would be a nice feature, e.g. to choose that your plugin would be displayed directly under the text of the single post or a subsequent plugin. As you probably figured it is a bit of a bother if the author box appears above the text’s references.

    Best regards

    Plugin Contributor Lol Zimmerli

    (@lolzim)

    Hi,

    OK, i installed the WP Post author plugin and will try to fix that.

    Best regards

    Plugin Contributor Lol Zimmerli

    (@lolzim)

    Hi,

    sorry for the delay.

    What if you change line 39 of file footnotes.php from

    add_filter(“plugin_action_links_{$l_str_plugin_file}”, array(“MCI_Footnotes_Hooks”, “PluginLinks”), 10, 2);

    to

    add_filter(“plugin_action_links_{$l_str_plugin_file}”, array(“MCI_Footnotes_Hooks”, “PluginLinks”), 3, 2);

    (only the 10 to 3)

    ?

    Best regards & take care

    • This reply was modified 4 years, 6 months ago by Lol Zimmerli.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing display priority under posts’ is closed to new replies.