<?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 - Tag: pages instead of posts - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/pages-instead-of-posts</link>
		<description>Support Forum - Tag: pages instead of posts - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 13:08:55 +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/tags/pages-instead-of-posts" rel="self" type="application/rss+xml" />

		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29236</link>
			<pubDate>Tue, 11 Oct 2011 15:54:43 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29236@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK...after several hours have solved the problem...&#60;/p&#62;
&#60;p&#62;In the template_fullwidth.php file, delete everything between these two lines:&#60;/p&#62;
&#60;p&#62;echo &#34;&#38;lt;div id='feature_wrap'&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;echo &#34;&#38;lt;/div&#38;gt;&#38;lt;!-- end featuredwrap --&#38;gt;&#34;;  &#60;/p&#62;
&#60;p&#62;Not sure that is 100% correct coding, but it works.  The distorted top preview photo is gone from the page view, while the Featured Image still appears in the slider, correctly linked to the page.&#60;/p&#62;
&#60;p&#62;This is the correct formatting of the code to include both posts and pages in the slider:&#60;/p&#62;
&#60;p&#62;$additional_loop =  new WP_Query(array('post_type' =&#38;gt; array( 'post', 'page' ), 'posts_per_page' =&#38;gt; 5, 'post__in' =&#38;gt; array(37,50,54,30,32)));&#60;/p&#62;
&#60;p&#62;As noted by Dude, the array numbers at the end of the line represent the numbers of your page.  Change the order of the numbers to change the order of display in the slider.&#60;/p&#62;
&#60;p&#62;I found that you need to make any posts that you want to appear in the slider Stickies, otherwise they won't show up.  Don't know why, but that is what is needed.&#60;/p&#62;
&#60;p&#62;I can now use template_fullwidth.php as the base template for a page that can be used similar to desktop publishing especially when used with WP-Table Reloaded plugin.  And any selected page can be linked from the Slider, with the Featured Image displayed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29207</link>
			<pubDate>Mon, 10 Oct 2011 20:39:19 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29207@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Once again, tried deleting:&#60;br /&#62;
echo $preview_image;&#60;/p&#62;
&#60;p&#62;on the template_fullwidth.php page&#60;/p&#62;
&#60;p&#62;and the result is when the page appears, where there should be the preview image, there is a box with a little pinwheel spinning round and round.  Instead of there NOT being an image (the result I want in the page view), there is the little pinwheel.&#60;/p&#62;
&#60;p&#62;Frustrating.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29206</link>
			<pubDate>Mon, 10 Oct 2011 20:14:34 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29206@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Partial solution to one of the above problems.  On the code to include BOTH posts and pages in the slider, it was showing only one of three test posts, and the only specified numbered page.  &#60;/p&#62;
&#60;p&#62;I found it I made all the posts for the sliders STICKIES, they would all appear.  And the numbered page still appears, so workaround was successful.  I can live with it.&#60;/p&#62;
&#60;p&#62;Now just need a way to delete the full width preview image from the top of any template page in the page view.??????&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29199</link>
			<pubDate>Mon, 10 Oct 2011 18:02:59 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29199@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I might also be able to go this direction... working with template_fullwidth.php &#60;/p&#62;
&#60;p&#62;What code would I alter here to eliminate the full width preview photo at the top of the page?  &#60;/p&#62;
&#60;p&#62;‘&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Template Name: Full Width&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;$k_option['custom']['bodyclass'] = &#34;fullwidth&#34;; //$k_option['custom']['bodyclass'] = &#34;&#34;; &#60;/p&#62;
&#60;p&#62;get_header();&#60;/p&#62;
&#60;p&#62;		$preview_image = kriesi_post_thumb($post-&#38;gt;ID, array('size'=&#38;gt; array('XL','_preview_big'),&#60;br /&#62;
											'display_link' =&#38;gt; '_prev_image_link',&#60;br /&#62;
											'linkurl' =&#38;gt; array ('fullsize'),&#60;br /&#62;
											'wh' =&#38;gt; $k_option['custom']['imgSize']['XL']&#60;br /&#62;
											));&#60;/p&#62;
