The <!-- more --> tag isn’t applied via the the_content filter, it’s included in the get_the_content() function, which checks for the existence of the tag within the content using a regex and then outputs the more link appropriately. this output is filtered via the the_content_more_link filter, but since you’re not using get_the_content() you won’t be able to leverage that. you’ll need to perform a similar regex replacement in our custom code. I would recommend filtering your more link via the_content_more_link as well, for compatibility. You can see the code get_the_content() uses here: https://core.trac.wordpress.org/browser/tags/4.0.1/src/wp-includes/post-template.php#L255
Related Posts:
- How to end the excerpt with a sentence rather than a word?
- How to get posts published between a date and today?
- the_author() returns empty string
- Modify ‘Read more’ link adding a new class
- How to display posts by current user/author in a custom page template?
- post_name empty after wp_insert_post
- Query posts distinct authors
- How to get previous 10 days post from a specific date – WP Query
- Query only Posts from Both of Two Category?
- Insert custom div between posts
- Only display posts with comments
- How to Display Post View Count
- Different amount of posts on homepage than paged pages
- How would I get 1 latest post from a query for 5 posts?
- Filter Posts By Tag
- Can I set and show “important” post in my blog?
- Exclude posts with empty post_content in wp_query
- How to create a load more post entries like Twitter?
- previewing my posts on static page?
- Exclude newest post from category X but show rest
- Reset Popular post query?
- Auto insert More tags in all posts
- is there a way to show the the post title after the image?
- Display posts with tag that matches current post title
- Why is querying posts messing up my pages?
- Category Foreach keeps looping?
- “more” tag doesn’t appear when browsing category achives or search
- Blog post per page setting conflicting with custom WP_Query?
- How to exclude latest x posts from a paginated query?
- Display an author’s posts on his own author page
- Multi row post list
- How to make multiple sections in home pulling posts category wise?
- wp_posts table: safely remove unused columns to save database storage
- Query Posts by Custom Field
- Order posts alphabetically: how to set order=asc in mysql query?
- How to order posts in an arbitrary order?
- Remove Content after
- How to get posts from a current post’s month?
- Wrong post title displayed from loop
- While loop articles – if statement order
- Conditionals if tags exist?
- WordPress website loads more posts than expected
- Get the amount of posts on a current page
- Posts – display all posts except a post by an ID
- query post limits
- why the same code got different results when using query_posts in functions.php and index.php
- Archive template combined with post slider and regular posts
- How to get posts published on the latest date?
- How to only publish posts with image in it
- How to check in functions.php if there is data in a WP_Query?
- Post Filtering by GET URL parameters
- WP_Query: Show 10 posts in date order, first three random
- Get post by tag
- Random posts that always include a particular post?
- Bootsrap carousel for post
- All categories displays the same posts
- Get postlist for each category using query_posts?
- How to save posts position on homepage after random function?
- Query function not executed between element [closed]
- Echo the number of posts being displayed
- Exclude a category of posts in author template
- Display specific posts on home page
- WordPress displays post on subcategory only
- Trying to query all posts in category 4
- Get posts from current category?
- Change content off every sixth element
- Move position in post list for a custom checkbox column
- get posts, run a custom query, and join the results
- Show posts from two specific category in WP_Query
- How to create loop of posts except post ID defined via ACF field
- Displaying all posts from other sites on the network on one site
- Multisite how to display merged posts from two sites and sort by latest date?
- “read more” redirects to the wrong page
- How to display particular categorie’s post which associated to specific user?
- wp_query args with relation
- Manipulate query to show specific post
- How to correctly escape data
- Use special template for the first post in the loop
- Blog posts not displaying on blog posts page
- Repeating post how to solve this
- Sort Events by Venue Title – Sort Post set by related post ids
- Get posts by category or author
- show latest authors blog post
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- How do I control the fallback query after the original query returned cero posts?
- How to pass multiple checkbox values to wordpress query?
- Adding a category at even positions on main loop with modified pagination
- How to get all post titles starting with numbers and symbols?
- How to inject a post within a loop
- How to get alphabetic listing x other posts, based on first letter post?
- Creating pages and getting their values from the database table
- Remove read more
- wp trim function not working
- query_posts different amount of posts per page [duplicate]
- Word count for all posts of all authors
- Do I need to create a multisite for querying posts from multiple WordPress sites?
- Dynamic archive of posts by date
- How to change url of posts?
- How to show related posts by detecting the current category?
- Display posts on a custom page from only a specific category?