ViewedHow can I change the priority of the related posts plugin?

  • Author
    Posts
  • Kamila Tekin
    Participant

    I want to know how I can change the priority of the related posts plugin in PHP. Or what I code can I use in the snippet editor?

    This is what exactly happened
    I installed the Add to Any plugin to set up share buttons below my blog posts. However, they don’t appear immediately below my posts. The order of divs on my website is now:
    – post
    – About the author box
    – Related posts
    – Share buttons
    – Comments

    I want to have the share buttons before the ‘about the author’ box.

    So the order should be:
    – Post
    – Share buttons
    – About the author box
    – Related posts
    – Comments

    I asked this question on the add to any’s forum and they told me to add a code to the code snippet plugin to change the priority and play with the priority of the related posts and the author box.

    My knowledge in CSS is quite basic and I don’t know anything about PHP so could you provide me a code that I can use?

    • This topic was modified 1 month, 4 weeks ago by  Kamila Tekin. Reason: typos
    • This topic was modified 1 month, 4 weeks ago by  Kamila Tekin.
    #5215
    iLen
    Keymaster

    Hi, you can try this version
    https://filenurse.com/download/a902f305e0d74229875d902cb3a7610c.html
    then go to the option Hook Priority and put the value of 99

    View post on imgur.com

    Save data and perform the test.
    I await your response.

    #5218
    iLen
    Keymaster

    Hello, everything is okay ?

    #5221
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.