WordPress.org

Ready to get started?Download WordPress

Forums

Contextual Related Posts
Feature Request: (9 posts)

  1. Texiwill
    Member
    Posted 1 year ago #

    Hello,

    It would be very nice if there was an option to adjust the priority for the_content filter... Using the default 10, implies a collision with other plugins and this feature would allow us to adjustment placement at the end of a post page.

    Thank you,
    Edward

    http://wordpress.org/extend/plugins/contextual-related-posts/

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I've got this on my list of TODOs. Still need to figure out a good way to implement this.

    Have you seen any such implementation before?

  3. Texiwill
    Member
    Posted 1 year ago #

    Yes, wordpress related posts does this. But it does not do contextual related posts which is what I really need.... For now I by hand modified the core to use a priority of 20.... I tried a remove_filter, add_filter combo but that does not work very well....

    Best regards,
    Edward

  4. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I can set the plugin to display the related posts last on the post by setting a higher priority like you do.

    However, with so many plugins in place it's a priority that differs from person to person.

    What I would like to do is give the user the option to pick the priority

  5. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    What is the result of the remove_filter, add_filter combo?

  6. Texiwill
    Member
    Posted 1 year ago #

    I answered that question already, it does not work well, you have to know when things load to make it work. Look at 'Wordpress Related Posts' plugin, it does what I asked about....

  7. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I did look at it, but it doesn't have a custom priority option, if I am not mistaken that a user can set.

  8. Texiwill
    Member
    Posted 1 year ago #

    Ah, I was looking at so many related posts plugins I did not remember correctly it was 'Better Related Posts'

    Best regards,
    Edward

  9. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks I've found the code you mentioned. He uses classes instead of functions like in Contextual Related Posts. I'll need to figure out how to cleanly adapt this for my plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.