- This topic has 3 replies, 3 voices, and was last updated 11 months, 1 week ago by Sakin.
-
AuthorPosts
-
December 14, 2023 at 7:57 pm #330878Kunzibert09Participant
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’ ); ?>
</div>
<?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)
December 15, 2023 at 12:21 am #330887tikaramParticipant@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.Regards,
TikaramDecember 15, 2023 at 4:51 am #330888Kunzibert09ParticipantHi!
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.
Greetings!
December 15, 2023 at 10:27 am #330890SakinKeymaster@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.
-
AuthorPosts
- The topic ‘Show Instagram widget area on other pages’ is closed to new replies.