Title: jmdev's Replies | WordPress.org

---

# jmdev

  [  ](https://wordpress.org/support/users/jmdev/)

 *   [Profile](https://wordpress.org/support/users/jmdev/)
 *   [Topics Started](https://wordpress.org/support/users/jmdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jmdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jmdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jmdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jmdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jmdev/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Responsive Image Slider] Is there a way to call a gallery from php?](https://wordpress.org/support/topic/is-there-a-way-to-call-a-gallery-from-php/)
 *  Thread Starter [jmdev](https://wordpress.org/support/users/jmdev/)
 * (@jmdev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/is-there-a-way-to-call-a-gallery-from-php/#post-5859136)
 * I found a workaround,
 * ultimate-responsive-image-slider.php, comment lines 44 and 55.
 * That will make WordPress enqueue both js and css for all the pages, it kinda 
   loads more crap into the website since you might not be using it everywhere, 
   but it allows you to use the shortcode directly from PHP or from a custom field,
   you might want to pursue a different way to check for the shortcode than if (
   strpos($Post->post_content, ‘URIS’ ) )
 * Btw, I like the plugin, good job!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[a3 Portfolio] Error trying to activate plugin](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/)
 *  Thread Starter [jmdev](https://wordpress.org/support/users/jmdev/)
 * (@jmdev)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/#post-5654712)
 * Thanks for fixing this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[a3 Portfolio] Error trying to activate plugin](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/)
 *  Thread Starter [jmdev](https://wordpress.org/support/users/jmdev/)
 * (@jmdev)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/#post-5654689)
 * Thanks for your response.
 * > The plugin has the flush rewrite on activation function for when first install–
   > we did not miss it – this is it
   >     ```
   >     if ( get_option('a3_portfolio_just_installed') == 'yes' ) {
   >        flush_rewrite_rules();
   >       }
   >     ```
   > 
 * It could be a problem while updating from the previous version, I haven’t tried
   to re-install it so if it is working for you right out the bat it should be fine
   as of now.
 * > “Another one in the portfolio page, when I click in one of the porfolio items
   > in the portfolio page it would give a javascript error as follows:”
   > jmdev – where did you see that? Where you using a debug tool to see it or did
   > it show on the site? Was it a Chrome DE BUGGER tool?
 * I was using the Google Chrome console, this error showed up before installing
   the “Portfolio Isotope Addon”
 * I currently do not have any problems with the Plugin, the only thing that bugs
   me is that after selecting show gallery under that only shows in the individual
   portfolio pages, it does not show like that in the actual “all” portfolios page,
   they just show as default ignoring these settings.
 * Thank you for your support! your portfolio rocks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[a3 Portfolio] Error trying to activate plugin](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/)
 *  Thread Starter [jmdev](https://wordpress.org/support/users/jmdev/)
 * (@jmdev)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-trying-to-activate-plugin-1/#post-5654665)
 * That did work and the plugin was able to activate it.
 * I had a couple problems:
    - One with the permalinks in the portfolio items (they were 404ing) that was
      resolved after updating the permalinks so you’re probably missing a flush_rewrite_rules();
      during the activation.
    -  Another one in the portfolio page, when I click in one of the porfolio items
      in the portfolio page it would give a javascript error as follows:
    -     ```
          Uncaught TypeError: undefined is not a functiona3.portfolio.min.js?ver=1.0.0:1 (anonymous function) jquery.js?ver=1.11.1:2
          m.Callbacks.jjquery.js?ver=1.11.1:2
          m.Callbacks.k.fireWithjquery.js?ver=1.11.1:2
          m.extend.readyjquery.js?ver=1.11.1:2
          J
          ```
      
    - This error went away once I installed the a3 Portfolio Isotope Add-on.
 * Thanks for the quick fix and feedback!

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