comments on blog page
-
the whole article is shown (not only a excerpt)
You may need to start customising your theme’s template files – possibly via a child theme. Have you tried using the
<!--more-->tag in your post’s content?i would like to show the comments and comment form also on the blog page
The standard behaviour in most themes is to show comments and the comment form on the single post page only. Changing this behaviour may involve extensive theme editing and coding.
hi,
thanks for your response.
its my purpose to show the full content and not only a excerpt!
its ok for me if this means extensive theme editing and coding – i just would like to know where to begin …
Your theme’s index.php template file may be using
<?php the_excerpt();?>instead of<?php the_content();?>in its template files. Try creating a child theme, editing the relevant template file(s) in your child and replacing<?php the_excerpt();?>with<?php the_content();?>.i’m ok with the way the content is shown – i want it this way
i just want the comments to be shown always beneath the content, not only on the single post pagesby default, the comments are only shown on ‘singular’ pages, i.e. single posts and static pages.
overwriting this is not recommended and might cause problems as many functionalities of ‘wp_list_coments()’ do not work properly on index pages.
general:
add this into the loop of the index template (in a child theme?) where you want to show the commments and comment form:
<?php gloabal $withcomments; $withcomments = 1; comments_template(); ?>this is exactly what i needed!
Thank you !
The topic ‘comments on blog page’ is closed to new replies.
(@oliverspies)
13 years, 6 months ago
hi,
on my blog page the whole article is shown (not only a excerpt)
i would like to show the comments and comment form also on the blog page and not get redirected when i click on add a comment
does anyone know how to do this?