-
AuthorPosts
-
January 5, 2018 at 6:38 pm #893793
Hi,
I would like to display an instagram feed between the footer and socket of the page.
To achive this look : https://www.mrz.design/StoryFilms/01.StoryFilms-Home-V1.png
Can you guys, direct me to the file where to copy the shortcode ?This is the link to the page : http://storyfilms.mrz.design/
Thanks a lot.
January 5, 2018 at 11:03 pm #893869Hey tamasmoroz,
You can edit footer.php file and add the script manually.
Best regards,
Jordan ShannonJanuary 5, 2018 at 11:42 pm #893895Hey Jordan ,
Thanks for the quick reply. I thought of this , but can you bee a bit more specific , I’m not exactly a php guru :)
January 6, 2018 at 6:00 am #893954Hi,
Open your footer.php and go to line 70, which will look like this:<!-- ####### END FOOTER CONTAINER ####### --> </div>Then add your shortcode, I suggest also adding a div so you can style it better. Your footer should now look like this:
<!-- ####### END FOOTER CONTAINER ####### --> </div> <div class="instacode"> instagram feed shortcode </div>
You can then add some css to your stylesheet to center it, add background-color, etc.Best regards,
MikeJanuary 6, 2018 at 11:24 am #894027Hey Mike,
Thanks for the help , but unfortunately doesn’t work. The short code is displayed as a plain text , it’s not loaded.
I’ve found a solution , that works.<!-- ####### INSTAGRAM FEED ####### --> <div class='instagram-feed'> <?php echo do_shortcode("[instagram-feed]"); ?> </div>The file , and the location was correct , thanks for that.
Problem solved.January 6, 2018 at 1:47 pm #894082 -
AuthorPosts
- You must be logged in to reply to this topic.
