<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: pagebar</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: pagebar</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 05:39:06 +0000</pubDate>

<item>
<title>RVoodoo on "[Plugin: pagebar]Conflict with rss feed (or powerpress)"</title>
<link>http://wordpress.org/support/topic/331466#post-1280301</link>
<pubDate>Fri, 13 Nov 2009 17:07:56 +0000</pubDate>
<dc:creator>RVoodoo</dc:creator>
<guid isPermaLink="false">1280301@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've been using the pagebar plugin for a long time.  I've also been using the Powerpress plugin for podcasting.  It appears there is some kind of conflict involving permalinks.  With pagebar active, my feed/podcasting rss feed returns a not found error.  After much trial and error, I've found that deactivating pagebar and resetting my permalinks fixes the problem.  But, if I reactivate pagebar, it kills my podcast feed again, and I have to reset.  Too bad, I like pagebar, but I need my feed!&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/pagebar/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/pagebar/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>vatuma on "[Plugin: pagebar] "All" link is absent"</title>
<link>http://wordpress.org/support/topic/330324#post-1276533</link>
<pubDate>Tue, 10 Nov 2009 17:48:21 +0000</pubDate>
<dc:creator>vatuma</dc:creator>
<guid isPermaLink="false">1276533@http://wordpress.org/support/</guid>
<description>&#60;p&#62;&#34;All&#34; link is not displayed in some cases.&#60;br /&#62;
To fix this replace in file class-basebar.php at line 195&#60;br /&#62;
&#60;code&#62;echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;&#60;/code&#62; with &#60;code&#62;$this-&#38;gt;div_end();&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/pagebar/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/pagebar/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>scrybbler on "[Plugin: pagebar] Problems with the "break comments in pages" when Pagebar2 is active"</title>
<link>http://wordpress.org/support/topic/293182#post-1262118</link>
<pubDate>Wed, 28 Oct 2009 17:00:55 +0000</pubDate>
<dc:creator>scrybbler</dc:creator>
<guid isPermaLink="false">1262118@http://wordpress.org/support/</guid>
<description>&#60;p&#62;yeah, not real happy with pagebar right now. it seems to kill all javascript on the Edit Post page in 2.8.5 (running PB2.55). I've removed it and emailed the author. no response yet but it's only been 3 days.
&#60;/p&#62;</description>
</item>
<item>
<title>matsubo on "[Plugin: pagebar] Add rel attribute with next value in the next page anchor tag."</title>
<link>http://wordpress.org/support/topic/313437#post-1220056</link>
<pubDate>Tue, 22 Sep 2009 01:53:37 +0000</pubDate>
<dc:creator>matsubo</dc:creator>
<guid isPermaLink="false">1220056@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thank you for developing great plugin.&#60;/p&#62;
&#60;p&#62;I have suggestion for this plugin to enhance usability.&#60;/p&#62;
&#60;p&#62;To support autopagerize scheme, add rel=&#34;next&#34; tag on the next page href link.&#60;br /&#62;
autopagerize: &#60;a href=&#34;http://userscripts.org/scripts/show/8551&#34; rel=&#34;nofollow&#34;&#62;http://userscripts.org/scripts/show/8551&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/pagebar/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/pagebar/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Illi-Pro on "[Plugin: pagebar] Problems with the "break comments in pages" when Pagebar2 is active"</title>
<link>http://wordpress.org/support/topic/293182#post-1153732</link>
<pubDate>Tue, 28 Jul 2009 09:57:25 +0000</pubDate>
<dc:creator>Illi-Pro</dc:creator>
<guid isPermaLink="false">1153732@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Well.. also i discovered this plugin have another big bug.. it make your blog very slow becouse use like 30 querys more than the normal.. Btw, i recommend to use WP-PageNavi ;)
&#60;/p&#62;</description>
</item>
<item>
<title>Illi-Pro on "[Plugin: pagebar] Problems with the "break comments in pages" when Pagebar2 is active"</title>
<link>http://wordpress.org/support/topic/293182#post-1149397</link>
<pubDate>Fri, 24 Jul 2009 04:23:43 +0000</pubDate>
<dc:creator>Illi-Pro</dc:creator>
<guid isPermaLink="false">1149397@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello friends, i want to report a problem.. with the last version of pagebar 2.5.2 (http://wordpress.org/extend/plugins/pagebar/) and WordPress 2.8.1, if the plugin is active, in the discussion options page (http://yourblog/wp-admin/options-discussion.php) you can't unselect the option of &#34;break comments in pages with 50 comments....&#34;.&#60;/p&#62;
&#60;p&#62;This is a big problem because, in the posts that you have a lot of comments, the permalinks of your comments make larger (www.illi-pro.com/article-example/comment-page1/#comment-2515)&#60;/p&#62;
&#60;p&#62;If you can fix it, it would be great! Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>truetrev on "Pagebar plugin in 2.7 ruining my site"</title>
<link>http://wordpress.org/support/topic/246942#post-996367</link>
<pubDate>Tue, 24 Feb 2009 07:45:06 +0000</pubDate>
<dc:creator>truetrev</dc:creator>
<guid isPermaLink="false">996367@http://wordpress.org/support/</guid>
<description>&#60;p&#62;My site is breaking at the pagebar plugin point in my template. When I have the pagebar active my site doesnt even load an endless loop keeps going on and on. When I deactivate the pagebar plugin the site loads but stops at the pagebar point near the footer (see: &#60;a href=&#34;http://70.32.94.182/&#34; rel=&#34;nofollow&#34;&#62;http://70.32.94.182/&#60;/a&#62;). When I remove the pagebar code from index the site refuses to load as well. I can't seem to figure it out hellllllp.&#60;/p&#62;
&#60;p&#62;CODE:&#60;br /&#62;
INDEX.PHP&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php get_header(); ?&#38;gt;

&#38;lt;!-- Main Column --&#38;gt;
&#38;lt;?php include (TEMPLATEPATH . &#38;#39;/leftbar.php&#38;#39;); ?&#38;gt;
&#38;lt;div id=&#38;quot;main&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;template_url&#38;#39;); ?&#38;gt;/images/blog.gif&#38;quot; alt=&#38;quot;&#38;quot; width=&#38;quot;420&#38;quot; height=&#38;quot;10&#38;quot; /&#38;gt;&#38;lt;div id=&#38;quot;content&#38;quot;&#38;gt;&#38;lt;div id=&#38;quot;primarycontainer&#38;quot;&#38;gt;

&#38;lt;?php if (have_posts()) : ?&#38;gt;&#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;

&#38;lt;?php if(function_exists(&#38;#39;cmd_show_avatar&#38;#39;)){ cmd_show_avatar(); } ?&#38;gt;&#38;lt;h1&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; title=&#38;quot;&#38;lt;?php the_title(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(&#38;#39;&#38;lt;h2&#38;gt;&#38;#39;, &#38;#39;&#38;lt;/h2&#38;gt;&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;span class=&#38;quot;sub&#38;quot;&#38;gt;Author: &#38;lt;b&#38;gt;&#38;lt;?php the_author() ?&#38;gt; &#38;lt;/b&#38;gt; &#124;&#124;  &#38;lt;/span&#38;gt;
          &#38;lt;span class=&#38;quot;sub&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;d. F Y&#38;#39;) ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;lt;br /&#38;gt;

&#38;lt;div class=&#38;quot;contentarea&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;entry&#38;quot;&#38;gt;&#38;lt;?php the_content(&#38;#39;Read More &#38;amp;raquo;&#38;#39;); ?&#38;gt;&#38;lt;/div&#38;gt;

                          &#38;lt;div style=&#38;quot;text-align:right&#38;quot;&#38;gt;
                            &#38;lt;p&#38;gt;&#38;lt;span class=&#38;quot;minihead_news&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permalink&#38;quot;&#38;gt;Permalink&#38;lt;/a&#38;gt; &#124; &#38;lt;?php comments_popup_link(&#38;#39;Add A Comment&#38;#39;, &#38;#39;1 Comment&#38;#39;, &#38;#39;% Comments&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/p&#38;gt;    &#38;lt;/div&#38;gt;
                       &#38;lt;/div&#38;gt;
				&#38;lt;div class=&#38;quot;divider2&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;

				&#38;lt;?php endwhile; ?&#38;gt;
                &#38;lt;div style=&#38;quot;margin-bottom:10px;&#38;quot;&#38;gt;
				 &#38;lt;?php wp_pagebar(array(&#38;#39;before&#38;#39;=&#38;gt;&#38;#39;Pages: &#38;#39;))?&#38;gt;&#38;lt;/div&#38;gt;
				 &#38;lt;div class=&#38;quot;divider2&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
				&#38;lt;p&#38;gt;&#38;lt;a href=&#38;quot;#&#38;quot;&#38;gt;Contact&#38;lt;/a&#38;gt; &#124; &#38;amp;copy; Copyright by &#38;lt;?php bloginfo(&#38;#39;name&#38;#39;); ?&#38;gt;. Design by &#38;lt;a href=&#38;quot;http://www.eatskeet.com&#38;quot; target=&#38;quot;blank&#38;quot; &#38;gt;DJ Skeet Skeet&#38;lt;/a&#38;gt;.&#38;lt;/p&#38;gt;&#38;lt;br /&#38;gt;
				&#38;lt;?php else : ?&#38;gt;

				&#38;lt;h2 class=&#38;quot;center&#38;quot;&#38;gt;Not Found&#38;lt;/h2&#38;gt;
				&#38;lt;p class=&#38;quot;center&#38;quot;&#38;gt;Sorry, but you are looking for something that isn&#38;#39;t here.&#38;lt;/p&#38;gt;
				&#38;lt;?php endif; ?&#38;gt;

				&#38;lt;!-- Primary content area end --&#38;gt;

		&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;
  &#38;lt;br /&#38;gt;

&#38;lt;?php get_footer(); ?&#38;gt;

&#38;lt;?php get_sidebar(); ?&#38;gt;
&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;/body&#38;gt;
&#38;lt;/html&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;PAGEBAR PLUGIN CODE&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;-------------------------------------------------------------------------------------------- */
function pb_transit($place) {
	global $pbOptions;

	if ($place &#38;gt; 0)
		echo &#38;#39;&#38;lt;span class=&#38;quot;break&#38;quot;&#38;gt;&#38;#39;;
	echo $pbOptions [&#38;quot;connect&#38;quot;] !== &#38;quot;&#38;quot; ? $pbOptions [&#38;quot;connect&#38;quot;] : &#38;#39;...&#38;#39;;
	echo &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
}
// -----------------------------------------------------------------------------
function pb_replaceFirstLast($page) {
	global $pbOptions, $max_page;
	switch ( $page) {
		case 1 :
			return $pbOptions [&#38;#39;first&#38;#39;];
		case $max_page :
			return $pbOptions [&#38;#39;last&#38;#39;];
		default :
			return $page;
	}
}
// -----------------------------------------------------------------------------
function pb_tagReplace($text,$page) {
	global $max_page;

	$text = str_replace ( &#38;quot;{page}&#38;quot;, $page, $text );
	$text = str_replace ( &#38;quot;{current}&#38;quot;, $page, $text );
	$text = str_replace ( &#38;quot;{total}&#38;quot;, $max_page, $text );
	return $text;
}
// -----------------------------------------------------------------------------
// display tooltips
function pb_tooltip($page) {
	global $pbOptions;
	if ($pbOptions [&#38;quot;tooltips&#38;quot;])
		return &#38;#39; title=&#38;quot;&#38;#39; . pb_tagReplace ( $pbOptions [&#38;quot;tooltipText&#38;quot;], $page ) . &#38;#39;&#38;quot;&#38;#39;;
	return &#38;quot;&#38;quot;;
}
// -----------------------------------------------------------------------------
function page($page) {

	echo pb_tagReplace ( &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . get_pagenum_link ( $page ) . &#38;#39;&#38;quot;&#38;#39; . pb_tooltip ( $page ) . &#38;#39;&#38;gt;&#38;#39; . pb_replaceFirstLast ( $page ) . &#38;quot;&#38;lt;/a&#38;gt;\n&#38;quot;, $page );
}
// -----------------------------------------------------------------------------
function pb_thisPage($page) {

	echo pb_tagReplace ( &#38;#39;&#38;lt;span class=&#38;quot;this-page&#38;quot;&#38;gt;&#38;#39; . pb_replaceFirstLast ( $page ) . &#38;quot;&#38;lt;/span&#38;gt;\n&#38;quot;, $page );
}
// -----------------------------------------------------------------------------
function pb_previousPage($paged) {
	global $pbOptions;

	if ($pbOptions [&#38;quot;pdisplay&#38;quot;] == &#38;quot;never&#38;quot;)
		return;

	if (($paged == 1) &#38;#38;&#38;#38; ($pbOptions [&#38;quot;pdisplay&#38;quot;] == &#38;quot;auto&#38;quot;))
		return;

	$text = $pbOptions [&#38;quot;prev&#38;quot;];
	echo ($paged == 1) ? &#38;#39;&#38;lt;span class=&#38;quot;inactive&#38;quot;&#38;gt;&#38;#39; . $text . &#38;quot;&#38;lt;/span&#38;gt;\n&#38;quot; : &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . get_pagenum_link ( $paged - 1 ) . &#38;#39;&#38;quot;&#38;#39; . pb_tooltip ( $paged - 1 ) . &#38;#39;&#38;gt;&#38;#39; . $text . &#38;quot;&#38;lt;/a&#38;gt;\n&#38;quot;;
}
// -----------------------------------------------------------------------------
function pb_nextPage($paged,$max_page) {
	global $pbOptions;

	if ($pbOptions [&#38;quot;pdisplay&#38;quot;] == &#38;quot;never&#38;quot;)
		return;
	if (($paged == $max_page) &#38;#38;&#38;#38; ($pbOptions [&#38;quot;ndisplay&#38;quot;] == &#38;quot;auto&#38;quot;))
		return;
	$text = $pbOptions [&#38;quot;next&#38;quot;];
	echo ($paged == $max_page) ? &#38;#39;&#38;lt;span class=&#38;quot;inactive&#38;quot;&#38;gt;&#38;#39; . $text . &#38;quot;&#38;lt;/span&#38;gt;\n&#38;quot; : &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . get_pagenum_link ( $paged + 1 ) . &#38;#39;&#38;quot;&#38;#39; . pb_tooltip ( $paged + 1 ) . &#38;#39;&#38;gt;&#38;#39; . $text . &#38;quot;&#38;lt;/a&#38;gt;\n&#38;quot;;
}
// -----------------------------------------------------------------------------

// -----------------------------------------------------------------------------

function wp_pagebar() {
	global $paged, $wp_query, $pbOptions, $max_page,$dir;

	if ($wp_query-&#38;gt;is_feed) // no need for pagebar in feed
		return;

  if (is_admin())
    return;   // since WP2.5 got it&#38;#39;s own admin pagebar

	$showAll = 0;
	$left = $pbOptions [&#38;quot;left&#38;quot;];
	$center = $pbOptions [&#38;quot;center&#38;quot;];
	$right = $pbOptions [&#38;quot;right&#38;quot;];

	if (is_single () &#124;&#124; is_page ()) //no need to display pagebar on a single post page
		return;

	$max_page = $wp_query-&#38;gt;max_num_pages; // get number of pages. ONLY WP &#38;gt;= 2.1!!!

	if ($max_page &#38;lt;= 1) // only one page -&#38;gt; don&#38;#39;t display pagebar
		return;

	if (empty ( $paged )) // If we&#38;#39;re on the first page the var $paged is not set.
		$paged = 1;

	echo &#38;quot;&#38;lt;!-- pb221 --&#38;gt;&#38;quot;;
	echo &#38;#39;&#38;lt;div class=&#38;quot;pagebar&#38;quot;&#38;gt;&#38;#39;;

	echo pb_tagReplace ( $pbOptions [&#38;quot;pbText&#38;quot;], $paged ) . &#38;#39;&#38;amp;nbsp;&#38;#39;;

	// it&#38;#39;s easy to show all page numbers:
	// simply loop and  exit
	if (($showAll) &#124;&#124; ($max_page &#38;lt;= $left + $center + $right)) {
		pb_previousPage ( $paged );
		for($i = 1; $i &#38;lt;= $max_page; $i ++)
			if ($i == $paged)
				pb_thisPage ( $i ); else
				page ( $i );
		pb_nextPage ( $paged, $max_page );
		echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
		return;
	} //if

	// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	// left and right
	if ($paged &#38;lt; $left + $center) {
		//left
		pb_previousPage ( $paged );
		$lc = $left + $center;
		for($i = 1; $i &#38;lt;= ($lc); $i ++)
			if ($i == $paged)
				pb_thisPage ( $i ); else
				page ( $i );

		// right
		pb_transit ( $right );
		for($i = $max_page - $right + 1; $i &#38;lt;= $max_page; $i ++)
			page ( $i );
		pb_nextPage ( $paged, $max_page );
	} else 

	// left, right and center
	if (($paged &#38;gt;= $left + $center) &#38;#38;&#38;#38; ($paged &#38;lt; $max_page - $right - $center + 1)) {
		//left
		pb_previousPage ( $paged );
		for($i = 1; $i &#38;lt;= $left; $i ++)
			page ( $i );
		pb_transit ( $left );

		//center
		$c = floor ( $center / 2 );
		for($i = $paged - $c; $i &#38;lt;= $paged + $c; $i ++)
			if ($i == $paged)
				pb_thisPage ( $i ); else
				page ( $i );

		// right
		pb_transit ( $right );
		for($i = $max_page - $right + 1; $i &#38;lt;= $max_page; $i ++)
			page ( $i );
		pb_nextPage ( $paged, $max_page );
	} else 

	// only left and right
	{
		//left
		pb_previousPage ( $paged );
		for($i = 1; $i &#38;lt;= $left; $i ++)
			page ( $i );
		pb_transit ( $left );

		// right
		for($i = $max_page - $right - $center; $i &#38;lt;= $max_page; $i ++)
			if ($i == $paged)
				pb_thisPage ( $i ); else
				page ( $i );
		pb_nextPage ( $paged, $max_page );
	}

	echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;

} //function

/* --------------------------------------------------------------------------- */
function pb_admin_menu() {
  global $dir;

	if (function_exists ( &#38;#39;add_options_page&#38;#39; ))
		add_options_page ( &#38;#39;Pagebar&#38;#39;, &#38;#39;Pagebar&#38;#39;, &#38;#39;manage_options&#38;#39;, $dir.&#38;#39;/pboptions.php&#38;#39; );
}
/* ---------------------------------------------------------------------------- */
function pb_remove_nav() {
	if (! is_single ())
		echo &#38;quot;\n&#38;lt;style type=\&#38;quot;text/css\&#38;quot;&#38;gt;.navigation{display: none;}&#38;lt;/style&#38;gt;\n&#38;quot;;
}
/* ---------------------------------------------------------------------------- */
function pb_add_stylesheet() {
	global $pbOptions;

	if ($pbOptions [&#38;quot;stylesheet&#38;quot;] == &#38;quot;styleCss&#38;quot;)
		return;
	$url = get_bloginfo ( &#38;#39;stylesheet_directory&#38;#39; ) . &#38;#39;/&#38;#39; . $pbOptions [&#38;quot;cssFilename&#38;quot;];
	echo &#38;quot;\n\t&#38;lt;link rel=\&#38;quot;stylesheet\&#38;quot; href=\&#38;quot;&#38;quot; . $url . &#38;#39;&#38;quot; &#38;#39; . &#38;quot;type=\&#38;quot;text/css\&#38;quot; media=\&#38;quot;screen\&#38;quot; /&#38;gt;\n&#38;quot;;
}
/* ---------------------------------------------------------------------------- */
function pagebar_activate() {

	if (! get_option ( &#38;#39;pagebar&#38;#39; ))
		add_option ( &#38;#39;pagebar&#38;#39;, array (&#38;quot;left&#38;quot; =&#38;gt; 3, &#38;quot;center&#38;quot; =&#38;gt; 5, &#38;quot;right&#38;quot; =&#38;gt; 3, &#38;quot;pbText&#38;quot; =&#38;gt; &#38;quot;Pages:&#38;quot;, &#38;quot;remove&#38;quot; =&#38;gt; &#38;quot;on&#38;quot;, &#38;quot;standard&#38;quot; =&#38;gt; &#38;quot;{page}&#38;quot;, &#38;quot;current&#38;quot; =&#38;gt; &#38;quot;{page}&#38;quot;, &#38;quot;first&#38;quot; =&#38;gt; &#38;quot;{page}&#38;quot;, &#38;quot;last&#38;quot; =&#38;gt; &#38;quot;{page}&#38;quot;, &#38;quot;connect&#38;quot; =&#38;gt; &#38;quot;...&#38;quot;, &#38;quot;next&#38;quot; =&#38;gt; &#38;quot;Next&#38;quot;, &#38;quot;prev&#38;quot; =&#38;gt; &#38;quot;Prev&#38;quot;, &#38;quot;auto&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;tooltipText&#38;quot; =&#38;gt; &#38;quot;Page {page}&#38;quot;, &#38;quot;tooltips&#38;quot; =&#38;gt; &#38;quot;on&#38;quot;, &#38;quot;bef_loop&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;aft_loop&#38;quot; =&#38;gt; &#38;quot;on&#38;quot;, &#38;quot;footer&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;pdisplay&#38;quot; =&#38;gt; &#38;quot;auto&#38;quot;, &#38;quot;ndisplay&#38;quot; =&#38;gt; &#38;quot;auto&#38;quot;, &#38;quot;stylesheet&#38;quot; =&#38;gt; &#38;quot;styleCss&#38;quot;, &#38;quot;cssFilename&#38;quot; =&#38;gt; &#38;quot;pagebar.css&#38;quot; ) );

}
/* ---------------------------------------------------------------------------- */
function pagebar_init() {
	global $dir;
	load_plugin_textdomain ( &#38;#39;pagebar&#38;#39;, &#38;#39;wp-content/plugins/&#38;#39;.$dir.&#38;#39;/language&#38;#39; );
}

/* ---------------------------------------------------------------------------- */
function pb_load_jquery() {
  wp_enqueue_script ( &#38;#39;jquery&#38;#39; );
}
/* ---------------------------------------------------------------------------- */

{

  $pbOptions = get_option ( &#38;#39;pagebar&#38;#39; );
  $dir = (file_exists( ABSPATH . PLUGINDIR . &#38;#39;/pagebar2/pboptions.php&#38;#39;))?&#38;#39;pagebar2&#38;#39;:&#38;#39;pagebar&#38;#39;;

	add_action ( &#38;#39;activate_&#38;#39;.$dir.&#38;#39;/pagebar2.php&#38;#39;, &#38;#39;pagebar_activate&#38;#39; );
	add_action ( &#38;#39;init&#38;#39;, &#38;#39;pagebar_init&#38;#39; );
	add_action ( &#38;#39;admin_menu&#38;#39;, &#38;#39;pb_admin_menu&#38;#39;);
	add_action ( &#38;#39;wp_head&#38;#39;, &#38;#39;pb_add_stylesheet&#38;#39; );

	add_action ( &#38;#39;admin_print_scripts&#38;#39;, &#38;#39;pb_load_jquery&#38;#39; );

	if ($pbOptions [&#38;#39;auto&#38;#39;]) {
		if ($pbOptions [&#38;quot;bef_loop&#38;quot;] == &#38;quot;on&#38;quot;)
			add_action ( &#38;#39;loop_start&#38;#39;, &#38;#39;wp_pagebar&#38;#39; );
		if ($pbOptions [&#38;quot;aft_loop&#38;quot;] == &#38;quot;on&#38;quot;)
			add_action ( &#38;#39;loop_end&#38;#39;, &#38;#39;wp_pagebar&#38;#39; );
		if ($pbOptions [&#38;quot;footer&#38;quot;] == &#38;quot;on&#38;quot;)
			add_action ( &#38;#39;wp_footer&#38;#39;, &#38;#39;wp_pagebar&#38;#39; );
		if ($pbOptions [&#38;quot;remove&#38;quot;] == &#38;quot;on&#38;quot;)
			add_action ( &#38;#39;wp_head&#38;#39;, &#38;#39;pb_remove_nav&#38;#39; );
	}
} //main
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>osuns on "Navigation Problem of past entries using Mederka Theme"</title>
<link>http://wordpress.org/support/topic/95281#post-477721</link>
<pubDate>Sun, 26 Nov 2006 05:47:28 +0000</pubDate>
<dc:creator>osuns</dc:creator>
<guid isPermaLink="false">477721@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks so much for your reply!&#60;br /&#62;
After I have changed the line, I can navigate to the past entries through the pagebar now!&#60;br /&#62;
Thanks again for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>Kafkaesqui on "Navigation Problem of past entries using Mederka Theme"</title>
<link>http://wordpress.org/support/topic/95281#post-477687</link>
<pubDate>Sun, 26 Nov 2006 03:25:27 +0000</pubDate>
<dc:creator>Kafkaesqui</dc:creator>
<guid isPermaLink="false">477687@http://wordpress.org/support/</guid>
<description>&#60;p&#62;If you were to change this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;query_posts(&#38;#39;showposts=x&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;// query_posts(&#38;#39;showposts=x&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;what happens? If it's an error, please tell us a little more than that (like what the error says).
&#60;/p&#62;</description>
</item>
<item>
<title>osuns on "Navigation Problem of past entries using Mederka Theme"</title>
<link>http://wordpress.org/support/topic/95281#post-477379</link>
<pubDate>Sat, 25 Nov 2006 08:53:51 +0000</pubDate>
<dc:creator>osuns</dc:creator>
<guid isPermaLink="false">477379@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I am using &#60;a href=&#34;http://ikram-zidane.com/merdeka&#34;&#62;Mederka Theme&#60;/a&#62; and I want to add a Pagebar using Pagebar plugin to the loop template.&#60;br /&#62;
However, the loop comes with the &#34;query_posts('showposts=x');&#34; tag, I cannot delete it as otherwise error occurred.&#60;br /&#62;
The problem now is that the SAME page displayed no matter I go to what pages.&#60;br /&#62;
Any help is appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>lowray on "Pagebar"</title>
<link>http://wordpress.org/support/topic/87909#post-447653</link>
<pubDate>Wed, 20 Sep 2006 17:07:10 +0000</pubDate>
<dc:creator>lowray</dc:creator>
<guid isPermaLink="false">447653@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm trying to use the pagebar plugin and for some reason when installed it doesn't output any information. After &#34;dinking&#34; around with the PHP code a little, it appears that the $paged variable is empty on posts that have several pages.&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>lowray on "pagebar"</title>
<link>http://wordpress.org/support/topic/87894#post-447652</link>
<pubDate>Wed, 20 Sep 2006 17:06:19 +0000</pubDate>
<dc:creator>lowray</dc:creator>
<guid isPermaLink="false">447652@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm an ass - posted in the wrong group.
&#60;/p&#62;</description>
</item>
<item>
<title>lowray on "pagebar"</title>
<link>http://wordpress.org/support/topic/87894#post-447580</link>
<pubDate>Wed, 20 Sep 2006 13:46:59 +0000</pubDate>
<dc:creator>lowray</dc:creator>
<guid isPermaLink="false">447580@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm trying to use the pagebar plugin and for some reason when installed it doesn't output any information.  After &#34;dinking&#34; around with the PHP code a little, it appears that the $paged variable is empty on posts that have several pages.&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
