Forum Replies Created

Viewing 15 replies - 106 through 120 (of 138 total)
  • here you go this is what i used on my page
    <?php wp_list_authors('show_fullname=1&exclude=admin'); ?>
    works like a charm , let me know if you have any problems

    Thread Starter Kevin Kwok

    (@queesy)

    solved myself.

    if(!isset($sortby))
    	{
    		$sortby = 'DESC';
    	}	
    
    	$cat_args = array(
    					  	'orderby' => 'ID',
    						'order' => $_GET[sortby]	// New Code
    					  );
    	$categories = get_categories($cat_args);
    	foreach($categories as $category)
    	{
    		echo '<div>';
    		echo '<div style="float: right; position:absolute; padding-left:690px; padding-right:10px; font-family:Courier New; font-size:16px; width:180px;">
    		<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "" )) . '" ' . '>' . $category->name. ' '.$category->description.'</a></div>';
    		$args = array(
    					  	'orderby' => 'ID',
    						'order' => 'DESC',
    						'showposts' => -1,
    						'category' => $category->term_id,
    						'caller_get_posts' => 1
    					  );
    		$posts = get_posts($args);
    		echo '<div style="float: left; width: 660px;">';
    		foreach($posts as $post)
    		{
    			setup_postdata($post);
    			childtheme_post_header();
    			echo "<a href=\"".$post->guid."\" rel=\"bookmark\">";
    			echo '<div style="float: left; width: 150px; margin-right: 15px;">';
    
    			if(get_post_meta($post->ID, 'full-image', $single = true))
    				echo '<img class="full-image" src="'.get_post_meta($post->ID, 'full-image', $single = true).'" width="150" height="113" /><BR />';
    			else
    				echo '<img class="full-image" src="'.bloginfo('url').'" width="150" height="113" /><BR />';
    				echo '<div style="height:50px;">
    						<div style="float: left; margin-top:6px;">'.get_post_meta($post->ID, 'designed-by', $single = true).'</div>
    						<div style="float: right; margin-top:6px;">'.$post->post_title.'</div>
    						<div style="clear: both;"></div>
    					  </div>';
    			echo '</div>';
    			echo '</a>';
    		}
    		echo '</div>';
    
    		echo '</div>';
    	}
    
    ?>
            </div>

    Thread Starter Kevin Kwok

    (@queesy)

    any takers?

    Thread Starter Kevin Kwok

    (@queesy)

    Thread Starter Kevin Kwok

    (@queesy)

    thank you sir!

    Thread Starter Kevin Kwok

    (@queesy)

    well like i said this thread has just basically become me documenting my process to make this thing happen. so with the help of my friend here i finally figured it out heres my code. hope this helps someone down the road maybe years from now.

    <?php
    
    function printr($var)
    {
    	echo "<pre>"; print_r($var); echo "</pre>";
    }
    
    	?>
        	<div style="position:absolute;margin-bottom:20px;margin-top:-24px; margin-left:-10px;">
    		<hr color="#000000" size="0.5px" style="height:0.5px;width:659px;">
    		</div>
            <div style="width: 900px;">
    
        <?
    
    	$cat_args = array(
    					  	'orderby' => 'ID',
    						'order' => 'ASC'
    					  );
    	$categories = get_categories($cat_args);
    	foreach($categories as $category)
    	{
    		echo '<div>';
    		echo '<div style="float: right;">Category #'.$category->term_id.'</div>';
    		$args = array(
    					  	'orderby' => 'title',
    						'order' => 'ASC',
    						'showposts' => -1,
    						'category' => $category->term_id,
    						'caller_get_posts' => 1
    					  );
    		$posts = get_posts($args);
    		echo '<div style="float: left; width: 660px;">';
    		foreach($posts as $post)
    		{
    			setup_postdata($post);
    			childtheme_post_header();
    			echo "<a href=\"".$post->guid."\" rel=\"bookmark\">";
    			echo '<div style="float: left; width: 150px; margin-right: 12px;">';
    
    			if(get_post_meta($post->ID, 'full-image', $single = true))
    				echo '<img class="full-image" src="'.get_post_meta($post->ID, 'full-image', $single = true).'" width="150" height="113" />';
    			else
    				echo '<img class="full-image" src="'.bloginfo('url').'" width="150" height="113" />';
    				echo '<div style="height:50px;">
    						<div style="float: left;">'.get_post_meta($post->ID, 'designed-by', $single = true).'</div>
    						<div style="float: right;">'.$post->post_title.'</div>
    						<div style="clear: both;"></div>
    					  </div>';
    			echo '</div>';
    			echo '</a>';
    		}
    		echo '</div>';
    		echo '<div style="clear: both;"></div>';
    
    		echo '</div>';
    
    		echo '<div style="position:absolute; margin-left:-10px;height: 1px; width: 660px; background-color: #000000; margin-top:-5px; margin-bottom: 15px;"></div>';
    	}
    
    ?>
            </div>
    Thread Starter Kevin Kwok

    (@queesy)

    solved my own question

    <?php
    foreach((get_the_category()) as $category) {
        echo $category->cat_name . ' '$category->description .' ';
    }
    ?>

    hehe….

    Forum: Your WordPress
    In reply to: My New Blog

    nice blug, bandwidth depends on all the file sizes of all youre files. godaddys lowest hosting plan is about $50 a year for 300gb bandwidth. look for online coupons.

    dreamhost which is like $120 for a year but you basically get unlimited bw and file space.

    nice design! only thing i would say is the poll is a little distracting for me. i feel it takes way from seeing your nicely designed site.

    Lucky you found thematic theme, which lends a huge hand to you for your minimalist style. i think it would be nice if the post titles were not completely black, maybe a dark gray.

    nice work, love the topics. would love if the rss feed picture on top went over the navigation instead of behind it

    very nice

    Forum: Your WordPress
    In reply to: My New Blog

    nice blug, bandwidth depends on all the file sizes of all youre files. godaddys lowest hosting plan is about $50 a year for 300gb bandwidth. look for online coupons.

    dreamhost which is like $120 for a year but you basically get unlimited bw and file space.

    check function.php and your css files.

    adding to what clayton said, you would probably have to find this in your function.php file, you can get more help if you post your link.

Viewing 15 replies - 106 through 120 (of 138 total)