• I’m using the Gallery theme (parent: Thematic) for my site and although the theme has a page template called “Full Width” that page template only removes the widgets but doesn’t actually push the page over to claim the spot held by the sidebar.

    Can anybody help me??? Everything else about my site is just how I want it, but this is driving me INsane!

    https://www.unholygrail.info/?page_id=13

    I read some instructions here…

    https://www.ads-software.com/support/topic/full-width-page-creating-your-own-page-templates

    …but there was no page.php file for the child theme and when I tried applying the rules to the parent theme, I found there was no line that said <div id=”left-column”>.

    Here’s the entire Thematic page.php file if it will help!

    <?php

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

    ?>

    <div id=”container”>

    <?php thematic_abovecontent(); ?>

    <div id=”content”>

    <?php

    // calling the widget area ‘page-top’
    get_sidebar(‘page-top’);

    the_post();

    thematic_abovepost();

    ?>

    <div id=”post-<?php the_ID();
    echo ‘” ‘;
    if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
    post_class();
    echo ‘>’;
    } else {
    echo ‘class=”‘;
    thematic_post_class();
    echo ‘”>’;
    }

    // creating the post header
    thematic_postheader();

    ?>

    <div class=”entry-content”>

    <?php

    the_content();

    wp_link_pages(“\t\t\t\t\t<div class=’page-link’>”.__(‘Pages: ‘, ‘thematic’), “</div>\n”, ‘number’);

    edit_post_link(__(‘Edit’, ‘thematic’),'<span class=”edit-link”>’,'</span>’) ?>

    </div><!– .entry-content –>
    </div><!– #post –>

    <?php

    thematic_belowpost();

    // calling the comments template
    if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) {
    if ( get_post_custom_values(‘comments’) ) {
    // Add a key/value of “comments” to enable comments on pages!
    thematic_comments_template();
    }
    } else {
    thematic_comments_template();
    }

    // calling the widget area ‘page-bottom’
    get_sidebar(‘page-bottom’);

    ?>

    </div><!– #content –>

    <?php thematic_belowcontent(); ?>

    </div><!– #container –>

    <?php

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling the standard sidebar
    thematic_sidebar();

    // calling footer.php
    get_footer();

    ?>

    Thanks a million in advance if anyone can help me fix this!!

Viewing 1 replies (of 1 total)
  • Thread Starter el_trav

    (@el_trav)

    I found that the parent theme, Thematic, also contains a file called “template-full-pagewidth.php.” Below is its code; hopefully it will help some generous soul!

    <?php
    /**
    * Template Name: Full Width
    *
    * This Full Width template removes the primary and secondary asides so that content
    * can be displayed the entire width of the #content area.
    *
    */

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

    ?>

    <div id=”container”>

    <?php thematic_abovecontent(); ?>

    <div id=”content”>

    <?php

    // calling the widget area ‘page-top’
    get_sidebar(‘page-top’);

    the_post();

    thematic_abovepost();

    ?>

    <div id=”post-<?php the_ID();
    echo ‘” ‘;
    if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
    post_class();
    echo ‘>’;
    } else {
    echo ‘class=”‘;
    thematic_post_class();
    echo ‘”>’;
    }

    // creating the post header
    thematic_postheader();

    ?>

    <div class=”entry-content”>

    <?php

    the_content();

    wp_link_pages(“\t\t\t\t\t<div class=’page-link’>”.__(‘Pages: ‘, ‘thematic’), “</div>\n”, ‘number’);

    edit_post_link(__(‘Edit’, ‘thematic’),'<span class=”edit-link”>’,'</span>’) ?>

    </div>
    </div><!– .post –>

    <?php

    thematic_belowpost();

    // calling the comments template
    thematic_comments_template();

    // calling the widget area ‘page-bottom’
    get_sidebar(‘page-bottom’);

    ?>

    </div><!– #content –>

    <?php thematic_belowcontent(); ?>

    </div><!– #container –>

    <?php

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling footer.php
    get_footer();

    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Can't get a true "full width" page using Gallery template’ is closed to new replies.