WordPress.org

Ready to get started?Download WordPress

Forums

Simple Custom post type custom field
Custom post type reverts to the 404.php file (2 posts)

  1. Fandabydozy
    Member
    Posted 9 months ago #

    Set up custom post type, called 'work', and set up custom fields OK.
    Duplicated the archive page to archive-work.php and single.php to single-work.php added <?php $custom = simple_cck::get_post_custom($post_id) ?> to the resepective templates.
    Unfortunately post in the 'work' custom posts section will only show the 404.php error message.
    Any ideas why?
    Thanks

    http://wordpress.org/plugins/simple-content-construction-kit/

  2. sukandia
    Member
    Posted 6 months ago #

    hi,

    please try like this:

    <?php $custom = simple_cck::get_post_data($post->ID);
    	print_r($custom );
    	?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.