|
|||
|
Hi guys
I wonder if anyone has installed WordPress 2.1 and has the <!-- more --> link in blog posts working? If so, can you tell me what your <?php the_content() ?> tag reads like? I'm trying to use it, but whenever I do, it cuts off my post and doesn't give me the more link!! And im struggling to find WP info relating to more links and wp2.1. Any help appreciated! Ta Dan |
|
|||
|
I looked at mine and it looks exactly the same..
I'll try to look further into this. One thing I can tell you (may have been mentioned here) is that the more command stops your RSS at that point so if you use more, you don't send out an entire post in your feed.. I'll get back to you if I find any info why your -more- wouldn't be working. Rich
__________________
http://tek-works.com |
|
||||
|
I use <!--more--> tags regularly, and my the_content() tag is just like that; it has no parameters passed into it. My guess is that if you are entering your more tag like you have above, is that you need to remove the spaces. The open comment more close comment should all run together
<!--more--> and not <!-- more -->
__________________
www.Run To Win.com I have just returned from vacation and will be responding to private messages as soon as I catch up. |
|
|||
|
Thanks guys... I appreciate the help. It doesn't make any sense.
I've just tried again, and I used the more button when posting, and checked there are no space in the more tag as Blaine suggested - it's fine tho. I've also double checked my index.php code, and there are no arguments passed to the the_content() function. I'm wondering if there's another php file with some "display this instead of more" type code (or maybe a css class to do the same?) It's really annoying! ![]() Keep me posted if you find out anything, thanks. Dan |
|
||||
|
Hi godhn,
I recently installed WP 2.1 on three sites and no problem with the more tag. The way I use it is that I go to the post and click on the "code" and then click on the "more" button where I want the post to cut off. WP will automatically enter in the correct code. My php code in my template for the content looks like this: Code:
<?php the_content('<br /><br />(Continue Reading ...)'); ?>
Hope this helps. Let me know if I can be of more assistance.
__________________
Webernet Architect: Articles and tips on blogging, website administration, social networking, web design and having fun on the internet. My personal blog is Lexicon Indigo. |
|
|||
|
Hi everyone,
Thanks for all the ideas and suggestions. I've sussed it! Hoorah. Basically, the way my template worked, the _content() function was copied in the index.php and home.php. I was changing the one in index. When I found the one im home.php, I edited that by putting some text in the function _content('Read more...') - and it works fine!! |
|
||||
|
Quote:
__________________
www.Run To Win.com I have just returned from vacation and will be responding to private messages as soon as I catch up. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -5. The time now is 04:33 PM.









Linear Mode
