posts page (home page) to look like achieves page (or categories page)?
-
Admin
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.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
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?
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
Admin
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
Actually, I’ve done this for you. Copy/paste the codes from http://pastebin.com/D9GkzQtD into your child theme’s
home.php
file.
Viewing 10 posts - 1 through 10 (of 11 total)
- 1
- 2
- You must be logged in to reply to this topic.