[HELP] Modifying Wave Template (1 post)

  1. MJanes
    Posted 8 years ago #

    I have the wave template, and I removed the note thing because I did not want it, and I also wanted to know how to make it so on my index page it only shows posts from a certain category I tried this code but it failed, anyone can help?

    <?php get_header();?>

    <div id="news">

    <div class="single">

    <div class="head"></div>

    <?php if (in_category('1')) continue; if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

    <h2>" rel="bookmark">

    <?php the_title(); ?>


    <div class="pgentry">

    <?php the_content(__('(Show me more...)')); ?>


    <div style="clear: both"></div>

    <div class="left">

    <?php _e("Dropped in:"); ?>

    <?php the_category(',') ?>


    <?php the_time() ?>


    <div style="clear: both"></div>


    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; else: ?>


    <?php _e('Sorry, no posts matched your criteria.'); ?>


    <?php endif; ?>

    <?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>


    <?php include (TEMPLATEPATH . '/sand.php'); ?>

    <div style="clear: both"></div>


    <div style="clear: both"></div>

    <?php get_footer();?>

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.