Simpleviewer plugin problem

resolved (12 posts) (2 voices)

  1. losbrowns

    I just purchased and installed Method on my site. I love the customization flexibility. It's a great theme.

    I am, however running into a compatibility issue with the Simpleviewer worpdress plugin. My guess is that it is due to the requirement that the "active theme must call the wp_head function in it's header.php file." I have seen this before with other older themes, but not so much with new ones.

    Would you please confirm whether Method does/does meet the wp_head function requirement? If it doesn't, would you please suggest a workaround (where to place the code without breaking things)?

    I realize that method has some built in functionality for images, and I will give them a try, but this plugin is part of my workflow and is important for me to keep using it for the foreseeable future.

    Link to WP-Simpleviewer requirements page:

    Posted 6 years ago #
  2. Elliott

    Hello losbrowns,

    You can find the wp_head call on line 21 in /wp-content/themes/method/header.php.

    I noticed on the plugin page that it says it's not compatible with lightbox. We use a script called "prettyPhoto" which is a lightbox clone so that may have something to do with it.

    Our framework has quite a few different ways to display images though losbrowns,

    Is there a certain look you are going for? Or perhaps your wanting to display a gallery somewhere?

    Posted 6 years ago #
  3. losbrowns

    Thank you for the speedy response.

    I didn't realize a lightbox clone is active. That is definitely a problem. Any way to deactivate it?

    This is an example of the gallery look I am going for: I normally put galleries inside my post. They are generally photos of my family and kids, or something I found interesting to shoot. I used to use the Recycled Canvas theme (no longer updated) ( as the overall look for the site and hoped that I could re-create it with Method.

    What I liked about Recycled Canvas was the rotating image banner, and the Featured post with 3 columns of older post underneath on the home page.

    As far as image galleries, here is my current workflow:
    1. Import images from camera to iphoto (or Aperature)
    2. Export desired images directly to Flickr. I don't have to do a local export then upload.
    3. Create a new WP post and embed simpleviewer code via Simpleviewer post editor button.

    What I like about the current solution:
    1. Only take a couple of minutes. I can batch upload straight from iPhoto (or Aperature) to Flickr.
    2. Galleries are dynamic. I can create galleries based on Flickr sets or tags, If I tag new photos, or add photos to a set, the gallery automatically updates
    3. Takes no space on my web server

    I have taken a brief look at the built-in image functionality, but even if I can achieve the same look, the workflow looks much more involved. Am I missing something?

    This is probably way more information than you wanted, but I really want to make this work. I look forward to your solution(s).

    Posted 6 years ago #
  4. Elliott

    Open up /wp-content/themes/[your_theme]/lib/scripts/custom.js and around line 72 - 77 you can find the prettyPhoto code,

     * prettyPhoto
    jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
    	overlay_gallery: false, social_tools: '', 'theme': 'light_square' /* light_square / dark_rounded / light_square / dark_square / facebook */

    To prevent it from loading open up /wp-content/themes/[your_theme]/lib/functions/scripts.php and delete / comment out lines 27 - 29,

    # For prettyPhoto
    wp_register_style( MYSITE_PREFIX . '_prettyphoto', esc_url( THEME_JS . '/prettyphoto/css/prettyPhoto.css' ), false, THEME_VERSION, 'screen' );
    wp_register_script( MYSITE_PREFIX . '_prettyphoto', esc_url ( THEME_JS . '/prettyphoto/js/jquery.prettyPhoto.js' ), array('jquery'), THEME_VERSION, true );
    Posted 6 years ago #
  5. losbrowns

    I commented out lines 27-29. Still doesn't work. Any thoughts?

    With the built in tools, is there anyway to work with a Flickr?

    Posted 6 years ago #
  6. Elliott

    We have a flickr widget and a shortcode here,

    If you'd like we can make it so they open up within prettyphoto.

    Posted 6 years ago #
  7. losbrowns

    It looks promising. Two questions:

    Can I populate with a Flickr "set", or Flickr tag?
    Does is support getstures for mobile viewing?

    Thanks again for all your help.

    Posted 6 years ago #
  8. Elliott

    You would use your flickr ID. You can get your ID here,

    When you say "gesture" do you mean slide between the images by using touch control? If so then no it will open up in prettyphoto when clicked on and you can scroll between the image in prettyphoto by clicking (or tapping if on mobile etc etc).

    Prettyphoto may be updated in the future to include this though.

    Posted 6 years ago #
  9. losbrowns

    Got it. I'll give it a try and see how it works for me.

    The set ID or tags functionality (both part of the flickr API) would make this much more useful for a gallery specific to a post, as opposed to just pulling a random or fixed # of photos from your photostream. Images from the photostream are more useful as a sidebar. or a page that isn't tied to other content.

    So no other ideas on getting the SimpleViewer Plug-in working?

    Posted 6 years ago #
  10. Elliott

    I'll install it tomorrow and do some testing.

    Posted 6 years ago #
  11. Elliott

    Try surrounding your shortcode with raw tags like so, [raw] [/raw].

    Posted 6 years ago #
  12. losbrowns

    That fixed it. Thank you so much.

    Posted 6 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme