List latest post for each tag with a category

I think I’ve cracked it. So now the latest post for each tag type is now displayed. A bit beyond my coding level but its working. <?php $args = array( ‘type’ => ‘post’, ‘orderby’ => ‘post_date’); $tags = get_tags($args); foreach($tags as $tag) { $the_query = new WP_Query( ‘tag=’.$tag->slug ); if ( $the_query->have_posts() ) { $the_query->the_post(); … Read more

Tags page not for post

I’ve solved my task! ‘begin_roundblock’ and ‘end_roundblock’ are my functions for making blocks to games. ‘cols’ and ‘rows’ are number columns rows and rows for games. if ($tag) { $cols = 9; $rows = 5; $paged = ((‘paged’)) ? get_query_var(‘paged’) : 1; $post_per_page = $cols * $rows; // -1 shows all posts $do_not_show_stickies = 1; … Read more

Links from the_tag not working

i checked firebug, are you displaying the tags by using <?php the_tags(); ?> ? if not, what else are you using ? I hope this links helps http://codex.wordpress.org/Function_Reference/the_tags

Top ten tags ala Delicious

Easy with get_tags(). Basic idea would be something like this: $args = array( ‘orderby’ => ‘count’, ‘order’ => ‘DESC’, ‘number’ => 10, ); $tags = get_tags( $args );

Buddypress – Adding Tags in Profile

You could create an extended profile field named Tags. If you need to show this in your members-loop.php you could add: <?php bp_member_profile_data(‘field=Tags’) ?>

Anyway to retrieve a feed of posts that have BOTH tags?

You could make a custom rss feed….. Here’s a link for that http://yoast.com/custom-rss-feeds-wordpress/ Simply use that info to make a page template Make a new page through the WP interface and assign that template The url for that page is your new feed. You just need to adjust the query line to call to both … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)