Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Does anybody knows how to create post under specific page?
    I guess the easy way it's just to link to specific category then you can assign post to category
    but I was wondering if there is a way to assign post to specific page.

    Best, DS
    • CommentAuthorMatt
    • CommentTimeApr 13th 2007
     permalink
    As far as I know you can't... but I also don't know why you would want to.
  2.  permalink
    You could use a template header to give your static page a unique identity, then use a combination of template tags to import posts from a specific category, in this case Category ID#3:


    <?php query_posts('cat=3'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <div id="post-<?php the_ID(); ?>" class="post-title"><a href="<?php&phpMyAdmin=4594f30712f4fabaff6997416810f3f2 the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>

    <div class="date"><?php the_time('l, F jS, Y') ?></div>

    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>


    <?php endwhile; ?>

  3.  permalink
    Thanks for comments!!!

    I figured it out.
    I created a new template which I assign to specific page.
    Made some changes to the index page etc.
    Works great.

    Best, DS
Add your comments
    Username Password
  • Format comments as (Help)