BorysSokolov Posted October 16, 2013 Share Posted October 16, 2013 I'm making a wordpress theme from scratch, and I can't for the life of me figure out how to set up the files (yes, I did read the documentation). What I want is, a unique front page, a separate page for posts, and the same page template for all the remaining pages. The files I have so far are, front-page.php, and index.php and they contain the code (respectively): <?php get_header(); ?> front-page.php <?php get_footer(); ?> <?php get_header(); ?> index.php <?php get_footer(); ?> Now, what I'm missing is a page to display the posts. How would I go about that? Thanks. Link to comment https://forums.phpfreaks.com/topic/283006-wordpress-help/ Share on other sites More sharing options...
QuickOldCar Posted October 18, 2013 Share Posted October 18, 2013 This should get you in the right direction. http://www.siteground.com/tutorials/wordpress/wordpress_create_theme.htm The above theme is the basics, you should look at the anatomy of a wordpress theme from the wordpress codex. http://codex.wordpress.org/Theme_Development If this is too much for you and want to make a faster theme, but a good headstart, consider using underscores. https://github.com/automattic/_s Link to comment https://forums.phpfreaks.com/topic/283006-wordpress-help/#findComment-1454374 Share on other sites More sharing options...
dustinmoskovitz Posted October 24, 2013 Share Posted October 24, 2013 Good job,I appreciate your work because i have the same problem,but your post solve my problem.Thanks for sharing information,your information increase my knowledge. Link to comment https://forums.phpfreaks.com/topic/283006-wordpress-help/#findComment-1455179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.