It sounds like this is a problem with the way your theme is setup, since what you describe isn’t the usual behaviour of the more tag. The first part of your post suggests there’s some built-in Javascript in your theme causing the read more to expand the post text rather than take you to the single post page, removing that JS should solve it without any need of custom filters.
I’d also double check that your theme actually has a single.php template included, the latter part of your post suggests maybe not but this might also just be caused by the theme’s JS.
Related Posts:
- Using More Tag in Combination with the_excerpt
- How to put “Read more” link in Custom Excerpt inside p tag?
- Remove the More Link
- Child Theme’s Read More Text
- Featured image in menu wordpres
- Show content before more block
- Cannot figure out how to add a read more link to a manual excerpt. Please help
- Using tag to output text in Genesis?
- count() parameter must be an array or an object that implements countable in laravel
- Allowed memory size of 268435456 bytes exhausted (tried to allocate 7146491840906359738 bytes)
- Receiving Stripe Webhooks on a wordpress website
- Sorting list of sites from multisite network using wp_get_sites
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- How to validate WordPress generated password in DB using PHP?
- How do I get the author’s page url from their ID?
- Correct use of curly braces vs alternative synax
- Missing Author Information
- How can I set custom order use this function
- How to set a link different behavior for logged and non-logged user?
- How does WP detect format type (and can I make use of this)?
- Check if Product is in a Specific Category in Functions.php
- How to generate HMAC-SHA1 signature to use with WP REST API and OAuth1
- How to send user data in json format to another server when user register on wordpress site in PHP
- Ajax form submit within a Post Metabox
- How to create and work with custom data / tables (i.e., for arbitrary data)?
- How to Display Image Meta underneath EVERY image in EVERY post
- Trying to implement Ajax comments in WordPress, getting WP error
- SQL QUERY – Select a value directly from the database
- Fetch posts from category in custom page template
- How do you use WP slugs for PDF files / media?
- Nesting if statements to echo only one string based on what tag was filtered?
- How to properly loop through these external URLs to get them into the sitemap using this hook
- Set the checkbox as checked by default at options page
- Input type search in Menu
- How do I retrieve meta_key names with get_user_meta($user_id) call
- Send multiple attachments with wp_mail in PHP
- Ordering users by custom user meta
- Make a list of sites for each user in WPMU – switch_to_blog (display in SITE_ID: 1)
- How to show a ‘correct’ message after submit a form?
- responsive.css in the WordPress should be prioritized
- How to combine 2 php functions into one function with a custom field
- How to redirect users based on role and content of redirect_to?
- wp_query get the 2nd post
- How to add div blocks after certain set of post
- php if username is role
- Making my first wordpress template
- Cinema site, retrive the movies that actor play in
- Create page template via functions.php?
- Short code template + ajax
- WPML best page selector with php
- Most commented posts by time period (last 12h, last 24h and etc)
- How insert a DIV at top of current theme? [closed]
- Modify main query before it run without pre_get_post
- Correctly Using checked function of WordPress
- Removing custom sort order from admin page listing
- Azure WordPress site – URLs not showing on move from root to subdirectory
- Change MySQL PDO connection to a WPDB connection
- Commas in Tag Cloud
- Query pulling a single post per month
- Getting a WordPress tag to print inside of a traditional php echo
- How to add a custom filter (by coding) before access one wordpress page ? And where to call the custom filter?
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- Can’t log in to WordPress wp-admin after adding code to functions.php
- Show a specific post in wordpress with links
- Search by date in WordPress
- Trying to add some custom text into WordPress Post title via function.php
- wp_update_post gives 500 internal error
- Site cannot access external connection
- Call WP Rest-Api to GET /users/me returned NOTHING in console
- Script to generate pages – taxonomies not loaded
- cant insert data in a custom table in phpmyadmin
- Invalid Argument foreach
- How to Link to category titles if it is in the single post content?
- How to add a PHP scripts into WordPress
- wp_set_object_terms returns 500 error when called through AJAX function
- Create custom admin page with custom text fields
- How to generate customized filtered output for the gallery
- Editable Student file associated with basic User ID
- Multisite – Display different header content based on which site is accessed
- List categories assigned to a post
- Call get_template_part() custom permalink
- Insert div after every three posts in home.php [duplicate]
- How to set the plugin load order when updating the active_plugins option?
- Display Year and Month from custom field + Age Calculator
- How to remove image on single product and get product to span page?
- Display Content Based on Custom Field Value
- php string inside shortcode does not work
- No Authors for custom post type
- Custom field in title
- WordPress & PHP sessions
- How to pass username into form that sends data to database
- How to add pagination for wordpress home page
- which php or css file has generated an inline style in WordPress that overwrites my css
- Change body_class() PAGE to HOME
- Pagination 404 on my index.php
- WP Fatal error: Call to undefined function get_template_directory_uri()
- Remove default Image Sizes
- Custom Filtering date with newsletter
- WordPress critical error after trying to update to 6.2 – Fatal error: Allowed memory size of 268435456 bytes exhausted