StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-24-2009, 07:00 AM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default Re: Question about Creating Page with Blog Template

yes switch out this code on page blog

Code:
			<?php $blog_cat_1 = get_option('agent_blog_cat_1'); $blog_cat_1_num = get_option('agent_blog_cat_1_num'); if(!$blog_cat_1) $blog_cat_1 = 1; //setting a default ?>
				
			<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=".$blog_cat_1."&showposts=".$blog_cat_1_num."&paged=$page"); while ( have_posts() ) : the_post() ?>
with this code, changing the 1 where cat=1 to the ID number of your category

Code:
	
			<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=1&showposts=5&paged=$page"); while ( have_posts() ) : the_post() ?>
then change
Template Name: Blog Page to
Template Name: Blog Page2

or a name of your choosing and save as page_blog2.php or categoryname.php

upload and choose
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changes to the Blog Page Template question bramsey General Discussion 4 03-12-2010 06:19 PM
Creating a new blog template themos General Discussion 2 01-28-2010 09:03 PM
How to Setup the Blog Page Template Question comander1987 General Discussion 3 11-08-2009 07:57 PM
When Creating a Page and Using Blog View Template theparappa General Discussion 1 07-08-2009 12:14 AM


All times are GMT -5. The time now is 09:28 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.