Hello!
First I’ll address the initial issue of images not showing. If I’m understanding you correctly, I think you’ll need to call the do_shortcode function in your footer:
do_shortcode('[si_feed]');
This should render the data as a shortcode instead of just printing out the text. Give that a shot and let me know if you still run into the same issue.
Thanks!
mr_speer
Hi,
thanks for your reply.
After including your code, the images are still not showing. Same problem as before, it´s only showing the text ” do_shortcode(‘[si_feed]’); ”
Hmm it sounds like it’s not registering as PHP. Just for clarification, you’re editing your footer.php file, correct? If so, depending on where you’re putting it, you’ll need to wrap the whole thing in PHP tags:
<?php
do_shortcode('[si_feed]');
?>
Otherwise the browser just interprets it as plain text. Let me know if that seems to address it. If not, it’d be helpful if you could post a snippet of where you’re placing the code for further troubleshooting.
Thanks!
mr_speer
Still no success. Yes, I´m editing the footer.php.
I´d like to have the code on the bottom of the site. But I also tried to put the code on different places in the footer.php – nothing worked.
footer.php:
…
?>
</body>
</html>
(here I tried to include the code)
The other widgets are working fine.
Troubles occur with Simple Instagram only in the footer.php ( on a normal page Simple Instagram works perfectly) :-/
Thanks for the help!
I see a couple things that could be it –
First, you need to make sure to include the code snippet before the closing body tag (</body>), otherwise you’re using invalid HTML code.
If you placed it properly and still aren’t getting any output, try echoing the do_shortcode command. If you include it before the closing ?> tag, you won’t need to add PHP tags. It should look like this:
echo do_shortcode('[si_feed]');
Let me know if this seems to work.
mr_speer
Like I wrote I tried to put the code already on different places in the footer.php (before and after </body>). Nothing worked.
I also tried echoing it, still no success. It´s quite strange as other widgets work fine in the footer.php , no matter where I place them …
Maybe I look for another widget then, as it seems difficult to find the problem.
But thank you very much for your fast and help and effort!!!
Hi,
I´m still looking for a solution for my Instagram feed and found somebody which is using your Plugin on the same place I´d like to place it.
The last time I wrote here, it didn´t seem to work at all. That´s why I wanted to try it again and copied her code and custom css on my site and the Plugin works fine after all! She also added comments and likes on her feed, which I wouldn´t need. But I also have seen, that she didn´t use the simple function: [si_feed] in her footer.php…
The problem still is, I can´t seem to manage to include my own account/feed, the way she does.
Could you maybe have a look on my testwebsite? Probably you can tell the problem.
http://www.thevoguence.com/wordpress
Thank you very much in advance!!!
Hi,
after a lot trial and error I finally managed to make it work! 🙂
I don´t know why it didn´t work the last time, when I included this code in my footer.php…
<?php
do_shortcode(‘[si_feed]’);
?>
But now everything is fine!
I also wanted to include space between the images and tried it with this code:
.si_feed .si_item{
width: 10%; margin-left: 6px !important; margin-right: 6px !important; margin-top: 6px !important; text-align: center !important; }
I have two rows of images and the problem is, as soon as the screen goes smaller 2 or 3 images are jumping down on a third row. Can I avoid this somehow or is this a common problem when adding space between the images?
Hi,
after a lot trial and error I finally managed to make it work! 🙂
I don´t know why it didn´t work the last time, when I included this code in my footer.php…
<?php
do_shortcode(‘[si_feed]’);
?>
But now everything is fine!
I also wanted to include space between the images and tried it with this code:
.si_feed .si_item{
width: 10%; margin-left: 6px !important; margin-right: 6px !important; margin-top: 6px !important; text-align: center !important; }
I have two rows of images and the problem is, as soon as the screen goes smaller 2 or 3 images are jumping down on a third row. Can I avoid this somehow or is this a common problem when adding space between the images?