I don’t understand the concept of wordpress?
-
Hello,
I’ve tried on the dutch forum but I don’t get any reaction/explanation or my question is not clear.
I’ve made a blog with only one page! On this page I want first a part of static content (who am I) and then the posts. I don’t want a main page with posts and a page with static content! Is that possible?. How? I’ve seen the plugin inline post and I have add the line <?php 2; ?> to my index.php, but that gives an error. I will search further how to implement this.I have made mij own solution by making a page and write there the static content. Then I have added the next lines to my index.php
<?php $post_id = 2; $post_id_2 = get_post($post_id); $title = $post_id_2->post_title; $content = $post_id_2->post_content; ?> <div class="post" id="post-2"> <h1 class="title"><?php echo $title; ?></h1> <div class="entry"> <?php echo $content; ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div>
This seems to work, but if I change the content of page 2, then I’m losing my presentation. All the enters are gone etc. but if I look the concept of page 2, everything seems oke. So I think I’m not on the right way.
I’m reading now the wordpres Docs and I hope to find the right way. But is there big mismatch in my brain of understanding blogging/wordpress?
Thanks in advance.
Nico
- The topic ‘I don’t understand the concept of wordpress?’ is closed to new replies.