Guys, working hard -as usual – to get my brain working peoperly with WP. Today discovered a cool way to display some stuff on a theme, Category content.
Thing is, the code I am using gets the content all right, BUT I need to edit the php for it to work properly. How can I get my content, using category name?
To be honest I did search in the codex, but (as usual) I have some issues.
This is what I have working now, you can see the cat number:
<ul> <?php global $post; $args = array( 'numberposts' ?> 17, 'category' => 1 ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> </ul>
If that thing works as that lady voice… Ouch, not good :))))
Cheers Jami, Thanks for the TW url.
The only drible I have is when playing football (thats soccer for you Us’ers :p).
Bet the only guy getting this is Eduardo… lmao
Anyone? Or is this a personal issue?
Good luck mate, seems like you know EXACTLY what you want – I see success in your future