PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Removing Short codes from RSS

s2Member Plugin. A Membership plugin for WordPress®.

Removing Short codes from RSS

Postby Deyson » January 27th, 2011, 2:38 pm

Is there a way to remove short codes from RSS?
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: Removing Short codes from RSS

Postby Cristián Lávaque » January 28th, 2011, 12:31 am

I don't know about that, but have you tried using PHP instead of the short code? You can also protect the feeds from showing restricted content here:

General Options -> Alternative View Protection

s2Member protects Categories, Tags, Posts, Pages, Files, URIs & more. BUT, even with all of those security restrictions, it's still possible for protected content excerpts to be seen through XML feeds, in search results generated by WordPress®; and/or ( depending on your theme ), possibly in other Archive views; which might include: Posts by Author, Posts by Date, a list of featured items formulated by your theme, OR even through other widgets/plugins adding functionality to your site. ~ We refer to all of these collectively, as "Alternative Views".

Using the options below, you can tell s2Member to protect some ( or all ) of these "Alternative Views", by filtering WordPress® database queries for you. s2Member can automatically hide protected content that is NOT available to the current User/Member. In other words, s2Member is capable of pre-filtering ALL database queries, so that excerpts of protected content will not be allowed to slip through. This is marked "experimental", because we're still testing this against MANY widget/plugin/theme combinations.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Removing Short codes from RSS

Postby Deyson » January 28th, 2011, 6:25 am

I am using alternative view, but in the my RSS feeds the short codes are shown, the viewer can not download the protected items but they can see they not so pretty short code.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: Removing Short codes from RSS

Postby Cristián Lávaque » January 28th, 2011, 11:28 am

I see what you mean.

Then I would try using the PHP code instead of the shortcode and see if that shows up in the feed, which I hope doesn't.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron