Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sallam

    (@sallam)

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

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

    Thread Starter sallam

    (@sallam)

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

    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

    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

    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
    )

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘related entries plugin?’ is closed to new replies.