latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Steve Summer

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Show Teaser/excerpt using more tag single.php

By:  Steve Summer in: Community Forum

voices: 1
replies: 1

3 years, 10 months ago  Steve Summer

More tag NOT working correct

By:  boudewijn lutgerink in: Community Forum

voices: 2
replies: 1

3 years, 11 months ago  Bruce

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Show Teaser/excerpt using more tag single.php

By:  Steve Summer in: Community Forum

voices: 1
replies: 1

3 years, 10 months ago  Steve Summer

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Feb 22nd, 2013 at 11:57 am #42849

I might use this code code within the loop to get the content above the –more– tag:

<!-- Display content above the more tag: -->
<?php if(strpos(get_the_content(),'id="more-')) :
global $more; $more = 0;
the_content(''); ?>
<?php endif; ?>

And of cause the whole content with this:

<!-- Display complete content: -->
<?php the_content(); ?>

But i need a condition which decides which one to display depending on the login-state.

This post seems to point in a similar direction:
http://www.s2member.com/forums/topic/converting-cms-to-show-teaser-content-easily/#post-33462

Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.