anuragd7
Forum Replies Created
-
Same here. The issue resolved on its own without any changes! Marking as resolved
Forum: Fixing WordPress
In reply to: Featured Image not showing in social sharesThanks for your help. Am moving my question to that forum.
Forum: Fixing WordPress
In reply to: Excess padding around featured images in postsHi @aezazshekh
Thanks for the response. I updated the CSS in the global settings but there is no change in the padding.
Am I doing something wrong?Forum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedSolved with above
Forum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedUsing the structure provided in this link I finally solved this by adding the following code to functions.php
add_filter('the_excerpt_rss', 'remove_sc_rss_feed'); function remove_sc_rss_feed( $content ) { global $post; // Remove div with class using regex $content = preg_replace('#<p class="read-more">(.*?)</p>#', '', $post->post_excerpt); return $content; }
Forum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedHi
Request you to share the excerpt portion of the raw RSS feed (the equivalent of anuragwrites.com/feed). In case the excerpt portion in that does not have the post title and read more link, then I can safely conclude this might have something to do with elementor ( I am also not using plugins)Thanks for your help.
Forum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedHi
What you have shown is the entire feed for the post. In the RSS feed there is also an excerpt portion as shown in the image shares. The bits I am talking about (post title and read more link) are attached to the excerpt portion of the feed and not to the complete post.
ThanksForum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedHi
I would like to modify the RSS feed generated so that the title and the link to each blog post that comes at the end of the excerpt for each post are removed.The highlighted portion in the image is what I want to remove from the RSS feed.
Hope this clarifies.
Thanks
Forum: Fixing WordPress
In reply to: Remove post title and link from default RSS feedHi
Thanks for responding. I have tried your suggestion and it does not remove the bits I want to delete.
Also, I removed all plugins and checked. This feed is still generated even when I don’t have any plugin installed.Thanks