setting up author's pages

  • Anonymous

    #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…

    Anonymous

    #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?

    Anonymous

    #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)

    <?php
    $temp = $wp_query;
    $wp_query= null;
    $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

    Anonymous

    #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

    Syahir Hakim

    #22450

    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.php inside your child theme folder. Then, insert this code inside that file:

    <?php
    global $graphene_settings;
    $graphene_settings['column_mode'] = 'one-column';

    include( get_template_directory() . '/category.php' );
    ?>

    Anonymous

    #22451

    I was just getting ready to ask your for your “two-cents”. Thanks!!

    Anonymous

    #22452

    I’ll try it tomorrow (3 am here). will keep you guys updated!

    Thanks!!!!

    Anonymous

    #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
    Theme URI:
    Description: Child theme for the Graphene theme
    Author: Manasse Visser
    Author URI: http: //twowaysociety.com
    Template: Graphene
    Version: 0.1.0
    */

    @import url("http://twowaysociety.nl/public_html/hidden/wp-content/themes/graphene/style.css");

    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:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    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

    Syahir Hakim

    #22454

    This line:

    Template: Graphene

    The name of the theme actually refers to the name of the folder the parent theme resides in, and therefore must be all lowercase (since the graphene folder is all lowercase):

    Template: graphene

    Anonymous

    #22455

    Hahaha. Ok that was easy, but look at it now… Must be something wrong in style.css

    http://twowaysociety.nl/hidden/ Now it is just html…

Viewing 10 posts - 11 through 20 (of 26 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!