Completed

Simple PHP Wordpress coding

I have a wordpress website which uses posts, pages and custom post types, I am trying to dynamically bring in custom post types into a post at the bottom.

To do this I am using a plugin called secondary html content and what I do is I write the id numbers i need for example 350,360 into the related-programs secondary html box.

I have then created a post called Global Citizenship in Nursing you can look at it here:

[url removed, login to view] as you can see down the bottom I have added the seondary html side bar using this php code:

<?php

$kelly = the_secondary_content( 'related-programs' );

echo $kelly

?>

when i echo $kelly nothing shows up what i am trying to do is get the numbers i have put into the secondary html content box on the post page to show up in:

$services_args = array(

'post_type' => 'service',

'posts_per_page' => 2,

'paged' => $paged,

'orderby' => 'title',

'post__in' => array($kelly),

// 'post__in' => array(350,360); it works perfect if i add numbers in here

'order' => 'ASC'

);

However I can't get it to work. I am sure it is a simple fix but because I am not good with php this is my problem.

Skills: PHP, WordPress

See more: wordpress 360, what can coding do, programs for coding, php coding programs, order a service wordpress plugin, it works global, html to wordpress service, custom wordpress service, asc it, asc.com.au, portfolio wordpress php code, php simple ip zip code, generate sitemap wordpress php code, coding wordpress simple cart site, rss wordpress php code, google simple checkout sample code php, php simple referral script code, simple php video upload view code, wordpress php create custom code, video plugin wordpress php code

About the Employer:
( 1 review ) Strathdale, Australia

Project ID: #8872625

Awarded to:

ozspeed

Hi mate, PHP guru, I can help you take a check quickly. Will need a temp FTP access to see current code to see what cause the problem. Cheers.

$30 AUD in 1 day
(8 Reviews)
3.4

2 freelancers are bidding on average $30 for this job

HiFiDesigner

I can fix your code. I am expert in wordpress development and customization. I am available to start this job right now. Please have a look at my wordpress created sites. [login to view URL] [login to view URL] index More

$30 AUD in 1 day
(175 Reviews)
6.0