It is possible that more link in your theme is not the same as the one in the default theme. The configuration for the more module allows you to change the pattern that is used to match the more link. If you have a look at your theme and the module config you may be able to change it, otherwise post them here.
It looks like it is:
<?php the_content('Read the rest of this entry »'); ?>
Can you please tell me what I need to change there to make the Headspace2 “read more” work?
Thank you very much!
-Sherry
bump again, please? Thanks.
Can you post the HTML that is used to display the more text?
Well, this is what is renendered:
<a href="http://www.efinancialblog.com/managing-student-debt-government-program/#more-869" class="more-link");">Read the rest of this entry »</a>
Is that what you mean? I have no idea where it is getting that class=”more-link” from.
Thank you.
Sherry
`
Ok, I think I see the problem – there is a ); that shouldn’t be there (just before the ‘Read’). The more text module is looking for the pattern class=”more-link”>, but it’s class=”more-link”);>. This is actually invalid HTML. I’m not sure where it’s coming from, but you could try disabling other plugins to see if they’re affecting it
Actually, it should read:
<a href="http://www.efinancialblog.com/managing-student-debt-government-program/#more-869" class="more-link">Read the rest of this entry »</a>
I just cut & pasted that today – still not working.
Thank you for your continued help!
Sherry
bump again, please? Thanks.
bumping again. Is there anyone who can tell me what I need to do to the above code to make the customizable “more text” feature in the Headspace2 plug-ing actually work?
Thanks for any help.
Sherry
Am I in the right place for asking this question? Should I re-post this elsewhere? I really need some help, please.
Thanks.
Sherry
I looked at your website and it looks like your links also include a javascript tracking tag after the “more-link” class.
So to fix it, go to the Headspace2 admin area and click the button to edit the “more text” module.
Where it has
class="more-link">(.*?)</a>
change it to
class="more-link" onclick="javascript:pageTracker._trackPageview ('/outbound/www.efinancialblog.com');">(.*?)</a>
This is the css I use for .more-link
.more-link {
text-align:right;
float:right;
font-size:10px;
width:72px;
height:17px;
text-transform:uppercase;
padding-right:10px;
text-indent:-9009px;
margin-bottom:8px;
background:url(images/b_more.png) no-repeat right top;
}
.more-link a {
text-indent:-9009px;
overflow:hidden;
margin:0;
padding:0;
}
I am using an image for the background, which you might not want. And what it looks like is available on my site site – linked to my name here.
@aburiano well spotted on the Javascript issue.
Hello Kim!