<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WP Engineer &#187; Admin</title>
	<atom:link href="http://wpengineer.com/tag/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com</link>
	<description>WordPress News, Hacks, Tips, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Mon, 21 May 2012 22:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WP Admin Bar with Developer Informations</title>
		<link>http://wpengineer.com/2061/wp-admin-bar-with-developer-informations/</link>
		<comments>http://wpengineer.com/2061/wp-admin-bar-with-developer-informations/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 09:19:49 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp3.1]]></category>

		<guid isPermaLink="false">http://wpengineer.com/?p=2061</guid>
		<description><![CDATA[Not visible right now, but the Admin Bar, which will be available in version 3.1, provides additional information for developers and bug hunters. The Admin Bar is not final at all, so there will be more changes to come, but I'm happy to see, that it will support the developers and administrators on a daily [...]]]></description>
			<content:encoded><![CDATA[<p>Not visible right now, but the <a href="http://wpengineer.com/2057/wordpress-3-1-admin-bar/">Admin Bar</a>, which will be available in version 3.1, provides additional information for developers and bug hunters. The Admin Bar is not final at all, so there will be more changes to come, but I'm happy to see, that it will support the developers and administrators on a daily base.<br />
<span id="more-2061"></span><br />
Below you can see some screenshots with the information the Admin Bar will provide. Until now you were only able to get these information with your own function or via <a href="http://wordpress.org/extend/plugins/debug-objects/">Plugins</a>. WordPress supports since a while now, that you can get useful content as a developer, for example the content of your cache, via variable <code>$wp_object_cache</code>.</p>
<p><a href="http://wpengineer.com/wp-content/uploads/wp_admin_bar_debug1.png"><img src="http://wpengineer.com/wp-content/uploads/wp_admin_bar_debug1-300x218.png" alt="" title="wp_admin_bar_debug" width="300" height="218" class="aligncenter size-medium wp-image-2063" /></a></p>
<p><a href="http://wpengineer.com/wp-content/uploads/wp_admin_bar_debug.png"><img src="http://wpengineer.com/wp-content/uploads/wp_admin_bar_debug-300x215.png" alt="" title="wp_admin_bar_debug" width="300" height="215" class="aligncenter size-medium wp-image-2062" /></a></p>
<p>If you like to see this content, you should implement the following code either in your <code>functions.php</code> of your active Theme or in a Plugin. This snippet doesn't have a query for Admin or Frontend, so it will show up all the time. Therefore you might want to adjust the code ( <code>if ( !is_admin() )</code> ).</p>
<pre>
function display_debug_admin_bar() {

	echo &#039;&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;#querylist { display:block !important; }&lt;/style&gt;&#039;;
}
add_action( &#039;wp_head&#039;, &#039;display_debug_admin_bar&#039; ); // for frontend
add_action( &#039;admin_head&#039;, &#039;display_debug_admin_bar&#039; ); // for backend-area
</pre>
<p>I'm looking forward to see the final version of the Admin Bar, so far very interesting and useful, especially for developers.<br />
<hr /><a href="http://wpplugins.com/plugin/281/snippets" title="More informations about this plugin for WordPress"><img src="http://wpengineer.com/wp-content/themes/wpe-3/images/snippets-125-125.png" height="90" alt="WordPress Snippet Plugin" /></a> <a href="http://xtreme-theme.com"><img src="http://wpengineer.com/wp-content/uploads/feed-banner-2.jpg" alt="Xtreme One WordPress Framework"/></a><br />
&copy; <a href="http://wpengineer.com/">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpengineer.com/2061/wp-admin-bar-with-developer-informations/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Change Admin Pagination on Posts, Pages and Comments</title>
		<link>http://wpengineer.com/1030/change-admin-pagination-on-posts-pages-and-comments/</link>
		<comments>http://wpengineer.com/1030/change-admin-pagination-on-posts-pages-and-comments/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 10:53:39 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>
		<category><![CDATA[wp2.8]]></category>

		<guid isPermaLink="false">http://wpengineer.com/?p=1030</guid>
		<description><![CDATA[One or the other users in the backend of WordPress find it quite disturbing that not more than 20 articles, pages and comments per page gets listed. Especially if you work with many tables and you have a fast connection, then an increased number of listed articles, pages, comments is useful. How to adapt and [...]]]></description>
			<content:encoded><![CDATA[<p>One or the other users in the backend of WordPress find it quite disturbing that not more than 20 articles, pages and comments per page gets listed. Especially if you work with many tables and you have a fast connection, then an increased number of listed articles, pages, comments is useful. How to adapt and with a little CSS getting the best presentation I will show now, here are some tips.<br />
<span id="more-1030"></span></p>
<h3>As of WordPress version 2.8</h3>
<p>With WordPress 2.8 comes a new value in the user's options for each page in the backend. This allows each user to extend the number of listed pages, articles and comments per page. If you like to solve it also in advance of WordPress 2.8, then the following syntax helps.</p>
<p><img src="http://wpengineer.com/wp-content/uploads/posts_per_page.png" alt="posts_per_page" title="posts_per_page" width="371" height="186" class="aligncenter size-full wp-image-1031" /></p>
<h3>Alternative Plugin</h3>
<p>You should embed the syntax in a Plugin.<br />
I am purposely not providing a Plugin, because the support of my existing solutions is already overwhelming. So it is rather as a basis for people who want to start here and as a memory for me when I need it again.</p>
<p>Some comments I have directly written down in the source code, so it is understandable. Also I do upload a CSS file, the content can be found at the end, which changes the design a little bit and create a better overview of the large number of entries.</p>
<p><img src="http://wpengineer.com/wp-content/uploads/posts_per_page2.png" alt="posts_per_page2" title="posts_per_page2" width="406" height="258" class="aligncenter size-full wp-image-1032" /></p>
<pre lang="php">
// value for posts
define( &#039;FB_CAP_PER_POST&#039;, 100 );
// value for pages
define( &#039;FB_CAP_PER_PAGE&#039;, 100 );
// value for comments
define( &#039;FB_CAP_PER_COMMENT&#039;, 100 );

// only in admin area
if ( is_admin() ) {
	global $pagenow;

	if ( $pagenow == &#039;edit-pages.php&#039; ) {
		add_filter( &#039;manage_pages_query&#039;, &#039;page_ChangeAdminPagination&#039; );
		add_action( &#039;admin_print_styles&#039;, &#039;AddMyStylesheet&#039; );
	}
	if ( $pagenow == &#039;edit.php&#039; ) {
		add_action( &#039;admin_head&#039;, &#039;post_ChangeAdminPagination&#039; );
		add_action( &#039;admin_print_styles&#039;, &#039;AddMyStylesheet&#039; );
	}
	if ( $pagenow == &#039;edit-comments.php&#039; )
		add_filter( &#039;comments_per_page&#039;, &#039;comment_ChangeAdminPagination&#039; );
}

function post_ChangeAdminPagination() {
	global $wp_query;

	if ( $wp_query-&gt;query_vars&#091;s&#093; == &#039;&#039; ) {
		$per_post = (int) FB_CAP_PER_POST;
		$wp_query-&gt;query( &#039;showposts=&#039; . $per_post );
	}
}

function page_ChangeAdminPagination($query) {
	global $per_page;

	$per_page = (int) FB_CAP_PER_PAGE;
	//$query&#091;&#039;posts_per_page&#039;&#093; = $per_page;
	$query&#091;&#039;posts_per_archive_page&#039;&#093; = $per_page;

	return $query;
}

function comment_ChangeAdminPagination($count) {

	$per_comment = (int) FB_CAP_PER_COMMENT;

	return $per_comment;
}

function AddMyStylesheet() {

		$myStyleFile = WP_PLUGIN_URL . &#039;/change_admin_pagination/css/style.css&#039;;
		wp_register_style( &#039;change_admin_pagination&#039;, $myStyleFile );
		wp_enqueue_style( &#039;change_admin_pagination&#039;);
}
</pre>
<p>The following content is intended only to that area for editing the page or next to the entry contribution is shown. Thus, the line is smaller and has more entries available to view.</p>
<pre lang="css">
/**
 * style for smaller tables in admin of WordPress
 * @author Frank Bültge
 * @date 01.04.2009 20:51:59
 */
.post-title strong {
	float: left;
}

.row-actions {
	float: left;
	margin-left: 1% !important;
}

.check-column, tr td {
	padding-bottom: 0 !important;
}

.column-date {
	width: 15% !important;
}

td.date {
	font-size: .6em;
}

td.date abbr {
	float: right;
}
</pre>
<hr /><a href="http://wpplugins.com/plugin/281/snippets" title="More informations about this plugin for WordPress"><img src="http://wpengineer.com/wp-content/themes/wpe-3/images/snippets-125-125.png" height="90" alt="WordPress Snippet Plugin" /></a> <a href="http://xtreme-theme.com"><img src="http://wpengineer.com/wp-content/uploads/feed-banner-2.jpg" alt="Xtreme One WordPress Framework"/></a><br />
&copy; <a href="http://wpengineer.com/">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpengineer.com/1030/change-admin-pagination-on-posts-pages-and-comments/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

