Instagram ID pulled from user profile not working
-
Hello,
I’m currently running WordPress from a localhost because this is my first time building a website, and I’m testing it before I upload it to my site.
I’ve added a box for Authors to fill in for their Instagram ID. I then am trying to add this widget to an Author Page Template through the php file.
By using
<?php echo $curauth->instagramid; ?>
I am able to recall the ID each Author added. It works just by itself, but when I try to add it to the shortcode of this widget like so:<?php echo do_shortcode('[instagram-feed id="<?php echo $curauth->instagramid; ?>"]');?>
The widget simply keeps loading, and never shows anything. I’ve set up the plugin properly, and it even works when I put in the ID itself rather than trying to recall it.
Is there something I’m doing wrong, or something I missed in the directions or FAQ? If you need anymore information please let me know. I have ever intention of purchasing this widget once I place the website online. Thank you so much.
- The topic ‘Instagram ID pulled from user profile not working’ is closed to new replies.