Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Creating custom template for page... (http://forum.bytesforall.com/showthread.php?t=20098)

wskdigital Apr 11, 2013 01:08 AM

[SOLVED] Creating custom template for page...
 
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.

juggledad Apr 11, 2013 02:23 AM

You could use the existing 'multi column/custom query' template that is shipped with the theme.

wskdigital Apr 11, 2013 06:19 PM

Thanks for pointing me in the right direction. I figured it out.


All times are GMT -6. The time now is 08:18 AM.

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