Hi all,
I am looking for a way to filter the_excerpt and replace it with the_content in all of my pages.
What is the syntax for my child theme's functions.php?
Thank you,
Tom
Hi all,
I am looking for a way to filter the_excerpt and replace it with the_content in all of my pages.
What is the syntax for my child theme's functions.php?
Thank you,
Tom
If you have Thematic 0.9.5 (no clue if older versions support this as well) then add the following to your childthemes functions.php
function childtheme_content($content) {
if (is_category()) {
$content= 'full';}
return $content;
}
add_filter('thematic_content', 'childtheme_content');
At least that works for me. :)
For all pages:
function childtheme_content() {
return 'full';
}
add_filter('thematic_content', 'childtheme_content');
Cheers,
Chris
Even better! Tausend Dank :)
Perfect - thank you both!
Tom
bump for an important problem solved.
You must log in to post.