Wordpress issue. Besides having the usual content block on my page I also want to add little blocks of content (like banner ads, etc.) to some templates. My client could log into their WP account and edit the "post" which would then display in its appropriate box.
I have created a post, then created a category (homeblock1), and assigned the post to that category. Then in my custom template I have a "banner box" &lt;DIV&gt; where I want the content from said post to display. Maybe I mistyped something? Syntax error? The code from my template is below. Any help appreciated in advance! It says "get the posts from category 10 and only show the latest one".
&lt;div class="grid_4" id="bucket_green"&gt;
&lt;?php $posts = get_posts( "category=homeblock1&amp;amp;numberposts=1" ); ?&gt;
Here is a link to one of the pages. The content box in the right column (the green box) is where I need my post to post.
[url removed, login to view] I have also attached my template file where this code is placed. I don't know if this helps but the way my host is set up I have to use full length URLss to call my stylesheets from within the templates. Maybe it can't find the posts?