Dear Friends, I am looking for a plugin that can display all posts from a plugin within a box such as the one found here - http://www.gsmarena.com/hp_veer_4g-3943.php I found many plugins for WordPress which were displaying posts from a particular category but they weren't displaying the way i am searching for. Please guide me.
Hey, you can use <?php global $post; $args = array( 'numberposts' => 5, 'offset'=> 1, '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> in your code. you can put it in your own div .this would be helpful to you. for more details search get_posts it on wordpress site. thanks 2webros
Thanks for your valuable input. I have installed a plugin called "category posts widget" found here -http://wordpress.org/extend/plugins/category-posts/ Now, I was looking to add some style css to this widget but this widget renders the css found in the theme and that creates little problem for me. Please guide me, if is it possible to add custom css style to this widget only. I was wondering how to customize this specific widget by adding what line to define this widget at style.css file of theme.
hii, you can create your own style by following steps. first go to wp-content/themes/your theme/functions.php here you will find function twentyten_widgets_init() go there and in which widget area is your widget change according to your requirenment thanks 2webros