Friday, 6 September 2013

Custom Post type and custom feild in wordpress....

Today We Going to explain the important task that to add custom post in WordPress( including images,files,text etc )

First of all download this plugin

" Simple Custom post type custom field"

Than Add the custom feild where you want to add in your wordpress site.
here is the code to use this plugin on your page.

<?php $data = simple_cck::get_post_data($my_id); //print_r($data);?>

 src="<?php print_r($data['img1']['image_data'][0]); ?>"

<a href="<?php print_r($data['summary']['file']);?>">Click to View</a>

Subscribe us for Important Knowledge of word press.Your's suggestions are most welcomed..

No comments:

Post a Comment