Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Thineskumar Thilakanathan
Thineskumar Thilakanathan
3,396 Points

Wordpress3.81 Theme

How to make one page theme with fixed navigation which is linked as anchor? currently i am following zac's wordpress theme development tutorial but i want my own design to to be as my theme so please help me out if anyone knows.

thanks

3 Answers

Matt Campbell
Matt Campbell
9,767 Points

For a one page site you're better off using static HTML etc. There's little scope for dynamic content in a one page design. If you do want to use WordPress for whatever reason, then just hard code in a menu as you would with an HTML page.

Thineskumar Thilakanathan
Thineskumar Thilakanathan
3,396 Points

First of all thanks for the reply:) i did not get your point sorry for that. you mean i cant make one page wordpress theme? is it hard?

Matt Campbell
Matt Campbell
9,767 Points

You can but what's the point? One page sites are just a page and the content isn't going to change very often. If it does it's no harder to change the code than it is to change the post.

Only plus for using WordPress is the use of plugins etc.

Here: http://charlie.globotek.net/ is a one page WP page but it has WooCommerce and an app attached to it as well. That's just the landing page. The menu is just code, not a WordPress menu although I could use a WP menu if I wanted but the page isn't going to change much, if ever, so no need to.