• I have two questions about the “More…” tag. Let’s start with the easier one…

    1) Can I change the target link so it just goes to the permalink, and not http://permalink/#more-8 ?

    2) In my sidebar I’m running a second instance of The Loop that displays things in my “Current” category. On the home.php page the “More…” link shows up just fine, but from any other page the “More…” link isn’t visible. Anyone know why this might be?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter hesed2

    (@hesed2)

    Someone must know <i>something</i> about the “More” tag. I can’t find any documentation on it though. Any help?

    1. I guess the answer is no – without altering/hacking the core files.

    Thread Starter hesed2

    (@hesed2)

    Thanks. What files would I go into to hack this? It shouldn’t be too hard to do if I could find the right file.

    Thread Starter hesed2

    (@hesed2)

    Ok, upon further messing around with this, I have at least figured out what is happening with the second problem. On any page other that the home page (home.php) it displays the full entry, instead of just the excerpt. So, I need to figure out how to make it show the excerpt on all pages except the single post page. Any ideas?

    So, I need to figure out how to make it show the excerpt on all pages except the single post page.

    Make sure in every template of your theme – except the single.php – you have the_excerpt instead of the_content.

    Edit. I am sure you know the “more…” and the excerpt are not the same!

    Thread Starter hesed2

    (@hesed2)

    Moshu, If I use the_excerpt instead of the_content, I get no (more…) link on anywhere (which is the opposite of what I’m trying to do), because all these posts are very short. And for the record, this is in a separate file called left_column.php that is called by home.php, index.php, and single.php.

    MichaelH, thanks for taking the time to respond, but honestly nothing in either of those threads has anything helpful (unless I missed something?). Is my problem unclear? (I’m not trying to be rude, if I’m not being clear I’d like to know; but it’s very frustrating how people often post links here to other threads that aren’t actually relevant).

    1. It seems there is a terminology issue. You were talking about the excerpt (even in the sentence I’ve quoted above) so I gave you the solution for that. If you want to use the <!–more–> say so! Do not mix the two – they are different.

    2. Actually one of the links given by MichaelH was about clarifying this for you.

    3. You can also take a look at Kafkaesquí’s plugin, the the excerpt reloaded.

    Thread Starter hesed2

    (@hesed2)

    Kafkaesqui, thanks for that link, it was just what I needed.

    Moshu, Sorry for the confusion, my mistake. I’m entering everything into the main content area and using <!–more–> so I can put the link exactly where I want it.

    I tried out the_excerpt_reloaded, but, again, it doesn’t allow me to put the (more…) link exactly where I want it (unless I’m’ missing something), and it also enters a funky
    after the excerpt and before the (more…), which I don’t really like.

    It sure seems like this is more difficult than it should be. From what I’ve been able to gather, the only reason it would show the whole post instead of just the text before the <!–more–> tag is if it thinks it is on a single/permalink page. This so I guess I need to figure out how to tell WP that it’s not on a single page (which it isn’t, so I don’t know why it thinks it is…). If I can’t figure this out I may have to resort to creating two posts and manually inserting (more...), but, like I said, it seems like it should be easier than that.

    Well, when you click on a “more” link you are going to a single page. That’s how WP works.

    Thread Starter hesed2

    (@hesed2)

    I’m not talking about clicking on a “more” link. I’ll describe my problem again. In the left sidebar I am running The Loop again, calling all posts in the “Current” category. When I’m on the home.php page, it displays fine. When you go to any other page in the site, it displays all of the posts in this column in their entirety. This happens whether you’re on every page, almost none of which are single pages. You can see what I mean here as compared to here.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Two questions about “More…” tag’ is closed to new replies.