custom post types not showing.

I have 3 different custom post types in my wp install and I figured out how to show the custom fields fine with the theme I have. Along with the theme I created I also have templateer which allows extra theme options and page templates.

The problem I am having is that when i choose a page template, 1 of the options is to be able to choose a category from posts.

none of the custom post types show up in this list only the uncategorized category from the default posts section.

Here is the code from the page template file.

Code:
<?php

/*

Template Name: Magazine 1a

*/

?>

<?php

get_header();

include get_template_directory().”/includes/tt_meta.php”;

global $custom_metabox_mag1;

$meta_test1 = $custom_metabox_mag1->the_meta();

$home_page_sheet_style = $meta_test1[‘home_page_sheet_style’];

$hp_widgetized_position = $meta_test1[‘hp_widgetized_position’];

$hp_top_margin_choose = $meta_test1[‘hp_top_margin_choose’];

$hp_top_margin_t = $meta_test1[‘hp_top_margin_t’]; if ($hp_top_margin_t == ”:wink: $hp_top_margin_t = 0;

$hp_top_margin_r = $meta_test1[‘hp_top_margin_r’]; if ($hp_top_margin_r == ”:wink: $hp_top_margin_r = 0;

$hp_top_margin_b = $meta_test1[‘hp_top_margin_b’]; if ($hp_top_margin_b == ”:wink: $hp_top_margin_b = 0;

$hp_top_margin_l = $meta_test1[‘hp_top_margin_l’]; if ($hp_top_margin_l == ”:wink: $hp_top_margin_l = 0;

$hp_top_margin = $hp_top_margin_t.’px ‘.$hp_top_margin_r.’px ‘.$hp_top_margin_b.’px ‘.$hp_top_margin_l.’px’ ;

$hp_widgetized_show = $meta_test1[‘hp_widgetized_show’];

$home_page_top = $meta_test1[‘home_page_top’];

$home_page_widget_size = $meta_test1[‘home_page_widget_size’];

$home_page_widget_style = $meta_test1[‘home_page_widget_style’];

$title_change = $meta_test1[‘title_change’];

$title_length = $meta_test1[‘title_length’];

$m1_h2_change = $meta_test1[‘m1_h2_change’];

$m1_h2_size = $meta_test1[‘m1_h2_size’];

$all_cats = $meta_test1[‘all_cats’];

$m1_cat = $meta_test1[‘m1_cat’];

if ($all_cats == ‘Yes’:wink: {$m1_cat = ”;}

$m2_img_height = $meta_test1[‘m1_img_height’]; // image height

$m2_img_width = $meta_test1[‘m1_img_width’]; //image width

$m2_content_length = $meta_test1[‘m1_content_length’]; // length of content in characters

$m1_totalposts = $meta_test1[‘m1_totalposts’]; // Total number of posts to display per page

$m1_contentheight = $meta_test1[‘m1_contentheight’]; // height of content box in pixels

$m1_heading_text = $meta_test1[‘m1_heading_text’]; // text in the title for the header above posts

$m1_header_text_include = $meta_test1[‘m1_header_text_include’]; // display header above posts (or not)

$m1_block_transparent = $meta_test1[‘m1_block_transparent’]; // make background color of art-block transparent

$m1_block_padding_choose = $meta_test1[‘m1_block_padding_choose’];

$m1_block_margin_choose = $meta_test1[‘m1_block_margin_choose’];

$m2_style = $meta_test1[‘m1_style’];

$m1_block_padding_t = $meta_test1[‘m1_block_padding_t’]; if ($m1_block_padding_t == ”:wink: $m1_block_padding_t = ‘0’; $m1_block_padding_r = $meta_test1[‘m1_block_padding_r’]; if ($m1_block_padding_r == ”:wink: $m1_block_padding_r = ‘0’; $m1_block_padding_b = $meta_test1[‘m1_block_padding_b’]; if ($m1_block_padding_b == ”:wink: $m1_block_padding_b = ‘0’; $m1_block_padding_l = $meta_test1[‘m1_block_padding_l’]; if ($m1_block_padding_l == ”:wink: $m1_block_padding_l = ‘0’;

$m1_block_padding = $m1_block_padding_t.’px ‘.$m1_block_padding_r.’px ‘.$m1_block_padding_b.’px ‘.$m1_block_padding_l.’px’ ;

$m1_block_margin_t = $meta_test1[‘m1_block_margin_t’]; if ($m1_block_margin_t == ”:wink: $m1_block_margin_t = 0; $m1_block_margin_r = $meta_test1[‘m1_block_margin_r’]; if ($m1_block_margin_r == ”:wink: $m1_block_margin_r = 0; $m1_block_margin_b = $meta_test1[‘m1_block_margin_b’]; if ($m1_block_margin_b == ”:wink: $m1_block_margin_b = 0; $m1_block_margin_l = $meta_test1[‘m1_block_margin_l’]; if ($m1_block_margin_l == ”:wink: $m1_block_margin_l = 0;

$m1_block_margin = $m1_block_margin_t.’px ‘.$m1_block_margin_r.’px ‘.$m1_block_margin_b.’px ‘.$m1_block_margin_l.’px’ ;

$show = $meta_test1[‘show’];

$feat_img = $meta_test1[‘feat_img’];

$hp_mid_image_shadow = $meta_test1[‘hp_mid_image_shadow’];

$img_pos1 = $meta_test1[‘img_pos1’];

if (is_paged()) $is_paged = true;

?>

<style type=’text/css’>

.art-post ul li, .art-post ol ul li {overflow:visible;}

<?php if ($hp_top_margin_choose == ‘Yes’&& $home_page_widget_size == ‘home_page_header_wide’:wink: { ?>#home-top-bg {padding: <?php echo $hp_top_margin ; ?>;}<?php } ?>

<?php if ($hp_top_margin_choose == ‘Yes’ && $home_page_widget_size == ‘home_page_header’:wink: { ?>.home-top-left {padding: <?php echo $hp_top_margin ; ?>;}<?php } ?>

.mini-post {float:left;overflow:hidden;width:50%;}

<?php if ($m1_h2_change == ‘Yes’:wink: { ?>

.mini-post .art-post h2.art-postheader, .mini-post .art-post h2.art-postheader a, .mini-post .art-post h2.art-postheader a:link, .mini-post .art-post h2.art-postheader a:visited, .mini-post .art-post h2.art-postheader a.visited, .mini-post .art-post h2.art-postheader a:hover, .mini-post .art-post h2.art-postheader a.hovered {font-size:<?php echo $m1_h2_size; ?>px;}

.mini-post .art-blockheader h3.t a, .mini-post .art-blockheader h3.t a:link, .mini-post .art-blockheader h3.t a:visited, .mini-post .art-blockheader h3.t a:hover {font-size: <?php echo $m1_h2_size; ?>px;} <?php } ?>

.mini-post .art-block a:link,.mini-post .art-block a:visited {text-decoration:none;color:inherit;}

.mini-post .art-block img {float:left;<?php if ($m1_block_margin_choose == ‘Yes’:wink: { ?>margin:<?php echo $m1_block_margin ; ?>;<?php } ?>}

<?php if ($m1_block_padding_choose == ‘Yes’:wink: { ?>.mini-post .art-blockcontent-body {padding:<?php echo $m1_block_padding ; ?>;}<?php } ?>

.mini-post .art-blockcontent-body {height: <?php echo $m1_contentheight.’px;’ ; ?>px;}

<?php if ($m1_block_transparent == ‘Yes’:wink: { ?>.art-content-layout .art-content .mini-post .art-block {background-color:transparent;}<?php } ?>

.mini-post .art-post img {float:left;<?php if ($m1_block_margin_choose == ‘Yes’:wink: { ?>margin:<?php echo $m1_block_margin ; ?>;<?php } ?>}

.mini-post .art-postcontent {height: <?php echo $m1_contentheight.’px;’ ; ?>px;}

<?php if ($m1_block_padding_choose == ‘Yes’:wink: { ?>.mini-post .art-postcontent p {padding:<?php echo $m1_block_padding ; ?>;}<?php } ?>

</style>

<!–[if IE ]><style type=”text/css”>.mini-post {width:49.9%;}</style><![endif]–>

<?php global $this_post_id; $this_post_id = $post->ID;

top_widget_print(‘in’:wink:;

if ( theme_get_meta_option($post->ID, ‘theme_show_home_widget’:wink: && !theme_get_meta_option($post->ID, ‘theme_show_home_widget_pos’:wink:){home_page_widget($size);}

?>

<?php

if (!is_paged()) {

if ($show == ‘Yes’:wink: {

while (have_posts()) {

the_post();

get_template_part(‘content’, ‘minimum’:wink:;

}

}

} ?>

<?php

$temp_query = clone $wp_query;

$paged = (get_query_var(‘paged’:wink:) ? get_query_var(‘paged’:wink: : 1;

$wp_query = new WP_Query(‘cat=’.$m1_cat.’&showposts=’.$m1_totalposts.’&paged=’.$paged);

while($wp_query->have_posts()) : $wp_query->the_post();

?>

<?php //$wp_query = new WP_Query(‘cat=’.$m1_cat.’&showposts=’.$m1_totalposts.’&paged=’.$paged); while($wp_query->have_posts()) : $wp_query->the_post();?>

<div class=”mini-post”>

<?php

global $post;

if ($title_change) {

if (strlen($post->post_title) > $title_length) {

$post_title = substr(get_the_title($before = ”, $after = ”, FALSE), 0, $title_length) . ‘…’; } else {

$post_title = get_the_title();

} } else { $post_title = get_the_title(); }

$m2_style(

array(

‘id’ => theme_get_post_id(),

‘title’ => ‘ID ) . ‘” rel=”bookmark” title=”‘ . get_the_title() . ‘”>’ . $post_title . ‘‘,

‘class’ => theme_get_post_class(),

‘content’ => tt_get_content_all(

array(

‘feat_img’ => $feat_img,

‘image_width’ => $m2_img_width,

‘image_height’ => $m2_img_height,

‘img_pos’ => $img_pos1,

‘img_shad’ => $hp_mid_image_shadow,

‘content_length’ => $m2_content_length

)

)

));

?>

</div>

<?php endwhile;?>

<div class=”cleared”></div>

<?php theme_page_navigation(); $wp_query = clone $temp_query; ?>

<div class=”cleared”></div>

<?php global $this_post_id; if ( theme_get_meta_option($this_post_id, ‘theme_show_sb_bot’:wink: && !theme_get_meta_option($this_post_id, ‘theme_show_sb_bot_wide’:wink: ) {get_sidebar(‘bottom’:wink:;} ?>

<?php get_footer(); ?>

what would I need to add to this to be able to choose from the custom post types?