<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: Blog posts not appearing in listing</title>
		<link>http://www.kriesi.at/support/topic/blog-posts-not-appearing-in-listing</link>
		<description>Support Forum - Topic: Blog posts not appearing in listing</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 22:38:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/blog-posts-not-appearing-in-listing" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Blog posts not appearing in listing"</title>
			<link>http://www.kriesi.at/support/topic/blog-posts-not-appearing-in-listing#post-19510</link>
			<pubDate>Fri, 20 May 2011 06:15:52 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19510@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that you solved the problem :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>resave on "Blog posts not appearing in listing"</title>
			<link>http://www.kriesi.at/support/topic/blog-posts-not-appearing-in-listing#post-19483</link>
			<pubDate>Thu, 19 May 2011 22:25:03 +0000</pubDate>
			<dc:creator>resave</dc:creator>
			<guid isPermaLink="false">19483@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Found it now - needed to switch between databases
&#60;/p&#62;</description>
		</item>
		<item>
			<title>resave on "Blog posts not appearing in listing"</title>
			<link>http://www.kriesi.at/support/topic/blog-posts-not-appearing-in-listing#post-19270</link>
			<pubDate>Mon, 16 May 2011 22:04:36 +0000</pubDate>
			<dc:creator>resave</dc:creator>
			<guid isPermaLink="false">19270@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;When you look on &#60;a href=&#34;http://www.resave.co.uk/&#34; rel=&#34;nofollow&#34;&#62;http://www.resave.co.uk/&#60;/a&#62; you see on the right hand side under &#34;ReSave blog&#34; an excerpt from a post.&#60;/p&#62;
&#60;p&#62;On &#60;a href=&#34;http://www.resave.co.uk/compare-gas-price/&#34; rel=&#34;nofollow&#34;&#62;http://www.resave.co.uk/compare-gas-price/&#60;/a&#62; if you look the excerpt does not appear.  This page is a PHP template I have created by taking the code from an existing Broadscope template and adding my custom code in the middle.&#60;/p&#62;
&#60;p&#62;I wonder if I have missed something in copying it over that is causing it not to work?  Here is the header code I have used:&#60;/p&#62;
&#60;p&#62; &#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Template Name: Compare&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;//	$db_handle=mysql_connect('46.252.192.220','resaveadmin','Xpanding9') or die(&#34;Unable to connect to database&#34;);&#60;br /&#62;
//	@mysql_select_db(&#34;reminders&#34;) or die(&#34;Unable to select database $DBName&#34;);&#60;/p&#62;
&#60;p&#62;global $avia_config;&#60;/p&#62;
&#60;p&#62;	/*&#60;br /&#62;
	 *  if the user wants to display a blog on that page do so by&#60;br /&#62;
	 *  calling the blog template and then exit the script&#60;br /&#62;
	 */&#60;br /&#62;
if(isset($avia_config['new_query'])) { query_posts($avia_config['new_query']); }&#60;/p&#62;
&#60;p&#62;	/*&#60;br /&#62;
	*  check if this page was set as a portfolio page by the user&#60;br /&#62;
	*  in the theme portfolio options&#60;br /&#62;
 	*/&#60;/p&#62;
&#60;p&#62;	if($portfolios = avia_get_option('avia, portfolio'))&#60;br /&#62;
	{&#60;br /&#62;
		if(!empty($portfolios[0]['portfolio_page']) &#38;amp;&#38;amp; !empty($portfolios[0]['portfolio_cats']))&#60;br /&#62;
		{&#60;br /&#62;
			foreach($portfolios as $portfolio)&#60;br /&#62;
			{&#60;br /&#62;
				if(is_page($portfolio['portfolio_page']))&#60;br /&#62;
				{&#60;br /&#62;
					$avia_config['new_query'] = array(&#34;paged&#34; =&#38;gt; get_query_var( 'paged' ), &#34;posts_per_page&#34;=&#38;gt;-1, 'tax_query' =&#38;gt; array( array( 'taxonomy' =&#38;gt; 'portfolio_entries', 'field' =&#38;gt; 'id', 'terms' =&#38;gt; explode(',', $portfolio['portfolio_cats']) , 'operator' =&#38;gt; 'IN')));&#60;br /&#62;
					get_template_part( 'template', 'portfolio' ); exit();&#60;br /&#62;
				}&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/*&#60;br /&#62;
	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.&#60;br /&#62;
	 */&#60;br /&#62;
	 get_header();&#60;/p&#62;
&#60;p&#62;	?&#38;gt;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
