• Is it possible to customize my more tag, instead of saying ‘Read the rest of this entry’ to say something like ‘Click here for more’ or whatever?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Edit your php template file used by that the page you want this behaviour to exhibit. You want to change <?php the_content(); ?> to <?php the_content('Desired text instead of More'); ?>

    Does that work for you?

    – John

    Thread Starter danielamos

    (@danielamos)

    I’m relatively new at this, how do I access this file?

    Go to the ‘presentation’ tab of your wordpress admin, and then into ‘theme editor’. On the right hand side, there will be a list of files in your wordpress installation that are available to edit. If you are wanting to change the text of the ‘more’ tag on your homepage, then the one you want is probably index.php (which may be listed here as ‘Main Index Template’). Click on this file to bring it up for editing.

    Before you edit it, it may be wise to select all of the text and copy it to the clipboard, and paste into a text document (word doc or notepad), such that you can revert your changes back to this original code if need be.

    Or you can add it directly in the tag to make more flexible and unique to each post.
    ‘<!–more MORE TEXT HERE–>’
    It’s quite a coincidence I wrote this tip on my blog a week ago.

    That’s a handy tip, thanks.

    I was trying to figure out how to make the more text bold and came across this thread.

    In case anyone else does the same thing, just wanted to mention that I tried the ‘<!–more MORE TEXT HERE–>’ approach, and it crashed the blog. I finally had to delete and reenter the post where it was used.

    Granted, I know just enough to be dangerous, but I used the exact syntax and somehow the menu disappeared, every post after that one disappeared, and when I tried to edit the post to remove what I’d added, there was no SAVE button showing in the mess that was below the edit window, so I couldn’t just update it.

    Evidently, for some themes, that particular short cut doesn’t work!

    If anyone knows how to add a bold/strong to this line of code, however, I’d be glad to hear about it:

    <?php the_content(‘Desired text instead of More’); ?>

    That’s the only reference I can find to the more tag in the files. The Style Sheet doesn’t include anything I can recognize as controlling the “more” text.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customising <!-more> tag..?’ is closed to new replies.