Title: Hardcoding Instapress
Last modified: August 20, 2016

---

# Hardcoding Instapress

 *  Resolved [90revolutions](https://wordpress.org/support/users/90revolutions/)
 * (@90revolutions)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/hardcoding-instapress/)
 * I’m interested in hardcoding the Instapress information into the sidebar of my
   website. The website is [http://90revolutions.com/endurancedigest](http://90revolutions.com/endurancedigest).
   This site doesn’t use the typical widget coding to add sidebars, therefore I 
   need to hardcode the information. I currently placed <?php echo do_shortcode(‘[
   instapress piccount=”9″]’); ?> into the Instapress <div> to test the look. The
   look of Instapress is great, but how do I retrieve my pictures? What code do 
   I place in my “Snapshots” section to pull my gallery instead of a difficult gallery?
 * Thank you in advance,
    Steve
 * [http://wordpress.org/extend/plugins/instapress/](http://wordpress.org/extend/plugins/instapress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [90revolutions](https://wordpress.org/support/users/90revolutions/)
 * (@90revolutions)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/hardcoding-instapress/#post-2520592)
 * I have a solution in case anyone needs to solve the same problem above. In the
   instapress directory, open the instapress.php. On line 135, change ‘userid’ =
   > ”, to ‘userid’ => ‘[YOUR INSTAPRESS ID]’,.
 * Cheers,
    Steve
 *  Plugin Author [tkrammer](https://wordpress.org/support/users/tkrammer/)
 * (@tkrammer)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/hardcoding-instapress/#post-2520655)
 * Hi Steve,
 * the right way to do that is to add you userid to the shortcode. You shouldnt 
   change any instapress code because your changes will be lost after any update!!!
 * So the right way:
 * > `<?php echo do_shortcode('[instapress piccount="9" userid="YOUR INSTAGRAM USERID
   > OR NAME"]'); ?>`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hardcoding Instapress’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/instapress.svg)
 * [Instapress](https://wordpress.org/plugins/instapress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instapress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instapress/)
 * [Active Topics](https://wordpress.org/support/plugin/instapress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instapress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instapress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tkrammer](https://wordpress.org/support/users/tkrammer/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/hardcoding-instapress/#post-2520655)
 * Status: resolved