Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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 12:35 AM.


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