Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Mar 28, 2009, 05:22 PM
idaks01
 
1 posts · Mar 2009
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)

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.
 

Bookmarks

Tags
flexx theme

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to post on 2 seperate "Pages" or "Cats" TPR Atahualpa 3 Wordpress theme 18 Aug 4, 2010 08:24 PM
Archives Page-How can I add the date before the post title when using "postbypost"? fromtheranks Atahualpa 3 Wordpress theme 8 Jul 25, 2009 09:52 AM
"Recent-comment" widget (list style) cosmiclove Sidebars & Widgets 5 Jul 13, 2009 06:05 PM
where can I rename "categories" and "Pages" into other titling? curious Atahualpa 3 Wordpress theme 5 Apr 28, 2009 03:15 PM
"Widget List Items" Settings Are Not Persisted bseppa Sidebars & Widgets 1 Dec 13, 2008 12:34 PM


All times are GMT -6. The time now is 08:12 PM.


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