|
#1
Oct 18, 2009, 10:19 AM
|
|
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 )
|
#2
Oct 18, 2009, 12:21 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Oct 18, 2009, 02:10 PM
|
|
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?"
|
#4
Oct 18, 2009, 02:48 PM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
The Custom Excerpts plugin does a nice job.
|
#5
Oct 18, 2009, 03:27 PM
|
|
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
|
#6
Oct 18, 2009, 04:10 PM
|
|
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
|
#7
Oct 18, 2009, 05:10 PM
|
|
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>
<p><!--more--></p>
<blockquote><p>“I am fascinated with your approach to math but worry about teaching these kids differently from what their
The WordPress editor can be a bit tricky. When you switch to HTML mode, it hides the <p> tags and puts in blank lines. If you are typing out the more tag in the editor, be sure there are no blank lines before or after the tag. If you've done it correctly, when you go back into visual mode, you'll see a horizontal line at the break point.
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
|
#8
Oct 18, 2009, 05:27 PM
|
|
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
|
#9
Oct 18, 2009, 07:55 PM
|
|
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?
|
#10
Oct 18, 2009, 09:54 PM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
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.
Last edited by paulae; Oct 18, 2009 at 10:24 PM.
|
#11
Oct 19, 2009, 06:03 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Nov 6, 2009 at 09:32 AM.
|
#12
May 16, 2010, 11:48 PM
|
|
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
|
#13
May 17, 2010, 06:45 AM
|
|
Finally fixed it with the new version of FasterIM opt-in plugin.
All is well in Math Mojo Land.
|
|