Return to Support

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

Home Forums Graphene WordPress theme Support posts page (home page) to look like achieves page (or categories page)?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1081
    madkad
    Member

    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?

    #14516
    Syahir Hakim
    Keymaster

    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.

    #14517
    madkad
    Member

    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

    #14518
    madkad
    Member

    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?

    #14519
    madkad
    Member

    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

    #14520
    madkad
    Member

    please help 🙁

    #14521
    Syahir Hakim
    Keymaster

    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.

    #14522
    Syahir Hakim
    Keymaster

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

    #14523
    madkad
    Member

    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

    #14524
    madkad
    Member

    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

    #14525
    madkad
    Member

    scrap that lol this allways happens toe me after I ask the questions

    i just seen “The second sidebar widget area (only available in three column layouts).” sorry

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

You must be logged in to reply to this topic.