Forums

GridFocus - excluding categories from lists of post displayed in index.php (1 post)

  1. M
    Member
    Posted 2 years ago #

    I'm trying to customize the GridFocus index.php:
    - first, I would like to exclude one category from the list of articles shown in index
    - second, I want to add a "next articles" column in the main-page left column where a list of article titles will be shown. These articles should not be doubled by the articles I mentioned in my first point.

    I looked in the index.php but the function used there is:

    <div id="post-<?php the_ID(); ?>" class="post">
    			<div class="postMeta">
    				<p class="container">
    					<span class="date"><?php the_time('M j, Y') ?></span>
    					<span class="comments"><?php comments_popup_link('0', '1', '%'); ?></span>
    				</p>
    			</div>
    			<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title() ?></a></h2>
    			<div class="entry">
    				<?php the_content('Read the rest of this entry &raquo;'); ?>
    			</div>
    		</div>
    		<?php endwhile; ?>

    I've searched for the function used and I haven't found any of the customizations I needed. Maybe the function is deprecated?

    Many thanks to people who take the time to help me with an answer.

Topic Closed

This topic has been closed to new replies.

About this Topic