I found a solution on the WordPress forums, if anyone is trying to do the same thing here is the solution: http://wordpress.org/support/topic/custom-read-more-text-wrapped-in-a-div
I added the following to my functions file:
function wrap_readmore($more_link) {
return '<div class="post-readmore">'.$more_link.'</div>';
}
add_filter('the_content_more_link', 'wrap_readmore', 10, 1);
Thanks,
Josh
Related Posts:
- Style the text before in single.php
- Ignore a more tag when using get_the_content()
- Woocommerce “read more” instead of “add to cart” [closed]
- Turning the read more link into a button [closed]
- How to use read more text
- read more doesn’t display
- Exclude the content before “the more” on single posts
- How to remove #more… from the post “More” link?
- Excerpt Is Disappeared
- WordPress adding a to my anchor for Read More
- Extra text… after read more tag
- How to change the “Read more” text?
- wordpress 3.8 do not have more button [closed]
- How to change the text generated by Tag
- “Read More” link not displaying
- What code in the WP Sinatra theme generates the words “Read More?”
- How to automatically add Read more section after the first paragraphe in post?
- create a read more link for post and archives
- Bad “read more” behavior, trying to fix by inserting tag
- Can’t Get the Read More function to work in the child theme
- Popup image from text
- Read More link, not visible on home page
- How to customize ‘read more’
- “Read More” button displays on individual Posts
- Read more link isn’t working with custom query
- Read More link scrolling page
- Read more content not displayed loops back to blog page
- why more tag is not working in my wordpress site
- How to remove “read more” link from custom post type excerpt
- Is there a has_more_tag() method or equivalent?
- Hide/show content starting in the middle of a paragraph
- Read more tag shows up on EVERY post
- not functioning
- Word limit in post_content after more tag
- “Read more” link doesn’t show up when the post length is under the excerpt length
- Text after more tag in posts
- “More” span making trouble
- Custom excerpt showing first paragraph (with HTML formatting)
- Exclude filter on front page
- How to only show the first X words (from each post) on the home page?
- Read more on the post page itself
- Get the link text
- How to get the excerpt of a page before more tag?
- Do not show excerpt in post content
- Read More is not working in query posts
- How to create a load more post entries like Twitter?
- How to delete read more span on single post view?
- Redirect to page 2 after comment
- Using More Tag in Combination with the_excerpt
- Add a tag to a custom post type
- How to move the the_excerpt’s read more link to another div
- Load more posts with multiple queries
- WP Bakery Load More Button loads the same posts
- Read more link to external webpage
- Add Read More Tag to a post content (Single.php)
- How can I display “read more” without any other post text?
- Problem with viewing single page correctly. (taken half way down the page on click through)
- Advanced Custom Fields WYSIWYG More tag
- help
- How to use Readmore.js? [closed]
- Remove the More Link
- Read more to open external link
- how can I add a “read more” tag directly in the template?
- Read more on pages WordPress
- More tag – how do I remove preceding ?
- More tag locked in Hemingway
- Child Theme’s Read More Text
- quicktag breaking FancyBox plugin on my blog’s front page
- Read more doesnt work with query posts
- Automatically adding a link to the next page link before ” tag in posts?
- more tables created when create a new site
- Append Second Link to Read More
- “Continue reading” not on some posts, full excerpts not shown
- Featured image in menu wordpres
- Read more block is appending /#more-{post_id} to the link
- Filter Post Title without affecting screen-reader-text
- Show content before more block
- How to change “Read More” text?
- the_excerpt() is not trimming at
- Remove Default Read More Link in Manual Excerpt RSS Feed
- Media is not showing on post page
- how can I change the read more link destinations and direct all to the same page?
- Read More showing only on first post
- Read More in the actual excerpt
- Put teaser content, more-link and full content in different divs if existing… Possible?
- Define excerpt length by inserting read more tag
- Different read-more link for each custom post type [closed]
- need help with ‘… read more’ excerpt in functions.php
- Using tag to output text in Genesis?
- Can’t change excerpt length and more tag
- Read more link for blog listing page
- Add read more to the_content
- Get the More QuickTag button back
- WordPress excerpt for specific posts in category
- Plugin:Read More Right Here , How to change the name (more…) to Read More
- how to show content of latest blog post with read more link?
- Search results highlight breaks my read more link
- Read more button not working
- Remove the excerpt and “… Read More” from the featured content on the home page with child theme
- Read more opens attachment