benzine
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Post Types 'single-type.php' not working@ Rev. Voodoo
Can you pls help me on this issue
I’m stuck here!!!
Waiting for your feedback
Thanks
BenForum: Fixing WordPress
In reply to: Custom Post Types 'single-type.php' not workingYou should duplicate the page.php and give it the name page-yourpost.php and add this line of code on top for WP to recognize it as a template file
* Template Name: your post name Template
add this before the loop
<?php query_posts(array(‘post_type’=>’your post’)); ?>
You’ll have the custom post type being created in your admin. Create a page and then assign the page to page-yourpost.php from the drop down list under Page attributes and you’re done
Forum: Themes and Templates
In reply to: One and Two columns posts on the same page<?php
if( is_home() ){
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts( array(‘post_type’=>array( ‘post’, ‘linkpost’),’paged’=>$paged ) );
}
?>is that the correct code yo input in the index.php? Or shall I use a static homepage? How to do it with the various types of posts I’ve got (from my screenshot (https://www.infografixlab.com/deploy/screen.jpg)?
Forum: Themes and Templates
In reply to: One and Two columns posts on the same pageWhat I want to do is to have normal post as well as custom post types on the homepage or numerous custom post types as depicted here https://www.infografixlab.com/deploy/screen.jpg
Please help me guys :))
Forum: Themes and Templates
In reply to: One and Two columns posts on the same pageHey there
Now I’ve read about the loop etc . I’ve succeeded to create custom post types noe and my main concern now is to publish this post on my homepage with a particular css. I read about how to query such post but I’m getting mingled. can yu help me please I’m testing the twentyten theme here https://test.infografixlab.com/
My custom post type is here https://test.infografixlab.com/?page_id=22
Please help me with the codes.
thanks
BenForum: Themes and Templates
In reply to: One and Two columns posts on the same pageWow, hi Rachel how did you found me from nowhere ??
Thanks indeed to channel me thru the right tunnel…I’ll have a read on multiple loops as you both have suggested and hope to be able to help myself to solve this problem.
Cheers
BenForum: Themes and Templates
In reply to: One and Two columns posts on the same pagethanks, i’ll have a look and learn from this point and revert back if need be.
Thank you for taking the time answering my question
BenForum: Themes and Templates
In reply to: One and Two columns posts on the same pagecan you show me an example please :D, am still a novice and eager to learn that