setting up author's pages
AnonymousJanuary 21, 2012 at 12:57 am #22446
on the ‘frontpage’ i’d like to keep it and I’ll put widgets there. Twitter, gigs, youtubeplayer, musicplayer, stuffl like that. but on these: http://twowaysociety.nl/hidden/category/jaap/ (which is that category page I was talking about) I’d want those sidebars disappear… We’re almost there…
AnonymousJanuary 21, 2012 at 1:22 am #22447
Yeah, unfortunately your categories page is going to follow the layout of your default theme setting. Pages can be adjusted. Categories cannot.
Soooo, possibly you could set your theme to use no sidebars. And then create a page for your homepage, and set it to three columns?
AnonymousJanuary 21, 2012 at 1:33 am #22448
I could do that, but how am I going to show posts there? As I understood I can’t show posts on a pages.
hmmm… You see why I tried to set up a template? That went wrong because it was showing sidebars while I simply copied the theme’s “one column, no sidebar” template. If that WAS going to work (that is; without sidebars), I’d try out the following (although I don’t know how to use it yet)
$temp = $wp_query;
$wp_query = new WP_Query();
$wp_query->query('showposts=5&cat=383&author_name=' . $page_author . '&paged=' .$paged);
Well.. Got a bit further thanks to you, but I’m still not there. Thank god it’s raining here, so I’m happy to stay indoors… Still loving the theme, don’t worry ’bout that 🙂
Wish I’d studied PHP-programming instead of music-management… lol
AnonymousJanuary 21, 2012 at 1:40 am #22449
Haha… I’m in music also. Funny.
I have to run out for a bit. But I’ll check back in on this when I return.Admin
If you want just the category pages to not show any sidebars (i.e. one-column layout), create a child theme first, and then create a file called
category.phpinside your child theme folder. Then, insert this code inside that file:
$graphene_settings['column_mode'] = 'one-column';
include( get_template_directory() . '/category.php' );
AnonymousJanuary 21, 2012 at 1:42 am #22451
I was just getting ready to ask your for your “two-cents”. Thanks!!
AnonymousJanuary 21, 2012 at 1:43 am #22452
I’ll try it tomorrow (3 am here). will keep you guys updated!
AnonymousJanuary 21, 2012 at 8:27 am #22453
Setted up a child theme. Named the folder Graphene Child. Containing simple style.css and the category.php.
The style.css only has the following:
Theme Name: Graphene Child
Description: Child theme for the Graphene theme
Author: Manasse Visser
Author URI: http: //twowaysociety.com
the category.php only has the PHP-code suggested in this thread. Now when I go to themes in dashboard I can see the child theme with the following message:
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Graphene Child The parent theme is missing. Please install the "Graphene" parent theme.
The Graphene Theme IS installed and working just like it should (except for the category’s sidebars, but we’re trying to solve that, right?)
So I feel we (especially you guys) are getting close, but it’s no cigar, yet…
Suggestions on how to solve this??
Oh, and I’ve double checked if Graphene’s working or not (deleted all the files and re-installed the theme) and rechecked if I’ve put the Child-theme’s Folder in the proper folder. It’s in wp-content/themes/, so that’s ok, right???Admin
- You must be logged in to reply to this topic.