MPESGT01
Member
Posted 1 year ago #
I use twentyten theme in other wordpress installs
they both work good with the_excerpt main page...
but on my other site I have setted up my wordpress as a CMS (custom homepage, many pages, one button goes to main blog page showing all articles...)
On that site I just can't make my main blog page show only Excerpt and so not all the content... how to ??
Create a child theme of Twenty Ten and add an loop-index.php template file that uses <?php the excerpt();?> instead of <?php the_content();?>
MPESGT01
Member
Posted 1 year ago #
Thansk for that quick answer
I just started to use child theme 2 weeks ago... (Super!) But that site in CMS style has no child and many modifications to it so I would prefer a no-child way for this one :-)
MPESGT01
Member
Posted 1 year ago #
ho... btw, I just checked and mysite.com/category/catname DOES get the_excerpt working well !!
but as said, mysite.com/blog doesnt
weird !!
I would prefer a no-child way for this one
Then add a loop-index.php file to your main theme. But be warned that your customisations will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.
MPESGT01
Member
Posted 1 year ago #
i would prefer no to for this one... ((please take note that all the other wordpress theme will have childs from no on, count on me, i love child theme now that I know them more...)) but is there a way non-child for this one timer ?? Just this one, i promise no to "not use child" again after.
Because I dont see how WP will do better having my loop.php custom, versus hading a child with loop-index.php custom... at the end it shoud be the same result, no ?
So if my loop.php doest make my modification... how can this child whould do it better than ?
I did answer this above...