How to display content
-
Hi, I am slowly getting the hang of WP, but I’m still at very beginner’s stage. I have learnt how to create my own custom theme and make new pages, but now my problem is, whenever I go to Dashboard Admin->Page to edit a specific page I created, I enter some text and Publish. But when I check my locally hosted wordpress site, the div content (the content class selector in my style.css) still shows nothing. What am I missing? I don’t know the WP function to pull the content from the WP database whenever I enter some text in a certain page.
Thus far this is what I have:
index.php
=========<?php get_header(); ?> <?php get_footer(); ?>header.php
==========[code moderated - please use the pastebin]
footer.php
==========</div><!-- END content--> </div><!-- END contentBox (holds div content, div sidebar later--> </div><!--END container div--> <div class="footer"> <h6><?php bloginfo('name')?></h6> powered by WordPress </div> </body> </html>Any help appreciated!
The topic ‘How to display content’ is closed to new replies.