&#60;p&#62;		if($preview_image)&#60;br /&#62;
		{&#60;br /&#62;
		echo &#34;&#38;lt;!-- ###################################################################### --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;div id='feature_wrap'&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;!-- ###################################################################### --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;div id='featured' class='fadeslider'&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;div class='featured featured1'&#38;gt;&#34;;&#60;br /&#62;
		echo $preview_image;&#60;br /&#62;
		echo &#34;&#38;lt;/div&#38;gt;&#38;lt;!-- end .featured --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;/div&#38;gt;&#38;lt;!-- end #featured --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;span class='bottom_right_rounded_corner ie6fix'&#38;gt;&#38;lt;/span&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;span class='bottom_left_rounded_corner ie6fix'&#38;gt;&#38;lt;/span&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;!-- ###################################################################### --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;/div&#38;gt;&#38;lt;!-- end featuredwrap --&#38;gt;&#34;;&#60;br /&#62;
		echo &#34;&#38;lt;!-- ###################################################################### --&#38;gt;&#34;;&#60;br /&#62;
		}&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;‘
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29198</link>
			<pubDate>Mon, 10 Oct 2011 17:37:21 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29198@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Tried deleting echo $preview_image; in:&#60;/p&#62;
&#60;p&#62; template_blog.php &#60;/p&#62;
&#60;p&#62;But that change did NOT remove the full width image at the top of the page.&#60;/p&#62;
&#60;p&#62;Is there something else that might do it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29176</link>
			<pubDate>Mon, 10 Oct 2011 15:09:45 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29176@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello and thanks.&#60;/p&#62;
&#60;p&#62;Still need some guidance on the issue in the third post in this thread, the one that starts with:&#60;/p&#62;
&#60;p&#62;&#34;Installed the code and it works, somewhat. I have three posts and one page. The code change supplied above shows (in the slider) ONE post and the specified numbered page. What happened to the other two posts?&#34;&#60;/p&#62;
&#60;p&#62;Yes, what did happen to the two missing test posts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29169</link>
			<pubDate>Mon, 10 Oct 2011 14:59:05 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">29169@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
it's not easily possible to use different thumbnails for slider &#38;amp; single entries. You can adjust the thumbnail dimensions in function.php though (however WordPress center crops all images and Newscadt doesn't over an overwrite option). &#60;/p&#62;
&#60;p&#62;You can remove the featured images on the blog page by deleting following line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;echo $preview_image;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can resize the images by changing the thumbnail dimensions in functions.php - afterwards you need to regenerate the thumbnails with: wordpress.org/extend/plugins/regenerate-thumbnails/&#60;/p&#62;
&#60;p&#62;Maybe you need to adjust the preview image width via css code too - add following code to style.css and adjust the width/height value:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.entry-previewimage, .entry-previewimage a {
    height: 180px;
    width: 180px;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29108</link>
			<pubDate>Mon, 10 Oct 2011 00:32:32 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29108@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Another addition to the above... &#60;/p&#62;
&#60;p&#62;I am working on a page as per previous instructions:  template_blog.php&#60;/p&#62;
&#60;p&#62;Below is what looks like the code that controls the photo display?  What do I need to change to eliminate the photo at the top of the page or have some control over its size and proportion?&#60;/p&#62;
&#60;p&#62;// ############################# FULL SIZED POSTS #############################&#60;br /&#62;
		if ($fullsized &#38;gt; 0) :&#60;/p&#62;
&#60;p&#62;		$preview_image = kriesi_post_thumb($post-&#38;gt;ID, array('size'=&#38;gt; array('M'),&#60;br /&#62;
													'display_link' =&#38;gt; '_prev_image_link',&#60;br /&#62;
													'linkurl' =&#38;gt; array ('L','_preview_big'),&#60;br /&#62;
													'wh' =&#38;gt; $k_option['custom']['imgSize']['M']&#60;br /&#62;
													));&#60;/p&#62;
&#60;p&#62;		?&#38;gt;&#60;br /&#62;
		&#38;lt;div class=&#34;entry &#38;lt;?php if(!$preview_image) echo 'entry-no-pic';?&#38;gt;&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;?php&#60;br /&#62;
			if($preview_image)&#60;br /&#62;
			{&#60;br /&#62;
			echo '&#38;lt;div class=&#34;entry-previewimage rounded preloading_background&#34;&#38;gt;';&#60;br /&#62;
			echo $preview_image;&#60;br /&#62;
			echo '&#38;lt;/div&#38;gt;';&#60;br /&#62;
			} &#60;/p&#62;
