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 »

it there a way to aply the multi column template to category pages?


  #1  
Old Oct 17, 2015, 05:35 AM
ericnl
 
21 posts · Feb 2014
it there a way to aply the multi column template to category pages?

I have two pages, on the new website that I'm making, that I want to use for category posts.
on there I have implemented the multi column layout through the Custom Fields option, and it works great for the layout, but both pages show ALL posts, regardless of the category.

so I went into the 'menus' option in 'appearance' and to make a menu that included the category items, which now sorts the posts correctly, but takes away the multi column formatting on those pages.

when I go into 'Edit Category' there is no option for Custom Fields, but in 'Edit Enhanced Category' there is. if I select 'number_of_columns' there and input a number next to it, the formatting still does not show up on the category page...

what am I overlooking, or is there another way to do this?

thanks,
Eric.

Last edited by ericnl; Oct 17, 2015 at 05:42 AM.
  #2  
Old Oct 17, 2015, 05:37 AM
ericnl
 
21 posts · Feb 2014
PS:

I have also tried to put this code in the index.php file, instead of using the category menu items, but it seemingly had no effect...

Code:
<?php if (is_page(6)) {wp_cat_posts(3); } ?>
<?php if (is_page(80)) {wp_cat_posts(4); } ?>
  #3  
Old Oct 17, 2015, 09:18 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can craft a custom query to access your posts in one or more categories.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 17, 2015, 09:22 AM
ericnl
 
21 posts · Feb 2014
maybe you can, but I wouldn't ask if I could too...

care to give a little hint where to start?
  #5  
Old Oct 17, 2015, 09:25 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see http://forum.bytesforall.com/showthread.php?t=15718 in the Gold forum tutorials
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 17, 2015, 09:43 AM
ericnl
 
21 posts · Feb 2014
ok, I had seen that post before, but it starts with the quote:
'This template is now included with the theme as of 3.7.5 - use that version.'
so I had ignored it.

but after rereading it now again, I understand that I should craft a custom_query 'somewhere' using the second link.

so when I craft this query, what does it look like, and where do I put it?
do I put it in the custom CSS file?

forgive me if I sound ignorent, but I have never messed with the loop before, because php editing seems to go a step above my usual html and css skills

Last edited by ericnl; Oct 17, 2015 at 10:19 AM.

Bookmarks

Tags
categories, categories menu, multi column/custom query



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the JUGGLEDAD's multi column/custom query template 86owen Page & Category Menu Bars 13 Oct 12, 2012 11:04 AM


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


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