Title: Speaker Loop
Last modified: August 30, 2016

---

# Speaker Loop

 *  Resolved [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * (@harbormark)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/speaker-loop/)
 * The widget allows one to choose a sorting method, but it doesn’t allow one to
   choose what to sort on (title, etc).
 * How can I force my speakers to be listed alphabetically?
 * [https://wordpress.org/plugins/cr3ativ-conference/](https://wordpress.org/plugins/cr3ativ-conference/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333269)
 * You could try to edit the template-cr3ativspeaker.php and change this:
 * `$wp_query->query('post_type=cr3ativspeaker&posts_per_page=999999');`
 * to this:
 * `$wp_query->query('post_type=cr3ativspeaker&posts_per_page=999999&orderby=title&
   order=ASC');`
 *  Thread Starter [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * (@harbormark)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333271)
 * This would affect the sidebar widget?
 *  Plugin Author [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333290)
 * No – this would only affect the template, the sidebar drag/drop widget is a separate
   loop.
 *  Thread Starter [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * (@harbormark)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333291)
 * Understood. My question was about the widget.
 *  Plugin Author [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333292)
 * Sorry, to change the widget, you would basically have to hack the plugin. Which
   you can certainly do, but then if we update the plugin, you will loose any changes
   you make to the widget.
 * If you still want to change the loop on the widget, then you would need to edit
   the speaker-widget.php located in the includes directory.
 * The loop for that looks something like this (towards the bottom of the file):
 *     ```
       global $post;
   
       		$args = array(
       		'post_type' => 'cr3ativspeaker',
                       'order' => $orderby,
                       'posts_per_page' => $itemstodisplay
       		 );
   
                       query_posts($args);
       ```
   
 * You could just add the orderby to it to make it look like this:
 *     ```
       global $post;
   
       		$args = array(
       		'post_type' => 'cr3ativspeaker',
                       'order' => $orderby,
                       'posts_per_page' => $itemstodisplay,
                       'orderby' => 'title'
       		);
   
                       query_posts($args);
       ```
   
 *  Thread Starter [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * (@harbormark)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333293)
 * Okay thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Speaker Loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cr3ativ-conference_f59144.svg)
 * [Cr3ativ Conference](https://wordpress.org/plugins/cr3ativ-conference/)
 * [Support Threads](https://wordpress.org/support/plugin/cr3ativ-conference/)
 * [Active Topics](https://wordpress.org/support/plugin/cr3ativ-conference/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cr3ativ-conference/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cr3ativ-conference/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/speaker-loop/#post-6333293)
 * Status: resolved