Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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" ??


  #1  
Old Mar 28, 2009, 06:22 PM
idaks01
 
1 posts · Mar 2009
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



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 09: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 10:52 AM
"Recent-comment" widget (list style) cosmiclove Sidebars & Widgets 5 Jul 13, 2009 07:05 PM
where can I rename "categories" and "Pages" into other titling? curious Atahualpa 3 Wordpress theme 5 Apr 28, 2009 04:15 PM
"Widget List Items" Settings Are Not Persisted bseppa Sidebars & Widgets 1 Dec 13, 2008 01:34 PM


All times are GMT -6. The time now is 01:29 PM.


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