Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Flexx theme - How to change my "List Category or Archives" to "List Titles ONLY" ?? (http://forum.bytesforall.com/showthread.php?t=997)

idaks01 Mar 28, 2009 05:22 PM

Flexx theme - How to change my "List Category or Archives" to "List Titles ONLY" ??
 
Hello Everyone!

This is my first post in this forum and I register here because everyone is trying to help one another.

Who am I? - I am a noob with PHP (but somehow able to understand the code)
- I use Wordpress using FLexx theme.

My Problem is stated on the subject line. I've been browsing this forum for a while and didn't able to find what looking for. Some say change it on your "index.php" but it looks to me, this flexx theme has a different coding.

And so, I tried to look on each *.php for a similar-look of code and find it on "archive.php"

Here is it:

Code:

<!--archive.php-->
<div class="<?php do_action('content_style'); ?>" id="content">

        <?php if (have_posts()) : ?>

    <h4><?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>                               
        <?php _e("Archive for"); ?> <?php echo single_cat_title(); ?>
    <?php /* If this is a tag archive */ } elseif (is_tag()) { ?>                               
        <?php _e("Archive for"); ?> <?php echo single_tag_title(); ?>
        <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
                <?php _e("Archive for"); ?> <?php the_time('F jS, Y'); ?>
    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
                <?php _e("Archive for"); ?> <?php the_time('F, Y'); ?>
    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
                <?php _e("Archive for"); ?> <?php the_time('Y'); ?>
    <?php /* If this is a search */ } elseif (is_search()) { ?>
                <?php _e("Search Results"); ?>
        <?php /* If this is an author archive */ } elseif (is_author()) { ?>
            <?php _e("Author Archive"); ?>
    <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
                <?php _e("Blog Archives"); ?>
        <?php } //do not delete ?>
    </h4>
   
    <?php while (have_posts()) : the_post(); // the loop ?>


To do: Change view list to Post "Titles Only" when viewing Category and in Archive instead of posting the whole Content on each post. (I hope you get what I mean, I am having a hard time explaining this):confused:

Please help! and if possible, please provide specific details or perhaps paste the edited code.
Btw, here is my site for a better picture of my problem.
Cheap backpacker travel

As you can see, view in my ..../category/gears/ has a body. I want it eliminated.

Thank you.


All times are GMT -6. The time now is 05:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.