koendewit
Forum Replies Created
-
@mintonxbz, not shure if I understand your question, but did you check the options “Deactivate gallery page link > The album will not link to a gallery subpage. The gallery is shown on the same page.” and “Show first > Thumbnails” and uncheck “Integrate slideshow” in the Nextgen Gallery > Option > Gallery settings?
little sun, try this;
open one of your gallery pages and check the source code for one of the thumbnails, either with Firefox > Tools > Web Developer > Inspect or Safari’s Develop > Show Page Source. You’ll find it saying something like: `<a href=”https://yoursite.com/wp-content/gallery/name/image.jpg” title=” ” class=”fancybox_plugin” rel=”set_11″>
<img title=”title” alt=”title” src=”https://yourwibsite/wp-content/gallery/name/thumbs/thumbs_image.jpg” width=”64″ height=”48″></a>`Then open the plugin editor in WordPress, select Photoswipe for NextGEN Gallery, and open
photoswipe-for-nextgen-gallery/js/ngg-photoswipe.js
Then add the fancybox_plugin_class to the list below, like this:
jQuery(document).ready(function(){ //Remove thickbox effect: jQuery('a.thickbox').removeClass ("thickbox"); //Remove lightbox effect: jQuery('a[rel^="lightbox"]').attr("rel",""); //Remove highslide effect: jQuery('a.highslide').removeClass("highslide").attr("onclick",""); //Remove shutter effect: jQuery('a[class^=shutterset]').removeClass (function (index, css) { return (css.match (/\bshutterset\S+/g) || []).join(' '); }); //Remove fancybox effect: jQuery('a.fancybox_plugin').unbind('click.fb').addClass('nolightbox').removeClass('fancybox_plugin'); });
(just replace (‘a.fancybox_plugin’) and (‘fancybox_plugin’) with the name of the class you find in the source code)
Workes for me, I use NextGEN Gallery Fancyboxer which creates a class=myfancybox. Good luck!
Nevermind, I got it working. Added a class to be removed (myfancybox).
Cheers,
KoenHi Guillermo, I’m kind of dealing with the same issue. I use the Fancybox for WordPress plugin combined with NextGen and would like to use your plugin for mobile visitors.
Although your Photoswipe loads fine, so does Fancybox. Then it closes again, leaving the Fancybox background as an overlay on Photoswipe. Any idea on how I to get around this?for an example please visit koendewit.com/2010/01/dia-2010
Thanks in advance for your time and effort!Koen
Forum: Plugins
In reply to: [Social] wrong imageIt’s too bad, this plugin’s concept is wonderful, but for now I agree with xanathon.
Not sure about the date range, but the line break can be done.
Find simple-upcoming-events.php and then add'<br />' .
between$output .= '<li>' . $event_date .
and' <a href="' . $permalink . '">' . htmlspecialchars($post_title) . '</a>';
So it will become:$output = ''; if($posts) { foreach ($posts as $post) { $post_title = get_post_meta($post->ID, $event_name_key, true); if(empty($post_title)) $post_title = stripslashes($post->post_title); $permalink = get_permalink($post->ID); $event_date = date($date_format, strtotime($post->event_date)); $output .= '<li>' . $event_date . '<br>' . ' <a href="' . $permalink . '">' . htmlspecialchars($post_title) . '</a>'; $output .= '</li>';
good luck!