WordPress.org

Ready to get started?Download WordPress

Forums

Manual Related Posts
[resolved] append related posts under post contents on home page or main ind (11 posts)

  1. VChit
    Member
    Posted 2 years ago #

    I am using your "BAW Manual Related Posts Plugin" and works wonderfully well. I would like to append related posts under post contents.

    I have a question and a request: please tell me how do I get the related posts on the main blog page (appends related posts under post content) instead of a single post page? Is it possible to do that, have a switch by which you can decide if you want as part of the post on the main blog page or on the single post page?

    Also can you please give a select all option in manual selection with a checkbox instead of radio button and individual select? That way one can select all and uncheck only the ones not needed. It would be a faster process.

    Thank you in advance.

    http://wordpress.org/extend/plugins/baw-manual-related-posts/

  2. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    Hello VChit

    Try this :
    add_filter( 'the_excerpt', 'bawmrp_the_content' );

    For the checkboxes, i was waiting for someone ask, you did, i'll try to do it, but, find_posts_div() is a WP box and the AJAX call respond this radioboxes ...

    I'll try i'll try ! ;)

  3. VChit
    Member
    Posted 2 years ago #

    Thank you for the prompt response.

    Will
    add_filter( 'the_excerpt', 'bawmrp_the_content' ); work for to append "related posts" under the posts contents on the main blog page or the home page? If yes, do I include it in the Index.php file?

  4. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry, add this in your functions.php file from theme folder.

  5. VChit
    Member
    Posted 2 years ago #

    I tried replacing:
    add_filter( 'the_excerpt', 'bawmrp_the_content' );
    With
    add_filter( 'the_excerpt', 'bawmrp_the_content' );

    In the end of file Bawmrp.php but it did not work.

  6. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    do not modify the plugin, never do this.
    Just add "add_filter( 'the_excerpt', 'bawmrp_the_content' );" in functions.php from theme

  7. VChit
    Member
    Posted 2 years ago #

    I added to functions.php but still no luck :(

  8. VChit
    Member
    Posted 2 years ago #

    And sorry for modifying the plugin, my bad. I am new to WordPress...

  9. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, i'll explain why you never have to modify plugins or WP core :

    (this is simple) The next update of the plugin/WP core will just erase you modifications ;) And you HAVE to update your plugins and WP core, always.

    So, i'll try to do this when i'll have time, see you soon !

  10. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, i was wrong! The new 1.2 add an option to display this on Home Page ;)
    See you !

  11. VChit
    Member
    Posted 2 years ago #

    Thank you. You are the best!!!

    Now will wait for the select all option in manual selection with a checkbox instead of radio button and individual select. So one can select all and uncheck only the ones not needed.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.