• Resolved Sherry Dedman

    (@sherrynes)


    I’m having trouble getting the ‘more text’ fuction of HeadSpace2 to work. The field for the customized text is coming up on my “write post” page. But when I put something in there and publish the post, the more text just has the default “read more” text and not my customized text.

    Was I supposed to make a change to the template/theme in single.php as well?

    Thanks in advance for any help.

    -Sherry

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter Sherry Dedman

    (@sherrynes)

    Thank you so much for the help.

    Aburiano: I changed it the way you described, but it still didn’t work. That javascript link-tracker code is coming from the Google Analytics plug-in, so I deactivated the Google plug-in and changed the module back to class=”more-link”>(.*?) and it is still not working.

    kwbridge: Thank you for posting. But I was wondering if there was something I was supposed to put in there to call the customized read more text. I guess I guessed wrong on that one.

    Thank you for your continued help!

    Sherry

    Did you change it back to
    class="more-link">(.*?)</a>
    or to
    class="more-link">(.*?)
    ?

    You do not need to change anything in css for the more text link to work.

    Which post did you change the more text on? What did you change it to?

    Thread Starter Sherry Dedman

    (@sherrynes)

    Actually, I put back the default code which is:

    class="more-link">$1</a>

    I changed the “more text” on the ‘Saving on Summer: Budgeting a Vacation’ post to “Read More About This Topic” – I’ll do that on the most recent post as well, so it’s easier to find.

    -Sherry

    That is the default for the replace. The one I posted was for the pattern box.

    So just to be sure you have them set back to the original

    Pattern should be
    class="more-link">(.*?)</a>

    and Replace should be
    class="more-link">$1</a>

    Thread Starter Sherry Dedman

    (@sherrynes)

    I see.

    I have set them back to original and turned off the Google Analyticator plug-in, and it’s still not working.

    -Sherry

    Thread Starter Sherry Dedman

    (@sherrynes)

    This is the code on the index.php page (or in this theme, the home.php page):

    <?php the_content('Read the rest of this entry &raquo;'); ?>

    Shouldn’t that look different than that when this plug-in is activated? Shouldn’t that ‘Read the rest…’ text actually be a code calling the customized text for that particular post?

    That seems to make sense to me, but I wouldn’t know what code to put there.

    Sherry

    Thread Starter Sherry Dedman

    (@sherrynes)

    A plug-in developer I connected with on Twitter dug in and solved this issue. There was some specialized code calling posts in the theme I was using. Switching the code back to the traditional post loop solved it.

    Thank you very to everyone who tried to help. As usual when butting up against a problem like this, I learned a lot about some other things as well as a side benefit!

    Sherry

    Hello Sherry,

    I am having the same problem you were having…

    and i’m kinda a newbie.

    So, can you tell me which code you replaced? and what the new code is verbatim; maybe a cut and paste?

    Thank in advance!

    Paul

    oh pretty please sherry…. lol

    bump

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘HeadSpace 2 ‘More Text’ Code’ is closed to new replies.