751 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Collector Level 2
  • Exclusive Author
+1 more
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?

2462 posts
  • Argentina
  • Affiliate Level 1
  • Author Level 5
  • Beta Tester
+4 more
manuelvega
says

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

510 posts Ngoc Viet
  • Affiliate Level 3
  • Author Level 7
  • Collector Level 3
  • Elite Author
+3 more
wopethemes
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
  • Exclusive Author
  • 3 Years of Membership
  • Affiliate Level 1
  • Brazil
+1 more
LTonet
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

2065 posts Don't Worry, Be Happy
  • Trendsetter
  • Weekly Top Seller
  • Exclusive Author
  • Elite Author
+9 more
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.

35 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • United States
+2 more
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

35 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • United States
+2 more
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

2065 posts Don't Worry, Be Happy
  • Trendsetter
  • Weekly Top Seller
  • Exclusive Author
  • Elite Author
+9 more
FinalDestiny
says

This is way too complicated, probably pretty bad UX

35 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • United States
+2 more
Shorti
says

This is way too complicated, probably pretty bad UX

?

3439 posts
  • Author Level 4
  • Collector Level 2
  • Community Superstar
  • United States
+2 more
organicbee
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
by