ThemeShaper Forums » Thematic

[closed]

Modifying the "Category Archives" output

(4 posts)
  • Started 12 years ago by nWODT_Cobalt
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. Hi everyone, I'd like to tweak the output of "category archive" : put the text above rather than below the image.

    That's what I have now, and that I'd like to change, pardon the censorship (I've already modified functions.php in my child theme to fetch bigger featured images) : http://tinypic.com/r/2rwtjjq/7

    I looked in the Thematic files : archive.php, archives.php, category.php, content-extensions.php as well as in those forums but could not find a hint. I saw many functions but couldn't find where the actual output was being decided. Would anyone have an idea as to where to look? Thanks in advance.

    Posted 12 years ago #
  2. library>extensions>content-extensions.php that will show you the functions you need to modify in your child theme. specficially the category loop

    Posted 12 years ago #
  3. Well thank you! I found the following code snippet but still can't figure out which part is responsible for the output. I was expecting somekind of PHP template, but it seems the answer lies in thematic_content(), specifically in the // Creates the post content part. I'll look into it!

    // The Category Loop
    if (function_exists('childtheme_override_category_loop'))  {
    	function thematic_category_loop() {
    		childtheme_override_category_loop();
    	}
    } else {
    	function thematic_category_loop() {
    		while (have_posts()) : the_post(); 
    
    				thematic_abovepost(); ?>
    
    				<div id="post-<?php the_ID();
    					echo '" ';
    					if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
    						post_class();
    						echo '>';
    					} else {
    						echo 'class="';
    						thematic_post_class();
    						echo '">';
    					}
         				thematic_postheader(); ?>
    					<div class="entry-content">
    <?php thematic_content(); ?>
    
    					</div><!-- .entry-content -->
    					<?php thematic_postfooter(); ?>
    				</div><!-- #post -->
    
    			<?php 
    
    				thematic_belowpost();
    
    		endwhile;
    	}
    } // end category_loop
    Posted 12 years ago #
  4. it is thematic_content(). remember that while you look in the content-extensions.php file you never make any changes there. make all your mods in your child's functions.php file.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.