Can't get "more" tag to function
Hi.
I'm using 3.4.4 on WP 2.8.4 and I can't get the "read more" function to work. My site is http://mathmojo.com/chronicles I have inserted: Read the rest → in the Atahualpa settings, and inserted the <!--more--> code into the html on my posts, but the entire posts appear on the home page. What am I doing wrong? Thanks for your help. I love your theme. If this gets solved, I will make a donation. Yours truly, Brian (a.k.a. Professor Homunculus at MathMojo.com/chronicles ) |
Where did you put the <!-- more --> in the first post?
What have you got set at ATO->Configure EXCERPTS->Posts or excerpts on HOME page? and Show the first X posts on HOME page as full posts? |
The excerpts is set to full post. I tried using 'excerpt only' but that chopped all of the posts off at 55 words, which isn't what I'm looking for.
I put the more tag on the first post right after the paragraph which reads Commonly, someone I am helping will ask, " But what if we are not allowed to do it that way?" Recently someone wrote in:I have "0" set for "Show the first X posts on HOME page as full posts?" |
The Custom Excerpts plugin does a nice job.
|
The problem is your more tag is inside html <p> </p> tags. The more tag won't work if it's inside any HTML tags. Go into HTML mode in the editor and strip out the HTML around the <!--more-->.
-Brad |
Brad,
That was a noble try, but alas there's not a single <p> in the whole post. The only html is after the more tag. There is a <blockquote> tag in the post, but the more tag is not within it. Thanks for the effort though. Any more thoughts? Brian |
There are LOTS of P tags. Every single paragraph in the post is wrapped in P tags. Go to your page in a browser and view the source. Below is an excerpt...
HTML Code:
<p>Commonly, someone I am helping will ask, ” But what if we are not allowed to do it that way?” Recently someone wrote in:</p> It may be easier for you to use the more button in visual mode rather than typing it out. Just put the cursor where you want the break and click the more button at the top of the editor window. (It's the button right before the spell check button.) It will put the more tag in correctly. -Brad |
Brad,
Thanks so much. I didn't know that about the html editor in WP. That's a great hint. I'm going to go fix this now. Brian |
Brad,
I think I'm getting closer. I took out the bracketing <p></p> tags from around the <!--more--> tag, and I can see the little horizontal "more" bar in the visual editor, but no I still can't get it to function. No matter what I do, the </br> tag shows up behind the more tag. Does this have anything to do with this? I think I may be beginning to see the light, but I'm not sure. Do you know a good way of stripping out all the paragraph tags but still keeping the spaces? Is that the ticket? |
Sorry for not reading more closely. The Custom Excerpts plugin, http://wordpress.org/extend/plugins/custom-excerpts/, is indeed useful, but not exactly what you were asking about.
Perhaps what's happening is that if you set the theme to show a full post on the front page, that over-rides your desire to split the page into 2. I'm just guessing here. You could use the Custom Excerpts plugin, actually, and set the theme options to show only excerpts on the front page, but then use the plugin to make them longer than 55 words. Maybe Juggledad can explain the difference between the more and page split icons. |
if you want to know about excerpts and readmore see http://forum.bytesforall.com/showthread.php?t=2708 post #14
------------------------- Ok I just copied your text with the read more and tested it on a new install, and it worked as expected. So there must be some setting you have that is causing what you see. So to verify: 1) you are using the HTML editor 2) you have no html in the post, only the <blockquote> and <!--more--> shortcodes 3) at ATO->"Read More" tag->Read More - you have 'Read the rest →' 4) at ATO->Configure EXCERPTS - you have everything set to the defaults 5) you have tried this with ALL plugins deactivated |
Finally took your advice about disabling all plugins. On a slow, satellite connection, it was a major pain in the butt, but it bore fruit.
The culprit was one of my favorite plugins, FasterIM Opt-in. I'm going to have to figure out the bug, because I love that plugin. Thanks for your help. B |
Finally fixed it with the new version of FasterIM opt-in plugin.
All is well in Math Mojo Land. |
All times are GMT -6. The time now is 12:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.