Forum Replies Created
-
AuthorPosts
-
December 8, 2015 at 6:01 pm in reply to: Remove/Hide Shortcode of a Blog Post in the RSS Feed #548888
Hey!
Thanks for your hints. I took a look at the first link. So the code should be like this:
Customize Feed in WordPress in functions.php
add_filter('the_excerpt_rss', 'dbt_custom_feed'); add_filter('the_content', 'dbt_custom_feed');Hide all Shortcode also in functions.php:
function dbt_custom_feed( $content ) { global $post; if ( ! is_feed() ) return $content; // Remove all shortcodes $content = strip_shortcodes( $post->post_content ); return $content; }Does this code need to be on a specific line in the functions.php?
Thanks for your help.
Best,
MarcelDecember 1, 2015 at 12:39 pm in reply to: Remove/Hide Shortcode of a Blog Post in the RSS Feed #545104Hi Rikard
Take look at the following link and the pictures (private).
Thanks for your quick reply,
Best, Marcel
Hi Ismael
Thanks for your reply. Here is a screenshot of the button: http://prntscr.com/6x94e0. The button has the color of the Theme. The Blog is only on a local server available.
I want to change the read more link, which is created by the read more tag in a blog post. This preview of the Blog post is visible on the blog landing page.
Hope this helps.
Regards,
MarcelThanks worked fine.
Regards,
MarcelOctober 27, 2014 at 2:56 pm in reply to: German Translation – Portfolio / Search / 404-Error Page #341512This reply has been marked as private. -
AuthorPosts
