colorway : Sidebar on left in blog page

Discussion in 'ColorWay WordPress Theme' started by olivier2012, Sep 25, 2014.

  1. olivier2012

    olivier2012 New Member

    Joined:
    Sep 21, 2014
    Messages:
    5
    Likes Received:
    0
    Hi ,
    I have colorway template :
    I want to know if it's possible to have the side bar on left in blog page and how I can do this ?

    sincerely
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Step-1:Follow below image.
    Step-2:
    PHP:
    <?php
    /*
    Template Name: Blog Page
    */
    ?>
    <?php get_header
    (); ?>
    <!--Start Content Grid-->
    <div class="grid_24 content">
        <?php get_sidebar(); ?>
        <div class="grid_16 omega">
              <div class="content-wrap">
                  <div class="content-info">
                        <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
                  </div>
                  <div class="blog" id="blogmain">
                    <ul class="blog_post">
               
               
                    <?php
        $limit 
    get_option('posts_per_page');
        
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
        
    query_posts('showposts=' $limit '&paged=' $paged);
        
    $wp_query->is_archive true$wp_query->is_home false;
        
    ?>
        <!-- Start the Loop. -->
                        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
                        <li id="post-<?php the_ID(); ?><?php post_class(); ?>>
                            <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
                            <?php inkthemes_get_thumbnail(258190); ?>
                            <?php } else { ?>
                                <?php inkthemes_get_image(258190); ?>
                                <?php
                            
    }
                            
    ?>
                            <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?>
                                </a></h2>
                            Posted on
                            <?php the_time('F j, Y'); ?>
                            by
                            <?php the_author_posts_link() ?>
                            in
                            <?php the_category(', '); ?>
                            <?php the_excerpt(); ?>
                            <?php comments_popup_link('No Comments.''1 Comment.''% Comments.'); ?>
                            <a href="<?php the_permalink() ?>">Continue Reading...</a> </li>
                        <!-- End the Loop. -->
                        <?php endwhile; else: ?>
                        <li>
                            <p>
                                <?php _e('Sorry, no posts matched your criteria.''colorway'); ?>
                            </p>
                        </li>
                        <?php endif; ?>
                    </ul>
     
                  </div>
                  <div class="folio-page-info">
                        <?php pagination(); ?>
                  </div>
              </div>
        </div>
     
    </div>
    <div class="clear"></div>
    <!--End Content Grid-->
    </div>
    <!--End Container Div-->
    <?php get_footer(); ?>
    Paste this code in blog.php file.
    Thanks & Regards
    Pramod
     

    Attached Files:

    • 2.png
      2.png
      File size:
      174.5 KB
      Views:
      8
  3. olivier2012

    olivier2012 New Member

    Joined:
    Sep 21, 2014
    Messages:
    5
    Likes Received:
    0
    Hi,

    Done but it doesn't work sidebar always at right.

    In fact I want to have sidebar only on left in all site
     
  4. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Please provide us your website url.

    Thanks & Regards
    Yogesh Bhade
     
  5. olivier2012

    olivier2012 New Member

    Joined:
    Sep 21, 2014
    Messages:
    5
    Likes Received:
    0
  6. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    We are not getting above code in the given page.
    Please copy the complete code and replace all code which is currently present in blog.php . This will definitely work.
    You can find this file in Appearance ->Editor ->blog.php
    Thanks & Regards
    Pramod
     
  7. olivier2012

    olivier2012 New Member

    Joined:
    Sep 21, 2014
    Messages:
    5
    Likes Received:
    0
    Done, but no change...
     
  8. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Sorry but still the code is not placed in proper place ,we are not getting above code in the given page.

    Please provide the following information listed below.
    Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:
    Send this information on our email at [email protected]
    Thanks & Regards
    Pramod
     
  9. olivier2012

    olivier2012 New Member

    Joined:
    Sep 21, 2014
    Messages:
    5
    Likes Received:
    0
    Thank's, it works now.

    Is there anything I didn't understand, because I'v done what you said to me...

    Sincerely
     
  10. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Required to make change in two files.
    Thanks & Regards
    Pramod
     

Share This Page