WordPress.org

Forums

getting the 'more' link to work (3 posts)

  1. bran8464
    Member
    Posted 10 years ago #

    I am still having problems getting the 'more' link to work i.e. it doesn't work at all. Yes, I have been to the codex to no avail and this problem is driving me crazy. I want the 'read more' link to be on every post where I insert the tag <!--more--> and from every link/category. This is the code I am using in the index.php - the index in my theme:

    <div class="entry">
    <?php the_content('Read More'); ?>
    </div>

  2. skippy
    Member
    Posted 10 years ago #

    Might one of the plugins you're using be causing trouble? Does the <!-- more --> text work when you disable plugins?

  3. bran8464
    Member
    Posted 10 years ago #

    Have tried that and deactivated suspect plugins except Badbehaviour and Badbehaviourstats plugins which I do not believe are relevent to this problem. I did add this before the loop in index.php:

    <?php
    if (is_home()) {
    query_posts("cat=-17");
    }
    ?>

    The idea is that it enables me to confine certain postings to just one category and not the default category. Just had a thought ... could I do that anyway without that code ... ??

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.