WordPress.org

Ready to get started?Download WordPress

Forums

How do I have a "Read More" show up only when there's a 'jump' in my article? (4 posts)

  1. VodkaAvenger
    Member
    Posted 4 years ago #

    I'm trying to get a "Read More" link only show up when I have a jump in my article.

    I've checked through these WP resources and none has seemed to work for me:
    http://codex.wordpress.org/Customizing_the_Read_More
    http://codex.wordpress.org/Template_Tags/the_content
    http://codex.wordpress.org/Template_Tags/the_excerpt

    Any ideas out there?

  2. Samuel B
    moderator
    Posted 4 years ago #

    what is a "jump" in your article?

  3. VodkaAvenger
    Member
    Posted 4 years ago #

    To make a long story short, we were going to use the Excerpt section of the article as a teaser, and then fill in Content if necessary. Sadly, Excerpt doesn't play nice with embedded images, so we are doing it all in the Content textarea only.

    A "Jump" in our case is any portion of any article beyond any <!-- more --> tag.

    Sorry for the delay in responding, day job + theming = pain. Thanks for your quick response though! :)

  4. VodkaAvenger
    Member
    Posted 4 years ago #

    Nevermind, I'm an idiot.

    Every time I was trying to add the link via the_excerpt or the_content, I managed to not close a <div> tag... the problem's fixed and is totally my fault. Thanks again, samboll!

Topic Closed

This topic has been closed to new replies.

About this Topic