I'm trying to create website with index page which will have 2+ different boxs with different content generated from post or pages in WP administration. This page will be looks like this wireframe. I'm using the TwentyFourteen
template and I edit index.php
in templates folder.
What I tried: Multiple pages on one with different HTML and Multiple pages on a single page. But this isn't working properly for me. These instructions do not insert into 4 different divs.
What I want: I want into 2, or more, different divs
on the index page of my website include 2, or more, posts/pages from WP administration into this different divs
. I can this problem solved by using <?php include("content-of-div.php) ?>
, but this can't be edited in WP admin.
divs
.