Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Creating custom template for page...


  #1  
Old Apr 11, 2013, 02:08 AM
wskdigital
 
18 posts · Feb 2013
I'm trying to create a custom template for a page that shows posts from a single category only.

I've copied the index.php and renamed.

I've added the:

<?php
/*
Template Name: Randomness
*/
?>

at the top.

I've chosen that template on the page.

SO far I believe I've done everything right. Please correct me if i'm wrong.

So my question is: What code would I need to add to show posts from only one category under the content of this page?

Sorry, i'm just starting to learn php and css.

*Note: I don't expect freebie programing service. If it's a simple solution and you're willing to share with me, awesome. If you're sure you can help but don't want to spend the time for free, I'll pay what I can afford. Just let me know how much you want. Your help is highly appreciated. Thank You.
  #2  
Old Apr 11, 2013, 03:23 AM
juggledad's Avatar
juggledad
 
23,686 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You could use the existing 'multi column/custom query' template that is shipped with the theme.
  #3  
Old Apr 11, 2013, 07:19 PM
wskdigital
 
18 posts · Feb 2013
Thanks for pointing me in the right direction. I figured it out.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Creating a new page template emanuel1969 Plugins & Atahualpa 19 Feb 3, 2013 09:41 PM
Creating a page template AchtungAffen Center area post/pages 3 Jan 12, 2012 07:44 AM
[SOLVED] Creating Empty Line in a Page Template treeplant Center area post/pages 3 Apr 29, 2010 02:23 PM
Creating custom post template paulae Atahualpa 3 Wordpress theme 3 Mar 18, 2009 11:36 AM


All times are GMT -6. The time now is 06:44 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.