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 » Center area post/pages »

How to show Custom Post Types in Atahualpa?


  #1  
Old Oct 26, 2010, 12:44 PM
GreenCoast
 
21 posts · Oct 2010
Hey folks,

we installed Atahualpa yesterday and are very satisfied. The devs have done an awesome job.

Today I bumped into a problem with custom post types. We need them to show related posts that we add manually via the plugin "Microkid's Related Posts". Hence, we are now able to relate posts from different post types.

Although the custom posts should be shown (settings should be fine) I do not find a way to show them in the template.

In an howto I have seen that I need to add this to the loop:

Code:
query_posts(array('post_type' => array('post', 'products')));
But where do I have to add it so that my products show up in my categories and on their respective page?

Thanks a lot

Hendrik
  #2  
Old Oct 26, 2010, 02:54 PM
GreenCoast
 
21 posts · Oct 2010
Quote:
Originally Posted by STB
should work without adding any 2nd loop

did you add the custom post type under settings > related posts
and in the post, when adding the related post, did you search on the correct tab for the custom post type
The issue is not that the related posts are not displayed but that the posts are not displayed on category pages and on the frontpage.

In the links below you see that the post exists. But when clicking on the category it is not there:

Single post: http://thecancercamp.com/?product=sy...ovoltaic-tiles

Category page: http://thecancercamp.com/?cat=50

How do I add my products to the loop?
  #3  
Old Feb 15, 2011, 03:46 PM
justomoolio
 
1 posts · Nov 2010
Echo? echo echo? I'm having the same issue.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
More than 3 unique page types? bestbreedmarketing ThemeFrame Presales 11 Dec 3, 2010 05:59 PM
[SOLVED] How do I restrict which pages my custom sidebars show-up on? wordy_gurdy Sidebars & Widgets 4 Aug 8, 2010 11:02 AM
[SOLVED] List style types mlamkin New Versions, & Updating 1 Jul 14, 2009 12:10 PM


All times are GMT -6. The time now is 06:19 PM.


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