<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: FAQ - Controlling Order of Users on Staff List Page Template</title>
		<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template</link>
		<description>THE MOLITOR FORUMS &#187; Topic: FAQ - Controlling Order of Users on Staff List Page Template</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 05:14:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/controlling-order-of-users-on-staff-list-page-template" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24900</link>
			<pubDate>Fri, 22 Nov 2013 09:49:23 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">24900@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks for following up! :-)
</p></description>
		</item>
		<item>
			<title>muligoweb on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24891</link>
			<pubDate>Thu, 21 Nov 2013 15:47:06 +0000</pubDate>
			<dc:creator>muligoweb</dc:creator>
			<guid isPermaLink="false">24891@http://www.themolitor.com/forums/</guid>
			<description><p>Sorry, already found (codex).Now everything is OK!!!</p>
<p>Thanks for the support</p>
<p>Regards,</p>
<p>Ligo
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24890</link>
			<pubDate>Thu, 21 Nov 2013 15:30:11 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">24890@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>The order is restricted to what WordPress allows. All details and options available are posted here: <a href="http://codex.wordpress.org/Function_Reference/get_users" rel="nofollow">http://codex.wordpress.org/Function_Reference/get_users</a></p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>muligoweb on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24887</link>
			<pubDate>Thu, 21 Nov 2013 13:44:24 +0000</pubDate>
			<dc:creator>muligoweb</dc:creator>
			<guid isPermaLink="false">24887@http://www.themolitor.com/forums/</guid>
			<description><p>He Chris,</p>
<p>Thanks for ythe help. Yep, with the exclude it's work!!!</p>
<p>But i would like to start by the chief, assistant, then others. Any idea?</p>
<p>Rgds,</p>
<p>Ligo
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24881</link>
			<pubDate>Thu, 21 Nov 2013 11:08:24 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">24881@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>The only way to do that is to manually exclude via the user(s) ID. For example, say we have two users with IDs 2 and 5. We can exclude them by changing the following on line 24 of staff.php from this...</p>
<pre><code>$blogusers = get_users(&#039;orderby=registered&#38;who=authors&#039;);</code></pre>
<p>...to this...</p>
<pre><code>$blogusers = get_users(&#039;orderby=registered&#38;who=authors&#38;exclude=2,5&#039;);</code></pre>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>muligoweb on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-24873</link>
			<pubDate>Thu, 21 Nov 2013 10:18:11 +0000</pubDate>
			<dc:creator>muligoweb</dc:creator>
			<guid isPermaLink="false">24873@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris,</p>
<p>So, how i can i limit my authors. As said "zdmckee",sometimes Admin doesnt post anything and then on the page it's not friendly. For eg, on my blog, there are 7 authors, 3 editors and 2 admins. With your "astuce, all the authors are included.</p>
<p>I tried to use this code but nothing can changed:</p>
<p>&#60;?php<br />
$excluded = "2, 5, 7, 6"; // to excl. some authors.<br />
$sql = 'SELECT DISTINCT display_name,ID FROM '.$wpdb-&#62;users. ' WHERE ID NOT IN ('.$excluded.') ORDER BY display_name';<br />
$authors = $wpdb-&#62;get_results($sql);<br />
if($authors):<br />
foreach($authors as $author):<br />
?&#62;</p>
<p>So, can you help me, please?</p>
<p>Thanks.
</p></description>
		</item>
		<item>
			<title>zdmckee on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-15930</link>
			<pubDate>Thu, 15 Nov 2012 12:29:00 +0000</pubDate>
			<dc:creator>zdmckee</dc:creator>
			<guid isPermaLink="false">15930@http://www.themolitor.com/forums/</guid>
			<description><p>I'm with 207Rewind. There needs to be a way to select if you want that author displayed or not. What if you have an admin that doesn't post anything. They don't need to be included on the staff page.
</p></description>
		</item>
		<item>
			<title>207Rewind on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-10472</link>
			<pubDate>Tue, 29 May 2012 17:57:00 +0000</pubDate>
			<dc:creator>207Rewind</dc:creator>
			<guid isPermaLink="false">10472@http://www.themolitor.com/forums/</guid>
			<description><p>Is there a way to limit what staff members are displayed on the "Staff Page"
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "FAQ - Controlling Order of Users on Staff List Page Template"</title>
			<link>http://www.themolitor.com/forums/topic/controlling-order-of-users-on-staff-list-page-template#post-10273</link>
			<pubDate>Tue, 22 May 2012 10:00:26 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">10273@http://www.themolitor.com/forums/</guid>
			<description><p>The order of users on the staff list is controlled from the "staff.php" page template. You'll see the following on line 24...</p>
<pre><code>$blogusers = get_users(&#039;orderby=registered&#38;who=authors&#039;);</code></pre>
<p>...you can see where it says orderby=registered. You can change the "registered" text to any of the following options...</p>
<ul>
<li>nicename</li>
<li>email</li>
<li>url</li>
<li>registered</li>
<li>display_name</li>
<li>post_count</li>
</ul>
<p>For more information, please review this official codex page: <a href="http://codex.wordpress.org/Function_Reference/get_users" rel="nofollow">http://codex.wordpress.org/Function_Reference/get_users</a>
</p></description>
		</item>

	</channel>
</rss>
