ThemeForest

one page wordpress site

751 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United States
CyberShot says

Does anyone know of a good tutorial on how to make a one page WordPress site? I have been working on one for a few weeks and I am getting pretty far but I am wondering if I am doing things the hard way so I am looking to see if there are any other methods out there that I should or could be using?

1071 posts
  • Argentina
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Microlancer Beta Tester
  • Sold between 5 000 and 10 000 dollars
manuelvega says

I agree , I also want to know how to make one page wordpress sites u_u

372 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
  • Vietnam
rongcon says

there are some good tutorial you can find. which wordpress builder , I prefer an page builder allow user to choose page and screen options suck as background color….ect

1 post
  • Brazil
  • Exclusive Author
  • Has been a member for 1-2 years
  • Referred between 1 and 9 users
tonetlds says

Of the top of my head I can imagine that would be quite easy to code.

All you’d need is index.php, functions.php and style.css

Maybe a loop.php as well and whatever other little features you’d like.

Design the site and build it in html. Include many custom queries throughout the index.php to take the text and images from different pages within the WordPress.

eg in php

$my_id = 206;
$post_id_206 = get_post($my_id);
$content = $post_id_206->post_content;
$content = apply_filters(‘the_content’,$content);
$content = str_replace(‘]]>’, ‘]]’, $content);
echo $content;

Use Jquery to slide to certain element ids.

That would be pretty much it for a start.

The best thing you can do is study the codex wordpress: http://codex.wordpress.org/Theme_Development

774 posts Don't Worry, Be Happy
  • Elite Author
  • Romania
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Bought between 10 and 49 items
FinalDestiny says

In my one page themes I make a WP loop and include the pages on the homepage, one after another, the content being handled by shortcodes. If they’re using wp nav menus, I remove the posts and external links and keep just the pages and just fetch the content for those pages.

34 posts
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
  • United States
  • Exclusive Author
  • Has been a member for 0-1 years
Shorti says

I just released a one-page WordPress theme and used theme options to control each section of the homepage. I created a separate php file (e.g. profile.php) for each section and included each of them in the index.php file:

<!-- BEGIN #profile (panel 1) -->
<?php get_template_part("pages/profile"); ?>
<!-- END #profile (panel 1) -->

<!-- BEGIN #skills (panel 2) -->
<?php get_template_part("pages/skills"); ?>
<!-- END #skills (panel 2) -->

...

I built the theme to also include WP default functionality, like posts, pages, and nav menus. Even though it’s a one-page theme, some buyers may still want to create a separate page or blog.

Hope this sparks some ideas for ya!

- Shorit

34 posts
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
  • United States
  • Exclusive Author
  • Has been a member for 0-1 years
Shorti says

I just released a one-page WordPress theme and used theme options to control each section of the homepage. I created a separate php file (e.g. profile.php) for each section and included each of them in the index.php file:

<!-- BEGIN #profile (panel 1) -->
<?php get_template_part("pages/profile"); ?>
<!-- END #profile (panel 1) -->

<!-- BEGIN #skills (panel 2) -->
<?php get_template_part("pages/skills"); ?>
<!-- END #skills (panel 2) -->

...

I built the theme to also include WP default functionality, like posts, pages, and nav menus. Even though it’s a one-page theme, some buyers may still want to create a separate page or blog.

Hope this sparks some ideas for ya!

- Shorit

774 posts Don't Worry, Be Happy
  • Elite Author
  • Romania
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Bought between 10 and 49 items
FinalDestiny says

This is way too complicated, probably pretty bad UX

34 posts
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
  • United States
  • Exclusive Author
  • Has been a member for 0-1 years
Shorti says

This is way too complicated, probably pretty bad UX

?

2932 posts
  • Community Superstar
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • United States
  • Exclusive Author
chrisakelley says

This is way too complicated, probably pretty bad UX

+1 just use a page loop http://codex.wordpress.org/Class_Reference/WP_Query

by
by
by
by
by