Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #330878

    Hello everyone,

    I am trying to implement the widget area of the plugin ‘Social Gallery and Widget’ for my WordPress site (https://www.dosenbier-band.de/epk). I have already inserted the following php code in the footer.php:

    <?php if ( is_page( ##page-id## ) ) : ?>
    <div id=”secondary-sidebar” class=”new-widget-area”>
    <?php dynamic_sidebar( ‘sidebar-instagram’ ); ?>
    <?php endif; ?>

    If I remove the if query, the sidebar appears twice on the front page, i.e. in addition to the one displayed by default, but not on the other pages. From this I conclude that the sidebar is placed somewhere else in the theme code and a condition is set that it can only appear on the front page. Where can I find this place in the theme code or in which .php file do I have to look? Or is there a much simpler solution?

    Thanks for your help. If I need to provide more information, just let me know.

    Translated with DeepL.com (free version)


    @kunzibert09 : If you would like to display the content on other pages. You can add the Catch Instagram block in a page.
    You can also make use of shortcode to display the contents in the desired area. Let me know if you have any more questions.




    I fixed it by creating my own widget area. I just used the ‘Social Gallery and Widget’ because it created the widget area. I’m actually using the jetpack plugin for its own instagram gallery. Now everything works just fine.



    @kunzibert09: Yes, the Catch Plugins team has depreciated the Social Galler and Widget plugins. So, we need to use Jetpack Plugin or Smash Balloon Social Photo Feed Instagram plugin.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show Instagram widget area on other pages’ is closed to new replies.