Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:31:08+00:00 2026-05-26T04:31:08+00:00

I’m trying to add a custom page template to show only one sidebar for

  • 0

I’m trying to add a custom page template to show only one sidebar for specific pages.

I created a template page in thesis folder and I put these lines

<?php echo thesis_header(); ?>
<?php echo thesis_nav_menu(); ?>
    <div id="custom-page">
        <div class="content-column">
            <?php echo thesis_content(); ?>
        </div>
        <div class="sidebars">
            <?php echo thesis_sidebar_1(); ?>
        </div>
    </div>
<?php echo thesis_footer_area(); ?>

I found this code in a tutorial but when I open any page with this template, page doesnt show up correctly. Because all < head>< /head> section is missing. thesis_header() function doesnt bring html page’s section.

My question; how can I add all those section just like thesis_html_framework() does?

thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:31:09+00:00Added an answer on May 26, 2026 at 4:31 am

    I could not found a reasonable method and I decided to modify structure with jQuery. This is the custom template file to show only one sidebar. I know not perfect solution, but it saved the day.

        <?php
        /**
         * Template Name: Custom - One Sidebar Template
         *
         * A custom template for use with Thesis theme for creating pages that add a left sidebar.
         *  DO NOT EDIT THIS FILE. Instead, use the thesis_hook_custom_template() hook in custom/places_template_functions.php
         *
         * @package Thesis
         */
        add_action('thesis_hook_after_html', 'set_one_sidebar');
    
        thesis_html_framework();
    
        function set_one_sidebar(){
            ?>
            <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
            <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
            <!--
            $(document).ready(function(){
                $('#sidebar_2').hide();
                $('#sidebars').css('width', '230px');
                $('#content').css('width', '718px');
                $('#content_box').css('background-position', '715px');
            });
            //-->
            </SCRIPT>
            <?php
        }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I'm making a simple page using Google Maps API 3. My first. One marker
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I am trying to render a haml file in a javascript response like so:
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.