dobryfun
Forum Replies Created
-
Forum: Hacks
In reply to: One excerpt to rule them all!Ok… thank you very much for your help. I′ll investigate this further!
Forum: Hacks
In reply to: One excerpt to rule them all!Thanks for your answer… I guess this was the right hint! I am currently using the excerpt text only to generate the og:description for facebook shares. The excerpt itself is not visible on my site, but gets shown, when a link is shared on facebook (see: https://www.facebook.com/dobryfun)
As I understood your post the filter does not change the excerpt itself but only displays a different excerpt (the one from the plugin) when a post is loaded. Therefore this filter won′t work for my purposes, right?
I assume it′s more of a database job then?
Forum: Hacks
In reply to: One excerpt to rule them all!Hey,
I tried this code but I struggle to get it working. I′ve created a plugin (according to WP description), installed it to my blog and activated it. Everything worked fine… but the excerpt does not change. Here′s the code I used:<?php add_filter( 'the_excerpt' , 'my_filter' ); function my_filter( $text ) { $my_text = 'S?odkie zwierzaki, ?mieszne filmiki, memy i SMSy - udost?pnij ten post i podaruj swoim znajomym u?miech!'; return $my_text . $text; } ?>
Do I have to add apply_filters or go for the get_the_excerpt function?
Sorry, but I am pretty new to plugin coding…
Again, help is very appreciated!
Forum: Hacks
In reply to: One excerpt to rule them all!Cool, will try it out over the weekend.
Thank you for your quick answer!!
Forum: Plugins
In reply to: [RSS Digest] [Plugin: RSS Digest] Multiple RSS/Atom feeds?Would be interested in this one too!
Hey,
thank you for your quick and good answer!Thanks to your post I was able to create what I was looking for!