Hi, using WP 3.0.4, theme: Twentyten (child).
Can List Category Posts plugin work for a non-static home page?
Want to call posts from specific categories to specific divs on my home page. I downloaded List Category Posts plugin, activated it, and then typed the following:
[catlist name=sci-tech orderby=date numberposts=1 date=yes author=yes excerpt=yes catlink=yes]into one of the divs inside index.php. But on viewing the home page, the code appears, and no post.
I even tried
<?php echo do_shortcode('[catlist name=sci-tech orderby=date numberposts=1 date=yes author=yes excerpt=yes catlink=yes]'); ?>, but that returned an error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /Users/das/Documents/Websites/Bhaktivedantas-dev/public_html/wp-content/plugins/list-category-posts/list_cat_posts.php on line 84
Can anyone help with how to implement this plugin on home page? Or point me to another solution for what I want to accomplish? Many thanks!
- The topic ‘List category posts for home page (non-static)?’ is closed to new replies.