&#60;p&#62;			?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29096</link>
			<pubDate>Sun, 09 Oct 2011 19:04:47 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29096@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Also thinking it would be nice to have more control over the display of Featured Image on the PAGE itself.  Ability to resize, turn off, etc.  That might happen in the dialogue box when you initially import the image, but is there any kind of sizing and on-off control after import?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29095</link>
			<pubDate>Sun, 09 Oct 2011 19:00:40 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29095@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Here's a related problem to the above.  When I assign a Featured Image to the PAGE for display in the slider, by default, that same image is displayed full width of the content area on the page when it is displayed.  However, since the full width of the page is wider than the image, the image distorts horizontally about 30% too long.  How can the display of the Featured Image in the generated PAGE viewed be keep to correct proportions?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29094</link>
			<pubDate>Sun, 09 Oct 2011 18:50:13 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29094@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Installed the code and it works, somewhat.  I have three posts and one page.  The code change supplied above shows (in the slider) ONE post and the specified numbered page.  What happened to the other two posts?&#60;/p&#62;
&#60;p&#62;Here is the current code:&#60;/p&#62;
&#60;p&#62;	&#38;lt;!-- FEATURED POST AREA ################################################### --&#38;gt;&#60;br /&#62;
		&#38;lt;div id=&#34;feature_wrap&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;!-- ###################################################################### --&#38;gt;&#60;br /&#62;
			&#38;lt;div id=&#34;featured&#34; class='&#38;lt;?php echo $k_option['mainpage']['slider']; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;			&#38;lt;?php &#60;/p&#62;
&#60;p&#62;			//check slider and apply size to previe images&#60;br /&#62;
			$kimg = array('shortcut' =&#38;gt; 'L', 'overwrite' =&#38;gt; 'none');&#60;/p&#62;
&#60;p&#62;			if($k_option['mainpage']['slider'] == 'fadeslider')&#60;br /&#62;
			{&#60;br /&#62;
				$kimg = array('shortcut' =&#38;gt; 'XL', 'overwrite' =&#38;gt; 'none');&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;			// start the loop that gernerates the images&#60;br /&#62;
			$loopcount = 1;&#60;/p&#62;
&#60;p&#62;$additional_loop =  new WP_Query(array('post_type' =&#38;gt; array( 'post', 'page' ), 'posts_per_page' =&#38;gt; 5, 'post__in' =&#38;gt; array(137)));&#60;/p&#62;
&#60;p&#62;			if ($additional_loop-&#38;gt;have_posts()) :&#60;br /&#62;
			while ($additional_loop-&#38;gt;have_posts()) : $additional_loop-&#38;gt;the_post();
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29086</link>
			<pubDate>Sun, 09 Oct 2011 17:49:50 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">29086@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Basically it should be possible to change:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$additional_loop =  new WP_Query(array(&#38;#39;post_type&#38;#39; =&#38;gt; &#38;#39;page&#38;#39;, &#38;#39;posts_per_page&#38;#39; =&#38;gt; 5, &#38;#39;post__in&#38;#39; =&#38;gt; array(37,50,54,30,32)));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$additional_loop =  new WP_Query(array(&#38;#39;post_type&#38;#39; =&#38;gt; array( &#38;#39;post&#38;#39;, &#38;#39;page&#38;#39; ), &#38;#39;posts_per_page&#38;#39; =&#38;gt; 5, &#38;#39;post__in&#38;#39; =&#38;gt; array(37,50,54,30,32)));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;- you'd query posts and pages then. However the post__in parameter needs post &#38;amp; page ids then. For all query parameters/combinations refer to: &#60;a href=&#34;http://codex.wordpress.org/Class_Reference/WP_Query&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Class_Reference/WP_Query&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Pages instead of posts in slider, but how about both?"</title>
			<link>http://www.kriesi.at/support/topic/pages-instead-of-posts-in-slider-but-how-about-both#post-29084</link>
			<pubDate>Sun, 09 Oct 2011 17:44:43 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29084@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;In this support thread in the general section, you describe how to use pages in the slider instead of posts.&#60;br /&#62;
&#60;a href=&#34;http://www.kriesi.at/support/topic/how-to-use-pages-instead-of-posts-for-the-newscast-slider&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/how-to-use-pages-instead-of-posts-for-the-newscast-slider&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Is it one or the other, but never posts and pages combined?&#60;/p&#62;
&#60;p&#62;Just need the clarification, unless you have a code change to combine.&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
