Forums

related entries plugin? (6 posts)

  1. sallam
    Member
    Posted 7 years ago #

    Hi

    I'm looking for the plugin that adds 'related entries' under each topic.
    I'm using WP 1.5

    I found one written for 1.2 and tried it, but didn't add any entries..
    http://www.w-a-s-a-b-i.com/archives/2004/05/26/wordpress-related-entries-plugin/

    Where can I find one for WP 1.5 please?

  2. sallam
    Member
    Posted 7 years ago #

    I guess I realised now why its not working with me.
    I should insert this:
    <?php related_posts(5, 10, '

  3. ', '
  4. ', '', '', false, false); ?>
    but the instructions dosnt say where.
    Where does that line go, so that all topics get it? what file to edit?

  • sallam
    Member
    Posted 7 years ago #

    can someone kindly help me here?
    I just need to know where to add that line of code?

  • Cypher
    Member
    Posted 7 years ago #

    You could pretty much add it wherever you wanted to show related articles.

    It probably makes most sense to add it "single.php" for you theme.

    Regards

  • 7milesdown
    Member
    Posted 6 years ago #

    Im getting this error. Can anyone help me solve this probleM?

    WordPress database error: [Can't find FULLTEXT index matching the column list]
    SELECT ID, post_title, MATCH (post_name, post_content) AGAINST ('the reason i still teach') AS score FROM wp_posts WHERE MATCH (post_name, post_content) AGAINST ('the reason i still teach') AND (post_status = 'publish' && ID != '172') ORDER BY score DESC LIMIT 10

  • Gunslinger
    Member
    Posted 6 years ago #

    You need to add a full text index to your wp_post table, as it is written in readme.txt :)

    I've done it with phpmyadmin

    ALTER TABLE wp_posts ADD FULLTEXT post_related (
    post_name ,
    post_content
    )

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.