示例#1
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>
示例#2
0
        ?>

                                        <br />Added <?php 
        tt_task_age();
        ?>
 ago
                                    </div>
                                     </div>
                                </td>
                                <?php 
        foreach ($cpt_obj[$cpt]->taxonomies as $tax) {
            ?>
                                    <td>
                                        <div class="milestone-container zm-base-item">
                                            <?php 
            print zm_base_get_the_term_list(array('post_id' => $post->ID, 'taxonomy' => $tax));
            ?>
                                        </div>
                                    </td>
                                <?php 
        }
        ?>
                                
                            </tr>
                        <?php 
    }
}
?>
                    </table>
                </div>
            </div>
示例#3
0
                                    <div class="priority-container zm-base-item">
                                        <?php 
        print zm_base_get_the_term_list(array('link' => true, 'post_id' => $post->ID, 'taxonomy' => 'priority'));
        ?>
                                    </div>
                                <td>
                                    <div class="project-container zm-base-item">
                                        <?php 
        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 
示例#4
0
    </li>

    <?php 
foreach ($cpt_obj[$post_type]->taxonomies as $tax) {
    ?>
        <li>
            <div class="<?php 
    print $tax;
    ?>
-container">
                <small><?php 
    print $tax;
    ?>
</small><br /> 
                <?php 
    print zm_base_get_the_term_list(array('post_id' => $id, 'post_type' => $post_type, 'taxonomy' => $tax, 'link' => 'anchor'));
    ?>
            </div>
        </li>
    <?php 
}
?>


    <li class="right">
        <?php 
if (is_user_logged_in()) {
    ?>
            <span class="mini-button-container">
                <a href="javascript://" class="default" id="utiliy_update_handle">Click to Edit</a>
            </span>