Word Press Guru Needed
Project ID: 1245339615
Project Details
  • Status:
    Closed (Cancelled)
  • Posted:
    6/18/2009 at 11:40 EST
  • Cancelled:
    7/10/2009 at 0:49 EST
  • Project Creator:
  • Budget:
    N/A
  • Description:
    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" <DIV> 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".

    <div class="grid_4" id="bucket_green">
    <?php $posts = get_posts( "category=homeblock1&numberposts=1" ); ?>
    </div>

    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.
    http://www.unionhillbaptistchurch.org/about/. 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?

    Thanks-Sunny
  • Tags:
Project Bids
Programmer Bid Delivery Time Time of Bid Rating  
avikweb6 $38 Immediately 6/20/2009 at 23:05 EST (No Feedback Yet)
Please check your PMB. Thanks.
prakash0602 $40 3 hours 6/18/2009 at 16:13 EST 10.00/10
(13 reviews)
Hi, Please check PMB
kammi $40 1 day 6/18/2009 at 12:50 EST (No Feedback Yet)
kdkaushik-gmail
agarassino $60 2 days 6/18/2009 at 12:20 EST 9.79/10
(48 reviews)
Hi, please check PMB. Thanks, Agustin