WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Continued…

[Resolved] Continued…

  • I would like to post only part of a story on the main pages of my blog. I’d like, after the first paragraph, to see

    — Click here to continue — (with the text linked to the continuation)

    I was told to put the following

    <!–more–> (more was the example text)

    On my blog, it shows

    forever.

    <!–more–>

    She

    There is nothing to click on. It just continues on the main page. Years ago I would code to continue the story. I’ve lost my memory so have no clue how to code it.

    Help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Can you post a link to your site so someone can look at what’s going on with that?

    catacaustic

    @catacaustic

    very awesome

    When you put in <!--more-->, did you do that in the ‘Visual’ or the ‘Text’ tab? I’m guessing that it was in the Visual tab??

    If so, then it will show up like any other text that you enter in there. Delete that bit, and look for the button above the editor window that is ‘Insert More Tag’ (it should be just before the spell check) and click that. it will insert the more tag in the correct place.

    Hmm, I’ll go check which tab I was in….. then post. Thank you

    Checked it in Text, deleted what was there, clicked the “more” (no spell check; it’s between code and lookup) and it added

    <!–more–>

    I then viewed post and there is nothing between the paragraphs. No code, no link.

    I just looked at Visual and between the paragraphs, on the far right, “more” is in tiny letters but there is no link, nothing to bring you to another page.

    Can’t post the URL as it for those over 18.

    catacaustic

    @catacaustic

    very awesome

    You are not supposed to actually SEE it in your posts. It only shows in the visual edito ras that little indicator, and as the actual HTML comment in the text editor. But you have done it correctly. Look at it on the category or archive page and you will see the link there. It doesn’t show in the editing area, or on the actual post page.

    This is odd. Yesterday I swear it did not work. I just checked under category and the link says, “whatever I want.” So I went to the main page; same thing πŸ™‚

    Thank y’all. I will do a few stories and see if it continues to work.

    Uh oh … the code is < !–more — > with no spaces.

    But my link says “whatever I want”

    WHERE is that edited? I can’t remember which file I edit to change that to “continued, click here”

    Moderator Jose Castaneda

    @jcastaneda

    THEME COFFEE MONKEY

    That particular part that says: Read more is done within the_content function. If you don’t already have a child theme setup I would suggest doing so if you want to make any changes to your theme. πŸ™‚

    Ok, you lost me. Which file says that?

    Child theme? What’s that? I backup a file before changing it, in case something is wrong.

    The answer is: archive.php, index.php, single.php, tag.php, page.php, tags.php

    Well, that is the answer but it still says “whatever I want.” The coder had told me the above in email a long time ago. I changed 5 files. Index.php didn’t get changed as there was nothing to edit.

    I have a feeling that on the other theme (I changed on a different site/theme) the index page has the “whatever I want”

    The entire index.php file is

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Continued…’ is closed to new replies.
Skip to toolbar