Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Tag: excerpt http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sat, 30 May 2015 16:28:57 +0000 helgatheviking on "Home Page 1 Full Post then Kia Excerpts" http://forums.themeshaper.com/topic/home-page-1-full-post-then-kia-excerpts#post-27523 Fri, 03 Aug 2012 23:20:20 +0000 helgatheviking 27523@http://forums.themeshaper.com/ <p>thematic moved: <a href="http://thematictheme.com/" rel="nofollow">http://thematictheme.com/</a> </p> retrobou on "Home Page 1 Full Post then Kia Excerpts" http://forums.themeshaper.com/topic/home-page-1-full-post-then-kia-excerpts#post-27521 Fri, 03 Aug 2012 23:07:39 +0000 retrobou 27521@http://forums.themeshaper.com/ <p>Looking for Helga's help her.<br /> I have been using your kia excerpts, on tons of sites I do. Now a client is requesting I change her home page to show 3 full posts, then the rest kia excerpts. Can you tell me how I would modify your code to do so? Appreciate it.<br /> Thanks! </p> Jagst3r15 on "Excerpt on front page -- "childtheme_override_content_init()" never called?" http://forums.themeshaper.com/topic/excerpt-on-front-page-childtheme_override_content_init-never-called#post-27187 Mon, 28 May 2012 05:44:24 +0000 Jagst3r15 27187@http://forums.themeshaper.com/ <p>should have read more, i think 0.9.8 fixes that...soooo close to 1.0 though it might not even be worth using (unless it gets rejected lol). </p> helgatheviking on "Excerpt on front page -- "childtheme_override_content_init()" never called?" http://forums.themeshaper.com/topic/excerpt-on-front-page-childtheme_override_content_init-never-called#post-27186 Mon, 28 May 2012 05:16:50 +0000 helgatheviking 27186@http://forums.themeshaper.com/ <p>0.9.8 is the version i've been supporting which was available at:<br /> developing.thematic4you.com/thematic-development-release/</p> <p>admittedly a bit of a cluster$*&amp;# that we had such an outdated version in the repo, but 1.0 is in the theme review queue.... (finally!) </p> Jagst3r15 on "Excerpt on front page -- "childtheme_override_content_init()" never called?" http://forums.themeshaper.com/topic/excerpt-on-front-page-childtheme_override_content_init-never-called#post-27183 Mon, 28 May 2012 04:16:27 +0000 Jagst3r15 27183@http://forums.themeshaper.com/ <p>he is talking about thematic 1.0, which is in the process of being reviewed for approval in the wordpress.org repo. I uploaded it here for you - it is essentially stable so you can use it safely <a href="http://seamlessthemes.com/resources/" rel="nofollow">http://seamlessthemes.com/resources/</a> </p> derpayatz on "Excerpt on front page -- "childtheme_override_content_init()" never called?" http://forums.themeshaper.com/topic/excerpt-on-front-page-childtheme_override_content_init-never-called#post-27182 Mon, 28 May 2012 04:12:30 +0000 derpayatz 27182@http://forums.themeshaper.com/ <p>Hi, I've got the 0.9.7.7 Thematic from the wordpress.org website, and the add_action is still inside the elseif. </p> gino on "Show excerpts of latest posts on front page" http://forums.themeshaper.com/topic/show-excerpts-of-latest-posts-on-front-page#post-26986 Mon, 14 May 2012 09:31:08 +0000 gino 26986@http://forums.themeshaper.com/ <p>Hi Scott</p> <p>Many thanks for this- I shall remember that!</p> <p>Regards,</p> <p>Gino </p> Jagst3r15 on "Show excerpts of latest posts on front page" http://forums.themeshaper.com/topic/show-excerpts-of-latest-posts-on-front-page#post-26927 Thu, 10 May 2012 03:03:58 +0000 Jagst3r15 26927@http://forums.themeshaper.com/ <p>^works well. </p> ScottNix on "Show excerpts of latest posts on front page" http://forums.themeshaper.com/topic/show-excerpts-of-latest-posts-on-front-page#post-26926 Thu, 10 May 2012 02:12:42 +0000 ScottNix 26926@http://forums.themeshaper.com/ <pre><code>// display 2 recent posts from cat=9 (category 9), see link below for full list of parameters. // <a href="http://codex.wordpress.org/Class_Reference/WP_Query" rel="nofollow">http://codex.wordpress.org/Class_Reference/WP_Query</a> function childtheme_recent_posts_query () { if ( is_front_page() ) { echo &#39;&lt;div class=&quot;recent-posts&quot;&gt;&#39;; $my_query = new WP_Query( array( &#39;cat=9&#39;, &#39;posts_per_page&#39; =&gt; 2 , &#39;ignore_sticky_posts&#39; =&gt; 1) ); echo &#39;&lt;ul class=&quot;featured-posts&quot;&gt;&#39;; while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt; &lt;li&gt; &lt;?php $posttitle = &#39;&lt;h3&gt;&lt;a href=&quot;&#39;; $posttitle .= get_permalink(); $posttitle .= &#39;&quot; title=&quot;&#39;; $posttitle .= the_title_attribute(&#39;echo=0&#39;); $posttitle .= &#39;&quot; rel=&quot;bookmark&quot;&gt;&#39;; $posttitle .= get_the_title(); $posttitle .= &quot;&lt;/a&gt;&lt;/h3&gt;\n&quot;; echo $posttitle; if ( has_post_thumbnail() ) { ?&gt; &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_post_thumbnail(); ?&gt;&lt;/a&gt; &lt;?php } else { ?&gt; &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_title_attribute(&#39;echo=0&#39;); ?&gt;&quot;&gt;&lt;img height=&quot;120&quot; width=&quot;210&quot; src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/testimage.png&quot; /&gt;&lt;/a&gt; &lt;?php } the_excerpt(); echo &#39;&lt;a href=&quot;&#39;. get_permalink() . &#39;&quot;&gt;&#39; .__(&#39;View &amp;raquo;&#39;, &#39;thematic&#39;) . &#39;&lt;/a&gt;&#39;; ?&gt; &lt;/li&gt; &lt;?php endwhile; echo &#39;&lt;/ul&gt;&#39;; echo &#39;&lt;/div&gt;&#39;; } } add_action (&#39;thematic_abovefooter&#39;, &#39;childtheme_recent_posts_query&#39;);</code></pre> <p>Don't say I never did anything nice for you. Just Kidding. Obviously needs styling and you can heavily modify this however you want, but it should include enough to get you started. </p> gino on "Show excerpts of latest posts on front page" http://forums.themeshaper.com/topic/show-excerpts-of-latest-posts-on-front-page#post-26891 Wed, 09 May 2012 12:55:43 +0000 gino 26891@http://forums.themeshaper.com/ <p>Hi everybody</p> <p>Is there a way to show a limited number of post excerpt (2 for example) from the latest posts of a specific category onto the front page, just before the footer?</p> <p>I have other content on the page which I need to keep and that is why I am having problems.</p> <p>Thanks!</p> <p>Gino </p> helgatheviking on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26307 Thu, 12 Apr 2012 19:25:40 +0000 helgatheviking 26307@http://forums.themeshaper.com/ <p>you could copy page.php into your theme folder and rename it front-page.php<br /> <a href="http://codex.wordpress.org/Template_Hierarchy#Front_Page_display" rel="nofollow">http://codex.wordpress.org/Template_Hierarchy#Front_Page_display</a></p> <p>then modify the query for that page either manually in the template or by tweaking the query at the pre_get_posts() hook. <a href="http://codex.wordpress.org/Custom_Queries" rel="nofollow">http://codex.wordpress.org/Custom_Queries</a></p> <p>then you might have to filter thematic_content to show excerpts there. </p> proto on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26304 Thu, 12 Apr 2012 17:03:06 +0000 proto 26304@http://forums.themeshaper.com/ <p>Hi larand54,</p> <p>No problem at all. I've had so much help on here, I try and give back when I can! You don't have to change the default loop of thematic.</p> <p>If you're developing your theme as a child theme (there's literally a million reasons why everyone who is working with thematic should almost certainly use a child theme to do so!) More here on how to do this ( <a href="http://themeshaper.com/thematic/guide/?page_id=66" rel="nofollow">http://themeshaper.com/thematic/guide/?page_id=66</a> ). You can have a custom loop (one you design, display exactly where you want - eg just the homepage have a post show up in a certain way - eg just as an excerpt). You don't even have to touch or alter the thematic default loop.</p> <p>If you create, for example, a home.php file and call within that a loop you've created in your child theme's functions.php file then you are pretty much only limited by your imagination as to what / how you want to display something. Loops take a while to get familiar with, but once you are there's no looking back! ( more info here: <a href="http://codex.wordpress.org/The_Loop" rel="nofollow">http://codex.wordpress.org/The_Loop</a> )</p> <p>Once you've read both these links getting what you want will probably take some learning but you will really see the power of a child theme and custom loops!</p> <p>Hope this helps!</p> <p>And yes any live site links appreciated :) </p> larand54 on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26302 Thu, 12 Apr 2012 16:52:55 +0000 larand54 26302@http://forums.themeshaper.com/ <p>I think your solution will solve this particular problem but as I'm using a lot of the thematic's other sections and I will loose several of them if I use your code. I'll try to make up a simple live site tomorrow to show you my problem. It's been a long day and I'm to tired to continue so I have to leave it until tomorow.</p> <p>thanks! </p> proto on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26300 Thu, 12 Apr 2012 16:38:10 +0000 proto 26300@http://forums.themeshaper.com/ <p>Hi larand54,</p> <p>I'm not sure what you're asking for in your latest message? What's the exact problem and what would you like to have happen instead?</p> <p>If you're wanting to display just an excerpt then use the following code, where you'd like the extract to appear in place of the full content. So you might want to try using this code</p> <p>CODE 1 SNIPPET:</p> <pre><code>&lt;?php the_excerpt(); ?&gt; &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; class=&quot;more&quot;&gt; &lt;?php echo more_text() ?&gt;&lt;/a&gt;</code></pre> <p>and place it and instead of where you're outputting the full content:</p> <p>CODE 2 SNIPPET:</p> <p><code>&lt;?php thematic_content(); ?&gt;</code></p> <p>From your above code I think you may be telling Thematic to display the full content. So try replacing code 2 (that appears in your long loop above) with code 1 and see if that gets what you want (still not 100% sure exactly what you want?)</p> <p>Perhaps a link to your live site so we can see the issue that you're having? You could have your homepage display whatever you want by having a loop for example in your child theme functions that you call in your "home.php" file.</p> <p>The code I gave you should insert the "Read more" text I think you were after from reading your first post? I thought that's what you were after? If you're not familiar with the loop the codex on it is really good, it gives you live working examples:</p> <p><a href="http://codex.wordpress.org/The_Loop" rel="nofollow">http://codex.wordpress.org/The_Loop</a></p> <p>Hope that helps :) </p> larand54 on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26299 Thu, 12 Apr 2012 16:12:36 +0000 larand54 26299@http://forums.themeshaper.com/ <p>Thanks for the quick answer,</p> <p>It's not so easy as I use the thematic and therefore need to override the "thematic_index_loop" using the function "childtheme_override_index_loop()" in my childthemes functions.php.</p> <p>I copied the complete code from the original function and added the "query_posts" function to select the post with the wanted category.</p> <p>The problem is that this post shows up as a ordinary post with all that include references to comments etc. The old post belonging to the page is also printed even though it didn't have the selected category.</p> <p><code>function childtheme_override_index_loop() {<br /> global $options, $blog_id, $cat;</p> <p> foreach ($options as $value) {<br /> if (get_option( $value['id'] ) === FALSE) {<br /> $$value['id'] = $value['std'];<br /> } else {<br /> if (THEMATIC_MB)<br /> {<br /> $$value['id'] = get_option($blog_id, $value['id'] );<br /> }<br /> else<br /> {<br /> $$value['id'] = get_option( $value['id'] );<br /> }<br /> }<br /> }</p> <p> if ( is_front_page() ) {<br /> query_posts('category_name=intro-&#38;posts_per_page=1');<br /> }<br /> /* Count the number of posts so we can insert a widgetized area */ $count = 1;<br /> while ( have_posts() ) : the_post();<br /> $cat = get_the_category(); $cat =$cat[0]; $scat = $cat-&gt;category_nicename;<br /> thematic_abovepost(); ?&gt;</p> <p> &lt;div id="post-&lt;?php the_ID();<br /> echo '" ';<br /> if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {<br /> post_class();<br /> echo '&gt;';<br /> } else {<br /> echo 'class="';<br /> thematic_post_class();<br /> echo '"&gt;';<br /> }<br /> thematic_postheader(); ?&gt;<br /> &lt;div class="entry-content"&gt;<br /> &lt;?php thematic_content(); ?&gt;</p> <p> &lt;?php wp_link_pages('before=&lt;div class="page-link"&gt;' .__('Pages:', 'thematic') . '&#38;after=&lt;/div&gt;') ?&gt;<br /> &lt;/div&gt;&lt;!-- .entry-content --&gt;<br /> &lt;?php thematic_postfooter(); ?&gt;<br /> &lt;/div&gt;&lt;!-- #post --&gt;</p> <p> &lt;?php </p> <p> thematic_belowpost();</p> <p>if (!is_front_page() and !($scat == 'intro')) {<br /> comments_template();<br /> } else {<br /> wp_reset_query();<br /> }</p> <p> if ($count==$thm_insert_position) {<br /> get_sidebar('index-insert');<br /> }<br /> $count = $count + 1;<br /> endwhile;<br /> wp_reset_query();<br /> }// end index_loop<br /> </code></p> <p>Well, I have labbed a lot but no success :-( </p> proto on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26291 Thu, 12 Apr 2012 09:31:50 +0000 proto 26291@http://forums.themeshaper.com/ <p>Hi there larand54,</p> <p>If I understand correctly you'd like the "Read More" bit to appear below the post so that when a user clicks on it they are then take to the full post content?</p> <p>So one way to do this is to use the php tag which refers to the permalink, like so:</p> <pre><code>&lt;?php the_excerpt(); ?&gt; &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; class=&quot;more&quot;&gt; &lt;?php echo more_text() ?&gt;&lt;/a&gt;</code></pre> <p>So in a full loop (obviously you'd have to end the loop with the appropriate endwhile else etc - I'm excluding these from this example as assume that your ok with how to end the loop etc):</p> <pre><code>&lt;div id=&quot;yourpost&quot; class=&quot;yourclass&quot;&gt; &lt;?php query_posts(&#39;category_name=kids-furniture- &#38;posts_per_page=1&#39;);?&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; &lt;h1 class=&quot;postheader&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt; &lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt; &lt;div class=&quot;entry-content&quot;&gt; &lt;?php the_excerpt(); ?&gt; &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; class=&quot;more&quot;&gt; &lt;?php echo more_text() ?&gt;&lt;/a&gt; &lt;/div&gt;&lt;!-- end of Entry Content --&gt; &lt;?php endwhile; ?&gt; &lt;/div&gt;</code></pre> <p>Hope that makes sense :)</p> <p>More on loops here, just in case: <a href="http://codex.wordpress.org/The_Loop" rel="nofollow">http://codex.wordpress.org/The_Loop</a> </p> larand54 on "Apply "excerpt" on post in a static page" http://forums.themeshaper.com/topic/apply-excerpt-on-post-in-a-static-page#post-26289 Thu, 12 Apr 2012 09:20:36 +0000 larand54 26289@http://forums.themeshaper.com/ <p>Hello,<br /> The first page on my site is static with a single post as the content. But the size of the content area should be restricted so if the text of this post is too long it should be replaced with an excerpt.<br /> That's easy to achieve but the "read more"-link should not point back to the same page but to another page where the complete post could be read. That was the hard part which is my problem.</p> <p>Don't ask me why I need to do this, it's not my idea :-), I only want some idea how I could solve this. I'm sure there will be a lot of solutions and I'm eager to read them all ;-).</p> <p>Thanks in advance </p> helgatheviking on "Show page exerpts in home page" http://forums.themeshaper.com/topic/show-page-exerpts-in-home-page#post-26270 Wed, 11 Apr 2012 20:40:23 +0000 helgatheviking 26270@http://forums.themeshaper.com/ <p>your question isn't clear. thematic creates excerpts with thumbnails <strong>by default</strong>. what are you looking to do? </p> bogh on "Show page exerpts in home page" http://forums.themeshaper.com/topic/show-page-exerpts-in-home-page#post-26267 Wed, 11 Apr 2012 18:03:15 +0000 bogh 26267@http://forums.themeshaper.com/ <p>You should've look more into the forum, I think you could've find an answer.</p> <p>See the following topics:<br /> <a href="http://forums.themeshaper.com/topic/add-thumbnail-to-shortened-post" rel="nofollow">http://forums.themeshaper.com/topic/add-thumbnail-to-shortened-post</a><br /> <a href="http://forums.themeshaper.com/topic/override-posts-content-in-child-theme" rel="nofollow">http://forums.themeshaper.com/topic/override-posts-content-in-child-theme</a><br /> <a href="http://forums.themeshaper.com/topic/shorten-post-title" rel="nofollow">http://forums.themeshaper.com/topic/shorten-post-title</a></p> <p>But you can find more topics related to your question just by giving a search to this forum :) </p> Tonie m on "Show page exerpts in home page" http://forums.themeshaper.com/topic/show-page-exerpts-in-home-page#post-26232 Tue, 10 Apr 2012 15:58:49 +0000 Tonie m 26232@http://forums.themeshaper.com/ <p>Forgive my ignorance and grammar but got a little problem here. I'm a newbie to PHP and I want to create a custom division on my Thematic powered blog where i intend to show excerpts, with a 'read more' link, of some SPECIFIC pages in my site. My question is, what is the best solution to approach this? I don't want to use any plugins.</p> <p>Specifically, what i need is an excerpt with, page title, a provision for a post thumbnail/picture, an excerpt from the actual page and the link to the actual page.</p> <p>Any help will be highly appreciated. Thanks in advance. </p> simonafilote on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25348 Sun, 12 Feb 2012 15:38:06 +0000 simonafilote 25348@http://forums.themeshaper.com/ <p>yes! I made it :) thanks again for all the help Helga. </p> helgatheviking on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25346 Sun, 12 Feb 2012 15:11:36 +0000 helgatheviking 25346@http://forums.themeshaper.com/ <p>i presume you mean you don't want it to be a paragraph. remove the paragraph tags that surround the link. </p> simonafilote on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25343 Sun, 12 Feb 2012 14:51:59 +0000 simonafilote 25343@http://forums.themeshaper.com/ <p>Thanks so much for this Helga, now I see how this works...</p> <p>One final question, what bit of code should I remove from here to avoid the more link+image to go one line lower? </p> helgatheviking on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25336 Sun, 12 Feb 2012 13:11:51 +0000 helgatheviking 25336@http://forums.themeshaper.com/ <p>your code is wrong and will cause your links to look like:<br /> ID)"&gt;a.more-link<br /> if it doesn't cause a parse error</p> <p>a.more-link means the A element has a class="more-link"</p> <pre><code>// excerpt read more links and wrap excerpt in p tag function all_excerpts_get_more_link($post_excerpt) { return $post_excerpt . &#39;&lt;p class=&quot;readmore&quot;&gt;&lt;a class=&quot;more-link&quot; href=&quot;&#39;. get_permalink($post-&gt;ID) . &#39;&quot;&gt;&#39; . &#39;Continue Reading &#38;raquo&#39; . &#39;&lt;/a&gt;&lt;/p&gt;&#39;; } add_filter(&#39;wp_trim_excerpt&#39;, &#39;all_excerpts_get_more_link&#39;);</code></pre> <p>btw- code goes between backticks ` and not apostrophes '. </p> simonafilote on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25335 Sun, 12 Feb 2012 10:06:15 +0000 simonafilote 25335@http://forums.themeshaper.com/ <p>Thanks for your response, Helga.</p> <p>Indeed, I was referring to the post directly above mine. And I think I understand what yoú're saying, but I don't know exactly how to do that. I've only used the a.more-link code from someone else and don't really know how to work with classes. </p> <p>Should I modify your code like this? Hm, it doesn't look right :) Can you please help me out a bit?<br /> <pre><code>// excerpt read more links and wrap excerpt in p tag function all_excerpts_get_more_link($post_excerpt) { return $post_excerpt . &#39;&lt;p class=&quot;readmore&quot;&gt;&lt;a&gt;ID) . &#39;&quot;&gt;&#39; . &#39;a.more-link&#39; . &#39;&lt;/a&gt;&lt;/p&gt;&#39;; } add_filter(&#39;wp_trim_excerpt&#39;, &#39;all_excerpts_get_more_link&#39;);</code></pre> helgatheviking on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25331 Sat, 11 Feb 2012 22:33:53 +0000 helgatheviking 25331@http://forums.themeshaper.com/ <p>if you are referring to the post directly above yours... then the a link has no .more-link class, so your style would never get applied. just add your class to the link. </p> simonafilote on "Enclosing Excerpt in Paragraph tag & adding a custom Read more Link" http://forums.themeshaper.com/topic/enclosing-excerpt-in-paragraph-tag-038-adding-a-custom-read-more-link#post-25327 Sat, 11 Feb 2012 17:26:46 +0000 simonafilote 25327@http://forums.themeshaper.com/ <p>Hi Helga</p> <p>I've used the latest code you shared above to add the read more tag on category archive pages (on my blog menu items take you to category pages) and it worked fine. However, I would like to display the more link in the same style I did on the blog homepage (crumbs-of-life.net), where I used an image, but can't figure out how to do that.<br /> I used CSS to style the read more tag on the homepage:</p> <pre><code>.post a.more-link { background: url(&quot;images/read-more.png&quot;) no-repeat scroll 3px 10px transparent !important; color: #E9E9E9 !important; display: block; float: right; font-size: 0; font-weight: 700; margin-right: 5px; margin-top: 25px; overflow: hidden; padding: 25px 59px; text-decoration: none; }</code></pre> <p>I would very much appreciate your advice on this. </p> helgatheviking on "full post and then excerpts on category pages" http://forums.themeshaper.com/topic/full-post-and-then-excerpts-on-category-pages#post-25084 Mon, 30 Jan 2012 15:02:00 +0000 helgatheviking 25084@http://forums.themeshaper.com/ <p>cool share. i will have to check that out, i've been wondering how to do that myself. </p> petskratt on "full post and then excerpts on category pages" http://forums.themeshaper.com/topic/full-post-and-then-excerpts-on-category-pages#post-25083 Mon, 30 Jan 2012 12:06:44 +0000 petskratt 25083@http://forums.themeshaper.com/ <p>grrreat, thanks for code sample :-)</p> <p>and now to answer the original question with said sample - this modification will show first post on category archive as full and rest as excerpts:</p> <pre><code>// category pages with full content function childtheme_content( $content ) { global $loopcounter; if ( is_category() &#38; !$loopcounter ) { $content= &#39;full&#39;; $loopcounter++; } return $content; } add_filter( &#39;thematic_content&#39;, &#39;childtheme_content&#39; );</code></pre> helgatheviking on "override content breaking wp-admin??" http://forums.themeshaper.com/topic/override-content-breaking-wp-admin#post-24984 Thu, 19 Jan 2012 17:03:46 +0000 helgatheviking 24984@http://forums.themeshaper.com/ <p>headers already sent usually means there is some white space before the first &lt;?php or after the last ?&gt; . </p> <p>if all plugins are deactivated, then this has to be in your functions.php. the notice about wp_enqueue_scripts isn't going away until thematic updates. </p> <p>if you want to email me (username AT gmail) some WP and FTP creds i can take a quick look. might be faster than trying to diagnose via forum. </p>