posts page (home page) to look like achieves page (or categories page)?

  • madkad

    #1081

    Hi

    I really want the posts page (home page) to look like achieves page (or categories page) how would I go about doing this?

    do I need to do it doing the child theme idea?

    if so please could you tell me if its all been done by the css or by hard code etc?

    Admin

    Syahir Hakim

    #14516

    You would have to do this via a child theme, by creating a separate template file home.php that displays the content the way you want it. You would have to copy the appropriate codes from the theme’s loop.php file into this new homepage template file.

    madkad

    #14517

    Hi thanks for the help

    so I take it I do the following

    /wp-content/themes/graphene-child

    then

    /wp-content/themes/graphene-child/home.php

    and is that the only file that will be in there?

    or do I copy the whole theme that you made and call it like graphene-child? and add a home.php in there?

    sorry I am confused, I do have coding skills not lots but this bit is confusing me allot lol

    madkad

    #14518

    ok

    I have worked out the child theme idea, but none of the pics show correctly like the header I chose, the background and top dark nav bars

    think I must be doing something wrong

    also even if I get the loop from the loop file it still shows like the home page did, and not like the archive style, is this done in the css or something?

    madkad

    #14519

    OK sorry to post again even though there not showing

    so I have tried loads and I am starting to think some how the code is in the css to get the style like the archive page

    as I have even added the code from the archive.php file and it still styles like it would do on the style you did?

    confused badly and my head is mashed as I have been at it for two days lol

    madkad

    #14520

    please help 🙁

    Admin

    Syahir Hakim

    #14521

    Firstly, when you activate a child theme, WordPress treats it as a new, separate theme. Therefore, the previous header image has been reset. Just set it again.

    Secondly, you don’t need to copy everything from the loop file. Just the ones that are relevant to the archive page. You can recognise this by the conditionals around the codes.

    Admin

    Syahir Hakim

    #14522

    Actually, I’ve done this for you. Copy/paste the codes from http://pastebin.com/D9GkzQtD into your child theme’s home.php file.

    madkad

    #14523

    wow, thank you so much for your time I have done this and it works great thanks for your time

    I have also updated and that is also great

    again thanks

    madkad

    #14524

    I have noticed that the “Sidebar Two Widget Area” doesnt show? I have checked the standerd theme to my child theme and it still doesnt show

    is there an oprion for this?

    i am using a custom menu in the “Sidebar 0ne Widget Area” one is that also still ok?

    thanks

Viewing 10 posts - 1 through 10 (of 11 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.