• Hi,

    While trying to display the following shortcode [instagram-feed] at my under construction page which I have created via Under Construction WP plugin, it seems like it doesn’t work as expected.

    Is it maybe possible to display the Instagram posts with any other way except shortcode on this page?

    Waiting for your advice.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey d.chatzimanolis,

    You may need to contact the Under Construction plugin but I think the only way would be to edit the PHP template file and use “echo do_shortcode( ‘instagram-feed’ );” to display it.

    Do you see just the plain shortcode ([instagram-feed]) when you add it to the under construction page currently? Then the suggestion above would be the only method to add the feed to the page.

    Thanks,

    Craig

    Thread Starter d.chatzimanolis

    (@dchatzimanolis)

    Hello Craig,

    Yes I see only the plain shortcode ([instagram-feed]) when I add it to the under construction page.

    Under construction plugin has indeed an under-construction.php file but I am not sure at which line of it I must add the “echo do_shortcode( ‘instagram-feed’ );” to display it under skype information of my under construction page.

    You can download and have a quick look on this file here.

    Waiting for your further advice.

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Sounds good!

    In this case, you would be better off contacting the Under Construction WP plugin authors for advice on where to add code. Otherwise it would just be a matter of adding the code where you think it might work and seeing the results.

    Plugin Author smashballoon

    (@smashballoon)

    @dchatzimanolis, just a slight correction – you’d need to make sure the ‘instagram-feed’ shortcode includes the square brackets [] inside the do_shortcode function in order to render to the page, like so:

    echo do_shortcode('[instagram-feed]')

    Like Craig said, you can just add this anywhere in that template file where you want the shortcode to be displayed, but if you need specific directions on which parts of that file are for which parts of your Under Construction page then it’d be best to contact the developers of that plugin.

    Let us know if you have any further questions at all.

    John

    Thread Starter d.chatzimanolis

    (@dchatzimanolis)

    Unfortunately the Under Construction WP plugin authors replied to me that they cannot provide support for custom modifications on the free version of the plugin.

    Plugin Author smashballoon

    (@smashballoon)

    Hi @dchatzimanolis, that’s unfortunate as it’s really just a matter of them letting you know which line to place the code so it’ll show up on your page. If they’re not willing to help then it might be worth using trial and error to try placing the code in various places to see where it shows up. Or inspecting the code of your page and then searching for some of that code in that file to see where it’s generated. Then you could place the code within it.

    Hopefully that helps!

    John

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t display [instagram-feed] in content’ is closed to new replies.