• Resolved romanboix

    (@romanboix)


    Hi! i have created a custom type that lists other type. for example, is like i have a movie_collection that lists movies.
    if I go post_type -> preview or go to sample template, it lists correctly but, when I try use it like WP template in a page, the function get_custom_field returns nothing.
    Sorry for my bad English and thanks!

    http://wordpress.org/extend/plugins/custom-content-type-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter romanboix

    (@romanboix)

    okey i found the problem… it was the ID.. i solved by this way:

    $Q = new GetPostsQuery();
         $args = array();
         $args['post_type'] = 'programa';
         $args['orderby'] = 'name_last';
         $args['order'] = 'ASC';
         $args['post_status'] = 'publish';
         $all_programas = $Q->get_posts($args);
    fireproofsocks

    (@fireproofsocks)

    Glad you solved the problem!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Content Type Manager] using templates’ is closed to new replies.