Exemple #1
0
        print zm_base_get_the_term_list(array('link' => true, 'post_id' => $post->ID, 'taxonomy' => 'project'));
        ?>
                                    </div>
                                </td>
                                <td>
                                    <div class="type-container">
                                        <?php 
        print zm_base_get_the_term_list(array('link' => true, 'post_id' => $post->ID, 'taxonomy' => 'type'));
        ?>
                                    </div>
                                </td>                            
                            </tr>
                        <?php 
    }
}
?>
                    </table>
                    <?php 
tt_json_feed('task', array('status', 'priority', 'project', 'phase', 'assigned'));
?>
                </div>
            </div>
            <?php 
load_template(plugin_dir_path(__FILE__) . 'task-sidebar.php');
?>
    
        </div>
    </div>
<?php 
tt_json_feed('task', array('status', 'priority', 'project', 'phase', 'assigned'));
get_footer();
Exemple #2
0
                        <br />Added <?php 
        tt_task_age();
        ?>
 ago
                    </div>
                </td>
                    <td>
                        <div class="status-container zm-base-item">
                            <?php 
        print zm_base_get_the_term_list(array('post_id' => $post->ID, 'taxonomy' => 'status', 'link' => 'anchor', 'post_type' => $cpt));
        ?>
                        </div>
                    </td>
                    <td>
                        <div class="priority-container zm-base-item">
                            <?php 
        print zm_base_get_the_term_list(array('post_id' => $post->ID, 'taxonomy' => 'priority', 'link' => 'anchor', 'post_type' => $cpt));
        ?>
                        </div>
                    </td>
            </tr>            
        <?php 
    }
}
?>
    </table>
    <?php 
tt_json_feed($cpt, $cpt_obj[$cpt]->taxonomies);
?>
</div>
Exemple #3
0
?>
   
            <div class="tt-filter-container">
                <ul class="inline">
                    <li class="icon-container"><a href="javascript://" id="filter_handle" class="icon-find" data-template="default/navigation-filter.php" data-post_type="<?php 
print get_query_var('post_type');
?>
">Advanced Filter</a></li>
                </ul>
            </div>
            <div id="tt_filter_target"></div>                
            <div id="tt_main_target">
                <div class="tt_loading"></div>
                <div class="sample" data-template="theme/custom/archive-table.php" data-post_type="<?php 
print get_query_var('post_type');
?>
"></div> 
                <div id="no_results"></div>                        
            </div>
        </div>
        <?php 
load_template(plugin_dir_path(__FILE__) . 'task-sidebar.php');
?>
    
    </div>
</div>
</div>
<?php 
$cpt_obj = get_post_types(array('name' => get_query_var('post_type')), 'objects');
tt_json_feed(get_query_var('post_type'), $cpt_obj[get_query_var('post_type')]->taxonomies);
get_footer();