Home Forums Real WordPress Theme How do I add a sidebar to Archive Posts? Reply To: How do I add a sidebar to Archive Posts?

#14300

BWSM
Keymaster

Hi,

Off course, it is possible by changing php files.
Plz change the archive.php as:

<?php get_header(); ?>
   
    <div id="content">
             
        <div class="row-fluid content_wrap_outer two-cols-layout"> 
            <div class=" container sidebar-layout">
                <div id="content_wrap" class="span8"> 
                
    				<?php //** Do Hook Archive loop
                    /**
                     * @hooked  ux_interface_archive_loop - 10
                     */
                    do_action('ux_interface_archive_loop'); ?>
                
                </div>
                <?php //** Do Hook Sidebar Widget
            /**
             * @hooked  ux_interface_sidebar_widget - 10
             */
            do_action('ux_interface_sidebar_widget'); ?>
            </div>
        </div>
    
    </div><!--End content-->
  
<?php get_footer(); ?>

It will show the “Sidebar 1 for Post/Page”.

You could set the default image for all archive pages:

Regards!