• Resolved theartpole

    (@theartpole)


    Hi there,

    I tried to create a full-width Instagram feed under my footer area (2 rows with 10 columns) by including the Code: [si_feed] on the end of my footer.php.
    The problem is, that it only shows “[si_feed]” on the website, but no images. If I include the code somewhere else on the site, there isn′t a problem at all and you can see the images.
    I tested another Instagram widget (Snapwidget) on the same area underneath the footer and it works fine. There only seem to be problems with “Simple Instagram”.
    Do you maybe know how to solve it? Cause I really would like to use the Simple Instagram widget due to it′s responsiveness.
    Another problem is, that I only can adjust the rows and columns in the sidebar widget area ( but I′d like to include it under the footer area and not in the sidebar). Do you maybe have a code I can put in my Custom CSS field to get the 2 rows with 10 columns and no padding between the images ?

    Thank you very much in advance!

    https://www.ads-software.com/plugins/simple-instagram/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author mr_speer

    (@mr_speer)

    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

    Thread Starter theartpole

    (@theartpole)

    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]’); ”

    Plugin Author mr_speer

    (@mr_speer)

    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

    Thread Starter theartpole

    (@theartpole)

    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!

    Plugin Author mr_speer

    (@mr_speer)

    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

    Thread Starter theartpole

    (@theartpole)

    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!!!

    Thread Starter theartpole

    (@theartpole)

    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.
    https://www.thevoguence.com/wordpress

    Thank you very much in advance!!!

    Thread Starter theartpole

    (@theartpole)

    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?

    Thread Starter theartpole

    (@theartpole)

    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?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Doesn′t show any images’ is closed to new replies.