Đang Thực Hiện

328879 Word Press Guru Needed

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.

[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?

Thanks-Sunny

Kĩ năng: Bất kì công việc gì, WordPress

Xem nhiều hơn: word press help, word press code, wordpress blocks, word of press, word in press, word find template, where is guru, template guru, help needed ads, help guru, guru my, guru lt, guru help, guru display, get word templates, get it guru, get guru, get a guru, find-guru, find a guru

Về Bên Thuê:
( 7 nhận xét ) Winston Salem,

ID dự án: #2074687