nando99
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Social] Error after activationi’m using the latest and i’m getting the same error…
Forum: Fixing WordPress
In reply to: need help with queries…any other way to do this? the page still takes forever to load… about 18 seconds… i have w3 total cache installed as well…
it’d be easier to read if you used the code tag or pastebin…
Forum: Fixing WordPress
In reply to: need help with queries…awesome! thanks!
Forum: Fixing WordPress
In reply to: need help with queries…awesome!
quick thing, i’d only like to show the header of a section if it has posts… after messing with the code, i got it to show the heading with every post… smh
<?php $args = array( 'category__and'=>array(16,4433), 'posts_per_page'=>30, 'orderby'=>menu_order, 'order'=>asc ); $second_query = new WP_Query( $args ); while ( $second_query->have_posts() ) : ?> <tr> <td class="fpb"> News & Upcoming Events</td> </tr> <?php $second_query->the_post(); ?> <tr> <td class="postbit" id="post-<?php the_ID(); ?>"><strong><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php the_title(); ?> </a></strong> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td><?php the_excerpt_max_charlength(200); ?></td> <?php if (has_post_thumbnail()) {?> <td><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><img src="<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 100,100 ), false, '' ); echo $src[0]; ?>" align="right" class="polaroid" style="height:50px; width:50px;" /></a></td> <?php } ?> </tr> </table></td> </tr> <?php endwhile; wp_reset_postdata(); ?>Forum: Fixing WordPress
In reply to: need help with queries…14 query_posts…
i tried using wp_query but i couldnt get it to only show posts that below to 2 specific categories… i’m trying to look for the code i used that didnt work…
Forum: Fixing WordPress
In reply to: need help with queries…full page: http://pastebin.com/MPhWzNPe
its just the same type of query used multiple times…
unfortunately, i have to use tables bc we email the end result as a newsletter and tables are the only way to control the message output 100%
Forum: Fixing WordPress
In reply to: how to control page title on category specific archive?<title> <?php if ( is_home()) { bloginfo('name'); } else { single_cat_title(); echo " "; wp_title(' ', true, 'right'); echo "| "; bloginfo('name'); }?> </title>I ended up using this and it works great except on the main page of category… then the category title appears twice…
Forum: Plugins
In reply to: dynamically linking post images to full sizejust ran into the EXACT same issue… we have over 1000 posts…. it’d take forever to edit each post manually…
is there anyway to dynamically change the url images link to to be the full size image?
thanks in advance!
Forum: Fixing WordPress
In reply to: Homepage title is wrong…Not sure what the problem was but i used another seo plugin and everything is all good now… thanks anyway
Forum: Fixing WordPress
In reply to: Homepage title is wrong…it should just be That Guy Show… seems like the seo plugin i’m using thinks the homepage is the funny images category page…
Forum: Fixing WordPress
In reply to: Homepage title is wrong…I even tried using a SEO plugin and the plugin does NOT change the title on the homepage…
Forum: Fixing WordPress
In reply to: Plugins won't activate…anyone?
Forum: Themes and Templates
In reply to: Showing Only IfThis is the code I use: http://pastebin.com/s0HmbkZH
Forum: Fixing WordPress
In reply to: Changing Permanent Linksor not*
thanks for all the help – its greatly appreciated…