• For my site I have several plugins that are active in posts. I want to change the order; how would I go about doing this?

    For example; I have a “Share this article” plugin, “Signature” plugin, and “Related Posts” plugin at the end of each post but I want to change the order in which they appear. I’m assuming is somewhere in the code but I’m not sure how to do it. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I am more than happy to assist, but it will be much easier if we could chat in real time.
    [signature moderated Please read the Forum Rules]

    See if the Share This Article plugin and Related Posts plugin offer a template tag that you can insert directly into your templates.

    Many plugins offer automatic insertion of their “stuff,” which is somewhat handy for a user who doesn’t like to dig in code. But as you’ve noticed, it gives you far less control over where and how it’s displayed.

    So many plugins that do automatic insertion also offer a template tag that you can manually insert wherever you want in your code, and even surround it by a div and add some CSS styling.

    Check the plugin docs to see if they offer a tag.

    There’s also a way to affect the order in which plugins are called, but I can’t recall how at the moment. I’d check the template tag option first as it allows more flexibility.

    I’m looking to do the same thing as John, as thought it might be as simple as shifting the blocks of code for each plugin into the order I want them in. I can’t find the code blocks for the plugins anywhere (page.php, index.php, etc) – any thoughts as to how I can do this or which files I should look at?

    I have checked all my template files – none of the plugins installed (linkwithin, add-to-any in my case) have any code snippet in the files.

    I want the linkwithin plugin to appear below the share button for add-to-any … any clue how to do it?

    Is there some code I can edit in the plugin’s code files to do this?

    I’ll add my interest in being able to change the order they appear. Some plugins come with “placement priority”, but these seem useless when the other ones don’t. In my case I’d like the new Facebook Like button to be immediately before Similar posts etc. Playing with the “Similar Posts” priority number (zero, negative, 3 etc.) makes no difference.

    I also tried deactivating the plugins and reactivating them in the order I’d like them to appear, but no go. There has to be a simple solution as to why they are ordered precisely that way ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need help with plugin order in posts’ is closed to new replies.