[resolved] Only one blog post showing when setting is put to 5 (11 posts)

  1. amzy01
    Posted 2 years ago #

    I'm starting a new blog and am using the Bushwich theme. I have my "reading" setting set to show 5 posts with full text. Only one full post shows up and the rest are links with read me buttons. I'd like for all my 5 posts to show up with full text on my page instead of just links. I am not technical at all. I don't know if this is something within WordPress that I need to change or within the Bushwick theme. Can someone please help? Thanks.

  2. Hi there, in the Bushwick theme, only the first post shows up in full, no matter how many posts you set in your Reading Preferences, as you can see in the demos here:



    If you need more than one post to display in full and you're not comfortable editing theme files, you're probably better off with a different theme.

    Let me know if you have any other Bushwick questions.

  3. amzy01
    Posted 2 years ago #

    I'm not comfortable editing, but my husband probably can if he has some kind of direction to do so. I'd appreciate it if you can pass on the editing information. I've spent so much time getting my blog ready including custom graphics that a different theme (specifically finding another theme that has a large side photo header) isn't really an option at this point. Thank you!

  4. Sure! The first thing you'll need to do is set up a child theme.

    Making a child theme means your changes won't be overwritten when you update the theme. If you/your husband are new to child themes, you can explore these guides:


    Once your child theme is set up, make a copy of the index.php file from the parent theme and place it in the child theme folder.

    Next, you'll need to make a couple of edits to the copy of the file in your child theme folder.

    Change line 29 from this:

    get_template_part( 'content' );

    to this:

    //get_template_part( 'content' );

    The two slashes in front of the line mean that you're commenting out that part of the code, rendering it inactive.

    Next, change line 34 from this:

    get_template_part( 'content', 'preview' );

    to this:

    get_template_part( 'content' );

    Those two changes should do the trick, and display full posts on your blog page, instead of just the post titles.

    Let me know how it goes!

  5. amzy01
    Posted 2 years ago #

    Thank you so much! I just printed this out and will be giving it to my husband! I will let you know.

  6. amzy01
    Posted 2 years ago #

    It worked! Now, I have one other question. I don't get a comment box under the posts. The like and share buttons are there. I have to click on the title link to go to another page to see the comments. Is there anything in the code that needs to be changed to make it work? Thank you!

  7. It worked!


    I don't get a comment box under the posts. The like and share buttons are there. I have to click on the title link to go to another page to see the comments.

    That's how nearly all WordPress themes work - the comment box and comments are displayed on the single post view, not on the blog index.

    If you have any new questions, please start a new thread, thanks!

  8. Tim
    Posted 1 year ago #

    Thank you so much Kathryn, i had the exact same question ;).

    It worked perfectly on my main page but the changes didnt apply on the category menu. check: http://www.wherearewe.nl/afrika -> see menu -> if you press on "Australiƫ" you only see the titel of the post, no preview.

    i guess its just as easy to change that aswell or am i wrong?

    Thanks in advance.

  9. Tim
    Posted 1 year ago #

    After i did the 2 steps you named i got 1 new problem. On my main page it didnt show the last post anymore.

    I fixed that by changing: (sorry dont have line numbers)
    else :
    get_template_part( 'content', 'none' );

    else :
    get_template_part( 'content' );

    Stil i would love to fix my other question:
    In my category overview i only see the post titels and not the previews. (also see my post above this one)

    Thanks in advance

  10. Hi T.Ouwerkerk - category pages aren't generated from index.php - check out archive.php.

    If you need further help, could you please start a new thread and I'll chime in there? Please provide a link to your site if you can as well. Thanks!


  11. Tim
    Posted 1 year ago #

    Thanks kathryn, if found it but (as amateur programmer) i can't find the source of the "problem".

    If you could help me out that would be great!

    I openend a new topic: http://wordpress.org/support/topic/header-pic-size-preview-post-in-menu?replies=1#post-5929760

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.