<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: teaser</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 21 May 2013 01:31:59 +0000</pubDate>

<item>
<title>mcxico on "showing teaser instead of excerpt"</title>
<link>http://themeshaper.com/forums/topic/showing-teaser-instead-of-excerpt#post-18528</link>
<pubDate>Thu, 20 Jan 2011 13:37:46 +0000</pubDate>
<dc:creator>mcxico</dc:creator>
<guid isPermaLink="false">18528@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Task: I want to show the recent posts of 3 specific categories on a single page (ID = 21).&#60;br /&#62;
I realised this creating a second loop in functions.php&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function thematic_second_loop() {&#60;br /&#62;
	if (is_page('21')) {&#60;br /&#62;
		query_posts(&#34;cat=5&#38;#38;showposts=1)&#34;);&#60;br /&#62;
		thematic_index_loop();&#60;br /&#62;
                query_posts(&#34;cat=6&#38;#38;showposts=1&#34;);&#60;br /&#62;
		thematic_index_loop();&#60;br /&#62;
                query_posts(&#34;cat=7&#38;#38;showposts=1&#34;);&#60;br /&#62;
		thematic_index_loop();&#60;br /&#62;
		} else {&#60;br /&#62;
		return;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_abovepagebottom', 'thematic_second_loop' );&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The problem ist, that this code is showing me just the simple excerpt (without images, links, etc.).&#60;br /&#62;
What I need is the teaser - the text before the more-tag.&#60;/p&#62;
&#60;p&#62;Thanks for helping! :-)&#60;/p&#62;
&#60;p&#62;David
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Teaser "read-more-link" does not show"</title>
<link>http://themeshaper.com/forums/topic/teaser-read-more-link-does-not-show#post-12202</link>
<pubDate>Fri, 07 May 2010 05:18:15 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">12202@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Excerpts are giving me hell too.  Custom excerpts don't generate those ellipses that you can then str-replace w/ a link.. and it could be the same w/ the more tag.  &#60;/p&#62;
&#60;p&#62;I just had to add them in there myself (using them on archive and search pages here) by filtering them into the post content with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function mytheme_excerpt($post) {
 if( (is_archive()&#124;&#124; is_search()) {
   $post = &#38;#39;&#38;#39;;
   $post .= &#38;#39;&#38;lt;p&#38;gt;&#38;#39; . get_the_excerpt() . &#38;#39;&#38;lt;/p&#38;gt;&#38;#39; ;
   $post .= &#38;#39;&#38;lt;p&#38;gt;&#38;lt;a rel=&#38;quot;nofollow&#38;quot; class=&#38;quot;read_more&#38;quot; href=&#38;#39; . get_permalink() . &#38;#39;&#38;gt;Keep Reading &#38;amp;raquo;&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;&#38;#39;;
	}
	return $post;
}
add_filter(&#38;#39;thematic_post&#38;#39;, &#38;#39;mytheme_excerpt&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and then disappear away the ... ellipses.  Of course now they show EVERY time ... even if a post is super short, but that is also pretty uncommon.  &#60;/p&#62;
&#60;p&#62;I don't know if it will help, but I just saw that the more tag doesn't work/show on paged pages unless you declare:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php global $more;?&#38;gt;&#60;/p&#62;
&#60;p&#62;in the page template. &#60;/p&#62;
&#60;p&#62;hope that could help you a little...
&#60;/p&#62;</description>
</item>
<item>
<title>Lasson on "Teaser "read-more-link" does not show"</title>
<link>http://themeshaper.com/forums/topic/teaser-read-more-link-does-not-show#post-12125</link>
<pubDate>Wed, 05 May 2010 12:56:21 +0000</pubDate>
<dc:creator>Lasson</dc:creator>
<guid isPermaLink="false">12125@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Trying different ways to show content excerpts to find my optimal solution. When I use the teaser, by using &#38;lt;!--more--&#38;gt; in the post it cuts off in the right place but it wont show any read more link. I have a child theme to thematic and I have added this code to add a read more link to the auto-generated excerpt. But this function should not change anything for the teaser I guess&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function excerpt_ellipse($text) {
return str_replace(&#38;#39;[...]&#38;#39;, &#38;#39;&#38;lt;img src=&#38;quot;/wordpress/wp-content/themes/dhf/images/icons/arrow.png&#38;quot; class=&#38;quot;wp-more&#38;quot; /&#38;gt; &#38;lt;a href=&#38;quot;&#38;#39;.get_permalink().&#38;#39;&#38;quot;&#38;gt;read more&#38;lt;/a&#38;gt;&#38;#39;, $text); }
add_filter(&#38;#39;get_the_excerpt&#38;#39;, &#38;#39;excerpt_ellipse&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62; What function checks for the &#38;lt;!--more--&#38;gt; tag? So I can look how it looks like and try to find a solution. Does this work ok in regular thematic?
&#60;/p&#62;</description>
</item>
<item>
<title>Craig on "Static Front Page with latest post teaser - assistance required"</title>
<link>http://themeshaper.com/forums/topic/static-front-page-with-latest-post-teaser-assistance-required#post-7875</link>
<pubDate>Thu, 12 Nov 2009 21:17:21 +0000</pubDate>
<dc:creator>Craig</dc:creator>
<guid isPermaLink="false">7875@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hmmm.&#60;/p&#62;
&#60;p&#62;Looks like this could be a challenge.  I'll see what I can do and post the results.
&#60;/p&#62;</description>
</item>
<item>
<title>Craig on "Static Front Page with latest post teaser - assistance required"</title>
<link>http://themeshaper.com/forums/topic/static-front-page-with-latest-post-teaser-assistance-required#post-7860</link>
<pubDate>Wed, 11 Nov 2009 22:25:42 +0000</pubDate>
<dc:creator>Craig</dc:creator>
<guid isPermaLink="false">7860@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey guys,&#60;/p&#62;
&#60;p&#62;Steep learning curve this.  Just as I get to grips with something I try my hand at something else.  In this case, the PHP is blinding me somewhat and I have nearly, but can't get this confounded proposal to work.  Here's what I'm after:&#60;/p&#62;
&#60;p&#62;I'm trying to have a static front page, using a template - let's say home.php - that will show a teaser, with an image thumbnail and about 6 lines text, then a list of the next five latest posts in the standard list format.  Like I say I have NEARLY got this to work by pasting in chunks of code from other themes, but it never works perfectly and I can't tell how efficiently the job gets done.  Any help with this would be much appreciated.&#60;/p&#62;
&#60;p&#62;I have &#60;a href=&#34;http://justintadlock.com/archives/2008/05/27/get-the-image-wordpress-plugin&#34;&#62;Justin Tadlock's Get The Image Plugin&#60;/a&#62; that I was going to use, but see that Neutica &#38;#38; Neutica+ somehow do it without a plugin.  Either way would be spot on.&#60;/p&#62;
&#60;p&#62;Can anyone tell me where I should be pulling code from to implement this idea?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Craig.
&#60;/p&#62;</description>
</item>
<item>
<title>BrightBold on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-936</link>
<pubDate>Thu, 30 Oct 2008 04:59:53 +0000</pubDate>
<dc:creator>BrightBold</dc:creator>
<guid isPermaLink="false">936@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Just tried out Post Teaser and Advanced Excepts. Advanced Excerpts tried to retain the tags (unlike Homepage Excerpts) but didn't manage to close them all correctly (like WordPress) so the page didn't validate. Post Teaser seems to do the job. &#60;/p&#62;
&#60;p&#62;I, too, would like to get it to do mullet style but I'm out of time. I may try to figure it out for my next site.
&#60;/p&#62;</description>
</item>
<item>
<title>Erin on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-838</link>
<pubDate>Fri, 17 Oct 2008 12:04:10 +0000</pubDate>
<dc:creator>Erin</dc:creator>
<guid isPermaLink="false">838@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Another option: Justin Tadlock's guide for replacing content with an excerpt on the front page using filters: &#60;a href=&#34;http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files.&#34; rel=&#34;nofollow&#34;&#62;http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files.&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would have to go an extra step to produce a mullet-style though; Jason's code produces excerpts only.
&#60;/p&#62;</description>
</item>
<item>
<title>Ian Stewart on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-831</link>
<pubDate>Thu, 16 Oct 2008 15:55:11 +0000</pubDate>
<dc:creator>Ian Stewart</dc:creator>
<guid isPermaLink="false">831@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Maybe this: &#60;a href=&#34;http://plugins.trac.wordpress.org/wiki/PostTeaser&#34; rel=&#34;nofollow&#34;&#62;http://plugins.trac.wordpress.org/wiki/PostTeaser&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>BrightBold on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-830</link>
<pubDate>Thu, 16 Oct 2008 15:46:04 +0000</pubDate>
<dc:creator>BrightBold</dc:creator>
<guid isPermaLink="false">830@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Eew. Not only does it strip tags but it uses tables. I'm going to try the_excerpt_reloaded to see if that works better and I will report back. That will involve editing the template though I believe.
&#60;/p&#62;</description>
</item>
<item>
<title>BrightBold on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-813</link>
<pubDate>Tue, 14 Oct 2008 03:01:00 +0000</pubDate>
<dc:creator>BrightBold</dc:creator>
<guid isPermaLink="false">813@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ian recommended to me in another thread a plugin called Homepage Excerpts, which can be found at:&#60;br /&#62;
&#60;a href=&#34;http://www.dailyblogtips.com/homepage-excerpts-wordpress-plugin/&#34; rel=&#34;nofollow&#34;&#62;http://www.dailyblogtips.com/homepage-excerpts-wordpress-plugin/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am just starting to play with it and have some concerns (it seems to be stripping some tags) but that said it is working better than the &#34;more&#34; tag which was leaving tags unclosed and breaking my page. I may look into some other excerpt plugins and compare. A plugin may be the solution to your problem as well.
&#60;/p&#62;</description>
</item>
<item>
<title>jhelvy on "Displaying teaser in "mullet" format in wordpress loop"</title>
<link>http://themeshaper.com/forums/topic/displaying-teaser-in-mullet-format-in-wordpress-loop#post-804</link>
<pubDate>Mon, 13 Oct 2008 15:36:12 +0000</pubDate>
<dc:creator>jhelvy</dc:creator>
<guid isPermaLink="false">804@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am trying to figure out a way to display the excerpt or teaser from my posts instead of the full post on my blog page.  Am I missing something?  I thought this might be a built in feature but I cannot figure out a way to change the display settings.  Of course I could always add the &#38;lt;!--more--&#38;gt; tag in every post, but I would prefer it to be automated.  Anyone got any suggestions?  I would prefer to not have to change the main index template.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
