WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Events Manager - Custom Category Order (2 posts)

  1. slusatel
    Member
    Posted 2 years ago #

    Can the order of categories list for each event (when listing events) be customized?
    I've tried combining http://wordpress.org/extend/plugins/order-up-custom-taxonomy-order/ but the categories order is still the same (default).
    The file I'm editing is templates/placeholders/categories.php

    <ul class="event-categories">
    		<?php foreach($EM_Event->get_categories() as $EM_Category): ?>
    			<li><?php echo $EM_Category->output("#_CATEGORYLINK"); ?></li>
    		<?php endforeach; ?>
    	</ul>

    to

    <?php foreach($EM_Event->get_categories('orderby=term_order') as $EM_Category): ?>

    thanks

    http://wordpress.org/extend/plugins/events-manager/

  2. slusatel
    Member
    Posted 2 years ago #

    I've tried different plugins and http://wordpress.org/extend/plugins/custom-taxonomy-sort/ works, in case you need to sort the categories display, use that one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic