WordPress.org

Support

Support » Themes and Templates » Including Content, etc.

Including Content, etc.

  • Oh, god. I’m going insane. LOL. Seriously, I have read manuals and documentations back and forth, and back and forth, and I still haven’t been able to get the templates working… or the tags. Whatever.

    http://charmedbycharmed.com/anna/wp-content/themes/sunset/index.php

    That’s the link to the theme I’m trying to do. Where it says “The content will be here” or whatever, that’s where I’m trying to put my main posts.

    Can someone tell me how to do that… and also explain a little bit furthermore in easier terms on what templates and themes are? Thank you. =]

Viewing 5 replies - 1 through 5 (of 5 total)
  • In your administration panel under Presentation, Themes, you should be able to activate the sunset theme. That should then replace the ‘Classic’ Theme showing at http://charmedbycharmed.com/anna/

    If that doesn’t work for you come back here and let us know.

    Hm, yeah. I know how to do that. What I meant was like, I have header.php and footer.php in my new theme folder I’ve created. Now, what? How do I like, include my current posts, etc.?

    This is how themes and templates work: it’s a simple visual aid. I hope it can help you to better understand their relation.
    Please, post back if you need more help!

    Okay, so I’m kind confused. Here’s what you do to have WordPress content between headers and footers?

    <?php get_header(); ?>

    <?php the_content(); ?>

    <?php get_footer();

    That’s not enough. You need The Loop. Unfortunately the Codex is down, so you cannot read about it. However, in my other post at my blog (see link above) there is another article about the integration which gives an example of the Loop.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Including Content, etc.’ is closed to new replies.
Skip to toolbar