Is the Dzonia or Themia themes allow we to add widgets in main page sidebar

Discussion in 'Themia WordPress Theme' started by eyalreches, Aug 29, 2014.

  1. eyalreches

    eyalreches New Member

    Joined:
    Jul 21, 2014
    Messages:
    7
    Likes Received:
    0
    Hi

    Is the Dzonia or Themia themes allow me to add widgets in main page sidebar bellow the portfolio pictures.

    The main page should include the 3 portfolio pictures like in the sample page, the sidebar should start under the portfolio pictures where the video is located in the Themia theme.

    ** Does it have a sidebar on the main page **

    Thanks - Eyal
     
  2. Yogesh

    Yogesh Guest

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

    To show sidebar on homepage in Dzonia theme you have to edit front-page.php file.
    Just replace the inner_area div with following code.
    Code:
    <div class="inner_area">  <?php if ( get_option('inkthemes_featured_3') !='' ) {  ?>
                <a href="<?php echo get_option('inkthemes_feautured_link3'); ?>"><img class="last_featureimg" align="alignright" src="<?php echo get_option('inkthemes_featured_3'); ?>" /></a>
                <?php } else { ?>
              <?php  if ( is_active_sidebar( 'secondary-widget-area' ) ) : ?>
      <?php dynamic_sidebar( 'secondary-widget-area' ); ?>
      <?php endif; ?>
                <?php } ?> </div>
    See below screenshot 29aug4.png for help.

    And to show sidebar in Themia theme paste above code in front-page.php file as shown below in screenshot 29aug5.png.

    That will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     

    Attached Files:

  3. eyalreches

    eyalreches New Member

    Joined:
    Jul 21, 2014
    Messages:
    7
    Likes Received:
    0
    Thanks - Eyal :)
     

Share This Page