Support » Themes and Templates » Read more… Issue
4 years, 5 months ago
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:
<?php the_content( __( 'Read more →', 'twentyten' ) ); ?>
And this is what it becomes when it’s running:
Here you have some text
<a class="more-link" href="link">Read more -></a>
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.
Do you need a read more link (with <–more–> tag) or a permalink?
Try with this Codex article. 😉