All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Doing a Custom home.php in wordpress

# October 26, 2012 at 10:07 am

This the example of only two queries and on the page they are 4. So is this correct to put on home.php as static and use the news blog with pagination and all as usual. So the home.php feeds from differents categories of the latest. What do you think?

# October 26, 2012 at 1:21 pm

That’s pretty much how you would do it. Is there any particular question you have?

# October 26, 2012 at 2:27 pm

Mostly about this, i was little unsure if this is the way to go for a custom home.php, so i don’t mess it up. I’m still learning this crazy php..hehe..i’m not even a webdesigner, i’m a 3d artist. :) So building as much as possible myself for keeping down the costs. I’m going to hire for the webshop and more difficult stuff. So this a go if you don’t have any other suggestion?

# October 26, 2012 at 2:48 pm

You’ve got the resets in there, which is good.

I’d probably try to utilize some HTML5 elements like `article`, but as long as it’s working I think you’re good to go.

# October 26, 2012 at 3:35 pm

Nice, yes i’ll try to use. I need only change Main container and the css, should work correctly after that i hope :) Thanks for the help!

# October 26, 2012 at 3:46 pm

maybe even go with sections…hehe..

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed