Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey commiemk,

    Glad you like the plugin!

    That is strange! Do you have a home page that displays your latest posts or anything? And possibly forgot that you created a test post? If you change the feed settings for the footer feed, does it also affect this feed?

    – Craig

    Thread Starter commiemk

    (@commiemk)

    No, the page does not do anything other than having a snippet for showing my portfolio. On another note i’ve found that the problem is coming up from the footer section. Even if i take the widget off the designated area it still keeps appearing in a big format. I believe that it has to do something with the footer.

    Can you help me pinpoint this? This is the footer code

    <?php
    /**
     * The template for displaying the footer.
     *
     * @package Theme Freesia
     * @subpackage Edge
     * @since Edge 1.0
     */
    $edge_settings = edge_get_theme_options();
    if($edge_settings['edge_blog_layout'] == 'photography_layout' && !is_page() && !is_single()){
    	if(class_exists('WooCommerce') && is_shop()): ?>
    		</div> <!-- end .container -->
    	<?php else: ?>
    	</div> <!-- end #main -->
    	<?php
    	endif;
    }else{?>
    </div> <!-- end .container -->
    <?php
    } ?>
    </div> <!-- end #content -->
    <!-- Footer Start ============================================= -->
    <footer id="colophon" class="site-footer clearfix">
    <?php
    if ( is_front_page() && is_home() ) {
    	if ((function_exists('display_instagram')) && $edge_settings['edge_instagram_feed_display'] !=0){
    		echo do_shortcode('[instagram-feed]');
    	}// Default homepage
    } elseif ( is_front_page()){
    	if ((function_exists('display_instagram')) && $edge_settings['edge_instagram_feed_display'] !=0){
    		echo do_shortcode('[instagram-feed]');
    	}//Static homepage
    } else {
    //silence is golden
    }
    $footer_column = $edge_settings['edge_footer_column_section'];
    	if( is_active_sidebar( 'edge_footer_1' ) || is_active_sidebar( 'edge_footer_2' ) || is_active_sidebar( 'edge_footer_3' ) || is_active_sidebar( 'edge_footer_4' )) { ?>
    	<div class="widget-wrap">
    		<div class="container">
    			<div class="widget-area clearfix">
    			<?php
    				if($footer_column == '1' || $footer_column == '2' ||  $footer_column == '3' || $footer_column == '4'){
    				echo '<div class="column-'.$footer_column.'">';
    					if ( is_active_sidebar( 'edge_footer_1' ) ) :
    						dynamic_sidebar( 'edge_footer_1' );
    					endif;
    				echo '</div><!-- end .column'.$footer_column. '  -->';
    				}
    				if($footer_column == '2' ||  $footer_column == '3' || $footer_column == '4'){
    				echo '<div class="column-'.$footer_column.'">';
    					if ( is_active_sidebar( 'edge_footer_2' ) ) :
    						dynamic_sidebar( 'edge_footer_2' );
    					endif;
    				echo '</div><!--end .column'.$footer_column.'  -->';
    				}
    				if($footer_column == '3' || $footer_column == '4'){
    				echo '<div class="column-'.$footer_column.'">';
    					if ( is_active_sidebar( 'edge_footer_3' ) ) :
    						dynamic_sidebar( 'edge_footer_3' );
    					endif;
    				echo '</div><!--end .column'.$footer_column.'  -->';
    				}
    				if($footer_column == '4'){
    				echo '<div class="column-'.$footer_column.'">';
    					if ( is_active_sidebar( 'edge_footer_4' ) ) :
    						dynamic_sidebar( 'edge_footer_4' );
    					endif;
    				echo '</div><!--end .column'.$footer_column.  '-->';
    				}
    				?>
    			</div> <!-- end .widget-area -->
    		</div> <!-- end .container -->
    	</div> <!-- end .widget-wrap -->
    	<?php } ?>
    <div class="site-info" <?php if($edge_settings['edge-img-upload-footer-image'] !=''){?>style="background-image:url('<?php echo esc_url($edge_settings['edge-img-upload-footer-image']); ?>');" <?php } ?>>
    	<div class="container">
    	<?php
    		if($edge_settings['edge_buttom_social_icons'] == 0):
    			do_action('social_links');
    		endif;
    		do_action('edge_footer_menu');
    		do_action('edge_sitegenerator_footer'); ?>
    			<div style="clear:both;"></div>
    		</div> <!-- end .container -->
    	</div> <!-- end .site-info -->
    	<?php
    		$disable_scroll = $edge_settings['edge_scroll'];
    		if($disable_scroll == 0):?>
    	<div class="go-to-top"><a title="<?php esc_html_e('Go to Top','edge');?>" href="#masthead"><i class="fa fa-angle-double-up"></i></a></div> <!-- end .go-to-top -->
    	<?php endif; ?>
    </footer> <!-- end #colophon -->
    </div> <!-- end #page -->
    <?php wp_footer(); ?>
    </body>
    </html>
    Thread Starter commiemk

    (@commiemk)

    Well… couple of minutes after i posted this i found what is causing the problem.

    A portion of the footer had an IF statement for the home page that caused the widget to appear there full size.

    This is the portion:

    if ( is_front_page() && is_home() ) {
    	if ((function_exists('display_instagram')) && $edge_settings['edge_instagram_feed_display'] !=0){
    		echo do_shortcode('[instagram-feed]');
    	}// Default homepage
    } elseif ( is_front_page()){
    	if ((function_exists('display_instagram')) && $edge_settings['edge_instagram_feed_display'] !=0){
    		echo do_shortcode('[instagram-feed]');
    	}//Static homepage
    } else {
    //silence is golden
    }

    Thank you Craig, your quick answers are a rare sight these days. Keep up the awesome work!

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    No problem! Glad you were able to find the cause. Please let me know if you ever need anything else.

    hello I’m having the same problem as @commiemk my Instagram feed is showing up twice on my page, in my side bar as well as in the footer. I* was hoping someone will tell me how to get to the code to fix this issue. I am also using the Edge theme for WordPress.

    Thank you

    • This reply was modified 6 years, 11 months ago by twilliams2026.
    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sure! I believe you can go to the dashboard, then find Appearance->Editor, on the right hand side of your screen you should see a “Templates” heading. Find the footer.php file to make edits.

    Hopefully that helps!

    Thread Starter commiemk

    (@commiemk)

    At later point i realized that there is option to disable this. Go to Appearance -> Customize and in there find Edge Options. When you are in Edge Options find and uncheck “Display Instagram Full Width” this is the cause of your headache.

    If that doesn’t work. Find this portion of code in footer.php

    `if ( is_front_page() && is_home() ) {
    if ((function_exists(‘display_instagram’)) && $edge_settings[‘edge_instagram_feed_display’] !=0){
    echo do_shortcode(‘[instagram-feed]’);
    }// Default homepage
    } elseif ( is_front_page()){
    if ((function_exists(‘display_instagram’)) && $edge_settings[‘edge_instagram_feed_display’] !=0){
    echo do_shortcode(‘[instagram-feed]’);
    }//Static homepage
    } else {
    //silence is golden
    }

    And just comment it in case you need it in future

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Thanks for this commiemk!

    Thank you so much @commiemk! The first way worked perfectly.

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey! This thread has been quiet for awhile so I’ll go ahead and mark it as resolved. Let me know if you have more questions though!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin shows in widget area and page’ is closed to new replies.