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 »

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
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,492 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,492 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.
  #7  
Old Oct 17, 2015, 01:17 PM
juggledad's Avatar
juggledad
 
23,492 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You need to create a 'custom query'. Now go back and read that post again.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
categories, categories menu, multi column/custom query

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 10:48 PM.


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