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
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(258, 190); ?> <?php } else { ?> <?php inkthemes_get_image(258, 190); ?> <?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
Hi, Done but it doesn't work sidebar always at right. In fact I want to have sidebar only on left in all site
Hi, here is url : http://vistavoix.cluster1.easy-hebergement.net/cms/category/john-smallman-saul/ thank's for help
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
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
Thank's, it works now. Is there anything I didn't understand, because I'v done what you said to me... Sincerely