Thanks for the follow-up.I understand the frustration, and I understand now what you're trying to accomplish.Just to make a quick point. The
<!--more--> tag can NEVER be inside content surrounded by a Shortcode. It's not an s2Member thing, it's related to what I mentioned earlier about WordPress. Breaking content apart inside a Shortcode with the
<!--more--> tag will always result in a broken Shortcode.
Now, I think I understand what you're trying to accomplish. You want to make sure the "continue reading..." link is NOT presented in certain cases; and there is a way to accomplish this with WordPress®.
The usual method does not allow this:- Code: Select all
This is the excerpt.
<!--more-->
This is after the more tag.
WordPress will convert
<!--more--> into a clickable hyperlink, leading a visitor to the rest of the Post
( i.e. what comes after the <!--more--> tag. )
The more advanced way:If you look at the documentation here:
http://codex.wordpress.org/Customizing_ ... _each_postYou will find that it's also possible to supply your own text for the
<!--more--> tag like this:
- Code: Select all
This is the excerpt.
<!--more Continue Reading... -->
This is after the more tag.
So now the link will say: "Continue Reading...", or whatever you specify.
Forcing WordPress® NOT to provide a link to the remaining content:- Code: Select all
This is the excerpt.
<!--more -->
This is after the more tag.
Notice the single space here? It tells WordPress® NOT to link to the remaining content
( i.e. there is no more link, nothing for it to say ).
Taking this a step further with s2Member's [s2If /] Conditionals:- Code: Select all
This is the excerpt.
<!--more [s2If current_user_can(access_s2member_level1)]continue reading...[/s2If][s2If current_user_cannot(access_s2member_level1)][/s2If] -->
This is after the more tag.
If they have Level#1 access, we show "continue reading...". If not, we show nothing.
If you're going to do this repeatedly. You might grab this plugin and create a Quicktag to insert this into your Posts automatically. See:
http://wordpress.org/extend/plugins/add ... reenshots/