k1llahurtz
Member
Posted 3 years ago #
I'm trying to make a small change to the site layout. On the main page a post will have all text and all comments. I'm trying to cut this off so only a few lines of txt show without any comments.
Then once someone chooses a post title everything would show up properly.
k1llahurtz
Member
Posted 3 years ago #
I managed to cut out the comments on the index page by removing //if ( is_single() )// comments_template( ); on entry.php. Still trying to set up a limit on word count on the index page. Installing plug-ins doesn't help
Hotmale
Member
Posted 3 years ago #
Just to add to this, I think I would like to know how to do it as well. On my blog page, I would prefer just the first few lines of the blog to appear.
Thanks
Martin
k1llahurtz
Member
Posted 3 years ago #
Do I need to add a function for this to work? It looks like the code reads off a theme function list.
k1llahurtz
Member
Posted 3 years ago #
<?php the_excerpt(); ?> I think is the answer. I just can't get it to work properly with entry.php. It seems to either show up in the wrong place or not at all.
I use the plugin WP Limit Posts Automatically to show a maximum of 180 characters on the main page.