Web Design Forum: Custom homepage for Wordpress - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Custom homepage for Wordpress Rate Topic: -----

#1 User is offline   Mr Ben 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 18
  • Joined: 14-January 11
  • Reputation: 0
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 20 January 2012 - 04:51 PM

Hey,

I am in the process of turning my website into a Wordpress theme and i want to have different things on different pages. For example, i want to have a large tag line in a large font on the home page, but i only want it to appear there. How would i do this? Is using a conditional tag the answer or should i look at custom post types?

I also want to retain the blog functionality, but only on the blog page. How do i achieve this?

I should add that i am not a complete beginner to html/css, i also have basic javascript and php under my belt too. I am just new to Wordpress themeing.

Many thanks,

Luke
0

#2 User is online   Renaissance-Design 

  • Available for custom WordPress work
  • View blog
  • Group: Moderators
  • Posts: 3,595
  • Joined: 12-August 10
  • Reputation: 559
  • Gender:Male
  • Location:South Wales
  • Experience:Web Guru
  • Area of Expertise:Designer/Coder

Posted 20 January 2012 - 05:19 PM

Bookmark this page, it'll soon be your best friend.

Edit: create two Pages, one for your homepage, one for your blog. Don't bother adding any content to your blog page, it's just a placeholder that'll be replaced by your blog posts.

Set your homepage and blog page in Settings > General. You can template your blog with home.php and your homepage with front_page.php.

This post has been edited by Renaissance-Design: 20 January 2012 - 05:24 PM

0

#3 User is offline   Mr Ben 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 18
  • Joined: 14-January 11
  • Reputation: 0
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 20 January 2012 - 05:45 PM

Thank you very much for the swift reply, i will give it a go :)
0

#4 User is online   MikeChipshop 

  • Small but imperfectly formed
  • Group: Moderators
  • Posts: 7,046
  • Joined: 19-April 10
  • Reputation: 503
  • Gender:Male
  • Location:Scotland

Posted 20 January 2012 - 06:43 PM

View PostRenaissance-Design, on 20 January 2012 - 05:19 PM, said:

Bookmark this page, it'll soon be your best friend.

Edit: create two Pages, one for your homepage, one for your blog. Don't bother adding any content to your blog page, it's just a placeholder that'll be replaced by your blog posts.

Set your homepage and blog page in Settings > General. You can template your blog with home.php and your homepage with front_page.php.


Nice one Chris. I didn't realise they'd updated this page lately.

OP... get used to conditional tagsas well, they'll save your life numerous times!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users