kosinix
Forum Replies Created
-
Forum: Plugins
In reply to: [Cyclone Slider] jQuery conflict with other plugin?Marking this as solved. For reference I have posted the fix for the GC Testimonials – Cyclone2 conflict here. This code goes to your functions.php:
/*** GC Testimonial Overrides ***/ remove_action('widgets_init', 'gct_load_testimonial_widgets' ); // Remove widget added by GC Testimonial add_action('widgets_init', 'overrride_gct_load_testimonial_widgets'); // Add our own widget function overrride_gct_load_testimonial_widgets() { register_widget('Override_GCT_Testimonial_Menu_Widget'); } add_action('wp_footer', 'override_gct_widget_code'); // Add our own script function override_gct_widget_code(){ echo '<script type="text/javascript">jQuery(document).ready(function($) { $("#tcycle").cycle({ fx: "fade", speed: 1500, timeout: 1000, pauseOnHover: true, slides: ">div" }); }); </script>'; } if(class_exists('GCT_Testimonial_Menu_Widget')): class Override_GCT_Testimonial_Menu_Widget extends GCT_Testimonial_Menu_Widget { function widget($args, $instance) { if (is_active_widget( '', '', 'gc-testimonial-widget' )) { wp_enqueue_style('gctwidgetstyles', plugins_url().'/gc-testimonials/assets/css/gctwidget.css', false, '1.0', 'all'); //add_action('wp_footer', 'gct_widget_script'); // Remove offending scripts //add_action('wp_footer', 'gct_widget_code'); } $data = array_merge($args, $instance); echo $data['before_widget']; if ( !empty( $data['title'] ) ) { echo $data['before_title'] . $data['title'] . $data['after_title']; }; if ( !empty( $data['limit'] ) ) { $no = $data['limit']; } else { $no = '2'; } if ($data['category'] != 'all') { $term = get_term_by('id', $data['category'], 'testimonial-category'); $term_taxonomy = $term->taxonomy; $term_slug = $term->slug; } else { $term_taxonomy = ''; $term_slug = ''; } $args = array( $term_taxonomy => $term_slug, 'posts_per_page' => $no, 'orderby' => 'post_date', 'order' => 'DESC', 'post_type' => 'testimonial', 'post_status' => 'publish' ); $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $posts_array = $wp_query->query($args); if ($data['type'] == 'cycle') { echo '<div id="tcycle">'; } foreach($posts_array as $post) { // Add custom fields $selected_extended_posts = array(); $custom = get_post_custom($post->ID); foreach(array('client_name', 'client_photo', 'company_website', 'company_name') as $field) { if(isset($custom[$field])){ $post->$field = $custom[$field][0]; } } $selected_extended_posts[] = $post; $testimonial = $post; echo '<div class="testimonial-widget">'; if(!empty($testimonial->post_title)): echo '<h5>'.$testimonial->post_title.'</h5>'; endif; if ($data['images'] == 'yes') { if(has_post_thumbnail($testimonial->ID)) { echo '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, array(75, 75)).'</div>'; } } echo '<div class="content">'.wp_trim_words( $testimonial->post_content, $num_words = 50, $more = '...' ).'</div>'; echo '<div class="clear"></div>'; echo '<div class="client"><span class="name">'.$testimonial->client_name.'</span><br/>'; if(!empty($testimonial->company_name) && !empty($testimonial->company_website)): echo '<span class="company">'; echo '<a href="'.$testimonial->company_website.'" target="blank">'.$testimonial->company_name.'</a>'; echo '</span>'; elseif(!empty($testimonial->company_name)): echo '<span class="company">'; echo $testimonial->company_name; echo '</span>'; elseif(!empty($testimonial->company_website)): echo '<span class="website">'; echo $testimonial->company_website; echo '</span>'; endif; echo '</div>'; echo '</div>'; } if ($data['type'] == 'cycle') { echo '</div><div class="clear"></div>'; } if ($data['more'] == 'yes') { $link = get_permalink($data['fullpage']); echo '<p class="kcvtst-widget-readmore"><a href="'.$link.'">Read More Testimonials »</a></p>'; } echo $data['after_widget']; } } endif;Forum: Plugins
In reply to: [Cyclone Slider] How can I open the slider in a much bigger version?Hello mm,
That is not currently supported, sorry.
Best regards
Forum: Plugins
In reply to: [Cyclone Slider] How can I center (crop) images in the slideshow?Hello guys,
There is a good example on my site: http://www.codefleet.net/cyclone-slider-2/templates/lea/
Click on the 7th slide with the pictures of wildebeest. As you can see I added a text-align:center on the image containing element:
.cycloneslider-template-lea .cycloneslider-slide{ text-align:center; }and similar to Chad Warner’s comment above, add margin: 0 auto. BUT, adding !important is considered bad practice, so just make your style more specific (you can google that).
So:
.cycloneslider-template-lea img{ display:block; margin:0 auto; }Note, you have to change
.cycloneslider-template-leato the class name of your template.Forum: Plugins
In reply to: [Cyclone Slider] jQuery conflict with other plugin?Hello dpiffy,
Good job with researching your issue thoroughly before posting. Please PM me using the contact form here: http://www.codefleet.net/contact/
Please include a link to your site in your message.I’ll be happy to help you.
Best regards
Forum: Plugins
In reply to: [Cyclone Slider] Slider Doesn't Stop When Watching Youtube VideoHello dmcallister1,
I’ll try and answer your questions for future referrence for other users.
“when the slider is sliding, and I choose a video. the video only plays if I keep the mouse over it.” >> You can set timeout to zero and use manual transition instead.
“What should happen is the chosen video should play in its entirety and then the slider should resume.” >> Not currently possible due to limitations with underlying script cycle2. However its possible to pause the slideshow when slideshow is transitioning to the next slide. It can be achieved with the Youtube template. But it has its limitations too. You can check it here: http://www.codefleet.net/cyclone-slider-2/templates/youtube/
“if your plug in cant do that, just tell me so I can move on to another plugin.” >> No it can’t. A quick google search would yield many other plugins that might fit your needs.
Assuming you have moved on im marking this as resolved.
Forum: Plugins
In reply to: [Cyclone Slider] Full-height slideshow?Hello -bene-,
Sorry but the full height (or full screen) slideshow like that in pexetothemes is not currently supported. It may be possible to modify Cyclone Slider 2 but that would require a great amount of effort to achieve.
As for the answer to your question, you need to write your own javascript in script.js and css in style.css of your custom template. See: http://www.codefleet.net/cyclone-slider-2/#templating
Hope this helps
Forum: Plugins
In reply to: [Cyclone Slider] Importing NextGen Gallery contentHello nadinecamille,
Unfortunately the previous update broke the nextgen importer. Please update to the latest version (2.5.6) to fix this issue. Thank you for your patience.
Best regards
Forum: Plugins
In reply to: [Cyclone Slider] Blank slideshowHello saosangmo,
Cyclone is in conflict with cycle 1 that comes with the theme. Please remove: <script type=’text/javascript’ src=’http://quangcaothanglong.vn/wp-content/themes/oxygen/js/cycle/jquery.cycle.min.js?ver=1.0′></script> for cyclone to work. Please consult the oxygen theme documentation on how to do this.
Thanks
Forum: Plugins
In reply to: [Cyclone Slider] Problem: WPML Responsive Theme version 2.5.5Update: Currently waiting from wpml.org to give us a copy (free developer version) of their plugin for testing.
Forum: Plugins
In reply to: [Cyclone Slider] Problem: WPML Responsive Theme version 2.5.5Thanks for reporting goeko. Were looking into it now.
Best regards,
-kosinixForum: Plugins
In reply to: [Cyclone Slider] [slideshow not found]Hello guys, this is hard to debug as I dont know anymore details other than the slideshow not found error. Please try out the latest version and see if that helps since I changed the code that gets the slideshow (see changelog for details) so see if that makes a difference. I would appreciate your feedback.
Thanks!
Forum: Plugins
In reply to: [Cyclone Slider] Slider jerks when transitioningHello Paxjah. Hmm could be because I updated cycle2 to the latest version. That’s the only change that I can relate to the issue you are experiencing. Anyways please do send me an email so I can check.
Forum: Plugins
In reply to: [WP Metaboxer Lite] Get value of selectUse this in your template file <?php echo mtbxr_val(‘se_lect’); ?>
Forum: Plugins
In reply to: [BxSlider WP] malfunctionHello pikaya,
I have checked your link but it contains only a single line of paragraph without the slider. Would you mind sending me another link?
Best regards,
kosinixForum: Plugins
In reply to: [Cyclone Slider] how does the plugin handle different picture sizes?Hello davedub.
The function you are looking for is cyclone_slide_image_url. Unfortunately its not documented at the moment. But you can check the code in inc/functions.php.
To set resize to portrait:
Inside your template in slider.php find the cyclone_slide_image_url. This function takes care of resizing the image and returns the url to that image. Add the resize_option to the passed parameter:
<?php echo cyclone_slide_image_url($slider_meta['id'], $slider_settings['width'], $slider_settings['height'], array('current_slide_settings'=>$slider_meta, 'slideshow_settings'=>$slider_settings, 'resize_option'=>'portrait') ); ?>