the_excerpt() automatically echoes the excerpt text. What you need is get_the_excerpt():
<a href="https://wordpress.stackexchange.com/questions/108530/<?php the_permalink() ?>" title="<?php echo strip_tags( get_the_excerpt() ); ?>">
However, it probably won’t strip out ellipses (…) since they’re HTML entities, not tags.
Related Posts:
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- Allow HTML in excerpt
- Disable Attachment Pages Completely
- Edit tag cloud widget number
- remove tags from posts in php
- Facebook Comment Count
- How to return the_excerpt (without echo)?
- Limit the Excerpt field in WP-Admin in words
- How to Remove Parents Category Permalink from Posts
- Remove at the beginning of the_excerpt() with str_replace
- Trim first 2 words of the exceprt
- How to add a post or page tag to the list of classes appearing in the body tag’s class attribute?
- How is WordPress manipulating the posts like there are folders?
- Highlight Current Tag in wp_tag_cloud
- How to change / delete product short description in Woocommerce
- Why does running get_the_excerpt() when generating JSON file take 28 seconds vs. 599 milliseconds without it?
- Featured image fallback link to permalink
- Must Use Plugin Causing Query Error
- Custom excerpt function re-factoring
- Do changes to WordPress permalink custom structure affect old urls?
- How to remove the excerpt in the Dzonia Lite theme
- Adding country tags automatically
- WordPress custom slug (endpoint) and compare all links
- How to put “Read more” link in Custom Excerpt inside p tag?
- Error when adding excerpt to the content through functions.php
- WordPress returning 404 for multisite pages
- Create custom permalinks to show Custom Post Type’s relationship?
- Query Pages and post excerpts dynamically
- Pull Tags But Not as Links
- Edit the_category (); for a hierarchical display
- How to get post permalink url without a href
- Filtering a function’ output for a new continued function
- How to show an entire post content and not also the excerpt?
- Automatic excerpt is not shown with the_excerpt() command
- Remove   from the_excerpt
- Shortcodes showing in excerpt despite using strip_shortcodes
- How to remove the space before the ellipsis in excerpt?
- Need help removing […] after excerpt
- Querying for specific tags
- Search only working on front page (index) , not working on other pages
- Limit tags shown in post
- How to add Post Tags to a new element in header.php?
- Strip hashtag off permalink with php
- Permalinks: site.com/post-tite vs site.com/post-id/post-title for SEO and Speed
- Problem in replacing the_content with the_excerpt()
- WordPress permalink issue
- How to exclude labels from certain categories in a shortcode?
- Change permalink structure specific category
- Custom URL for multiple categories hierarchy
- WordPress redirects to localhost
- Tag title not being returned in page title of tag archives
- Multiple Tag Filtering
- Rewrite rule not working, but only when parameter is text
- Find and print first entry from WordPress post in custom excerpt?
- clicking on the_tags() generated tags to show all tagged posts page
- How does Permalink work with the AMP plugin after Removing Parent Permalink Catalog from Posts
- Permalink doesn’t navigate to post (changes only url)
- Post permalink buttons all going to the first post
- How to put a before and after with tags in a wordpress entry?
- WordPress/NGINX not respecting the category URL for new posts
- WordPress generates weird permalinks
- Trying to modify content.php
- How do I stop my form from adding code to current page URL instead of re-directing. Been stuck for days
- image on homepage disappeared due to change of permalink name
- Custom content using in_category
- What is the proper way to call a function (from functions.php) on a link click?
- How do I generate formatted permalinks as specified in backend options?
- How to trim content AND retain HTML?
- 403 Forbidden Localhost Wamp Apache Php
- Using Tag Groups: Displaying groups and adjacent tags of current post
- Show content by using tags
- Add Alt attribute to image served with php
- Notify admin (by email) if post added with specific tag
- How to solve 404 permalink errors on nginx server
- Some links broken after updating WordPress version
- add_rewrite_rule questions
- Archive page if else not working for post_excerpt and post_content
- A Space being added to url generated by custom plugin
- Newly published content gives 404 on wordpress
- set new link as permalink
- Insert wordpress tags below posts via functions.php
- echo variable containing html and the_permalink();
- Is there a way to randomize and connect a background and header image?
- append links with unique number string
- get_permalink returning first letter
- How can I add more code to this?
- custom data in url
- Php echo into tag
- Change background image based on tags
- Exclude specific product tags from related products in WooCommerce 3+ [closed]
- Add any username as link prefix and show data from that specific user’s profile on wordpress pages – with no login required
- Remove post image caption from post_excerpt();
- how to goto specific page number including title with permalink
- How to extract URLs from wordpress taxonomies
- WordPress 6.1.1 UTF8 Slug Limit Increase
- How to automatically flush permalinks?
- Execute wp_after_insert_post after the permalink is customized
- How to change product title color in shop page if product has specific product tag (Woocommerce)?
- I’ve added SKU to Woocommerce permalinks, but I have small issue
- Post returns 404 after changing the permalink using post_type_link