• Resolved Kazerad

    (@kazerad)


    This is my first time working with WordPress. I’m hosting a blog on my own webspace and trying to find a way to have an automatic link to the (chronological) next post placed in the content of the post before it. For instance, so I could end the post with a big, bold link to the next one (“Continued here: Tales of the Something Chap3“) without having to edit in these links by hand.

    Is there a built-in way to do this, or a plugin for adding this functionality? Editing the theme is also an option, but I don’t have much experience with that and don’t know which files hold the “next post” stuff (for reference, I’m using the theme “Suffusion”).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Kazerad

    (@kazerad)

    Okay, just an update: I mostly solved this myself by adding this code to the theme’s single.php file:

    <?php next_post_link('%link', '<font color="blue">%title</font>') ?>

    Now I’m just trying to find a way to make the link larger. Normal HTML font size tags don’t seem to be working.

    Thread Starter Kazerad

    (@kazerad)

    Nevermind, solved that too! I needed span tags with “xx-large” instead of a numerical font size.

    I’ll set this to resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Putting "next post" link in post content’ is closed to new replies.