WordPress.org

Support

Support » Themes and Templates » Read more… Issue

Read more… Issue

  • Hello! I have a little issue with my Read More code. I want to split the Read More button from the content, but I don’t seem to get it to work. I’ve tried some things that were in the documentation of WP, but I couldn’t figure it out.

    This is my code:

    <div class="content">
    <?php the_content( __( 'Read more &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&rarr;', 'twentyten' ) ); ?>
    </div>

    And this is what it becomes when it’s running:

    <div class="content">
    <p>
    Here you have some text
    <a class="more-link" href="link">Read more -></a>
    </p>
    </div>

    So my problem is that the ‘a’ is IN the ‘p’ and I want it outside of it so I can place it properly. Anyone knows how I should handle this?

    I’m sorry, I can’t provide you with a link, I’m doing this with xampp, I can however make screenshots of the code/firebug/whatever you need 🙂

    Thanks for helping in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Read more… Issue’ is closed to new replies.
Skip to toolbar