[wp-hackers] Method to remove shortcode from content and add only
to rss.
Navjot Singh
navjotjsingh at gmail.com
Sat Mar 21 08:13:34 GMT 2009
Gosh! It seemed so simple. Thanks a ton! That works wonderfully!
On Sat, Mar 21, 2009 at 1:35 PM, Joost de Valk <joost at yoast.com> wrote:
> in the parsing code you should be able to do
>
> if (is_feed())
> return $output;
> else
> return;
>
> that would probably work.
>
> Navjot Singh wrote:
>
>> Can anybody suggest a method to parse shortcodes only in feeds and not
>> in
>> post content?
>>
>> I don't need shortcode to work in the post but only in the feed. Any
>> ideas?
>>
>> Regards
>> Navjot Singh
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>>
>
> --
> me *Joost de Valk*
> Online Marketing, WordPress, SEO & Social Media Strategy
> OrangeValley <http://www.orangevalley.nl> & Yoast <http://yoast.com>
> E: joost at orangevalley.nl <mailto:joost at orangevalley.nl> - joost at yoast.com<mailto:
> joost at yoast.com>
> T: +316-24-555-808 | @jdevalk <http://twitter.com/jdevalk> on Twitter
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list