Hello.
I installed the bxSlider on worpress, and tried to make it work with this simple short code, typed in a page content:
[slider auto_start=1]
This is my first slide. I can contain any html you like.
[next-slide]
And the shortcode above has made this text be the second slider.
[next-slide]
And thus we are now having the third slide of this slider. Below we close the initial shortcode to notify the end
of the slider. Simple, isn't it?
[/slider]
In result, the markup is replaced, as expected, but the slider doesn’t launch. The basic css and js files are correctly linked, and no error appears in the console.
Do you have any idea on the origin of the problem, or at least, can you tell me how can I debug this ?
]]>Hi,
I saw that your plugin was not updated and so to avoid errors I decide just to enqueue the JS and CSS files in my child theme.
Everything seemed fine but I have noticed this error in my error log.
[06-Jan-2017 10:44:35 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘loadbxslider’ not found or invalid function name in /home1/localcp4/public_html/algarvebusinessdirectory/wp-includes/class-wp-hook.php on line 298
Is it because of this?
/***add_action(‘init’, ‘loadbxslider’);***/
How can I stop this error?
The only other functions I have are enqueue css and js.
Many Thanks
Matt
]]>Hi,
I’m trying to get infiniteLoop working on my slider, but it doesn’t seem to work. In the slider “Extra Options” section I have added:
infiniteLoop: true,
But it doesn’t work.
Any idea how to fix it?
Thanks,
Andy
]]>Hi,
You asked me to use this forum so here we go:
Where do I disable the “override default gallery shortcode” setting and allow for the bxslider to be disabled (not used) on selected galleries posted?
I.e. there are some big galleries that I noticed is not ideal for this plugin so I want to be able to not use bxslider on these.
Thanks,
Anders
Two questions:
1) Does BxSlider Integration utilize the srcset attribute values that WordPress native gallery code outputs? Does it put the appropriate image file into the code generated to make the slideshow, or the entire srcset attribute, or does it only provide the src for the full-size image? If it doesn’t make use of srcset by default, is there any work-around to force it to utilize that info?
2) Does BxSlider Integration utilize any form of lazy loading? Do images continue to load via AJAX after the page has finished loading, or must all of the images in the gallery load before the page finishes loading?
]]>Hi, I am using this great plugin, but all my images are repeating 4 times… no idea why!
The are only once in the media file.
Site: https://www.apartamentos-terrasol.com/alquiler/estudio-en-torre-del-mar/
PHP:
<?php BXSG_ThemeUtils::the_post_gallery( array(
‘exclude_featured’ => 1
) ); ?>
Any ideas?
Thanks in advance.
]]>Hello,
can anyone help me how to make background image to Zoom In/Out like on this website https://www.iwi.com.sg/index.aspx — under “Testimonials” section. thanks!
]]>Hi,
I’m building a slider into a theme template using shortcode, as you suggested in a different thread a year ago, using something like this:
<?php
$my_slider = '[slider]';
$my_slider .= '<p>test 1</p>';
$my_slider .= '[next-slide]';
$my_slider .= '<p>test 2</p>';
$my_slider .= '[/slider]';
echo do_shortcode( $my_slider );
?>
I’m building this inside of a loop, so that each slide is made of one custom-post-type item:
<?php if ( $our_query->have_posts() ) : ?>
<?php
function load_template_part($template_name, $part_name=null) {
ob_start();
get_template_part($template_name, $part_name);
$var = ob_get_contents();
ob_end_clean();
return $var;
}
?>
<?php
$my_slider = '[slider]';
$my_slider .= '<div><p>THIS IS THE PROBLEM RIGHT HERE.</p></div>';
?>
<?php // The loop
while ( $our_query->have_posts() ) : $our_query->the_post(); ?>
<?php
$my_slider .= '[next-slide]';
$my_slider .= load_template_part( 'content', 'homebox' );
?>
<?php endwhile;
// end of the loop ?>
<?php wp_reset_postdata(); ?>
<?php
$my_slider .= '[/slider]';
echo do_shortcode( $my_slider );
?>
This would work fine, except that in the plugin’s shortcode structure, the first slide must be created with different code than all of the remaining slides. (The code for the first slide follows directly after the opening [slider]
shortcode, while the remaining slides each follow a [next-slide]
shortcode.) This keeps me from setting it up programmatically, one loop-item per slide.
So far, the only solution I’ve come up with is to put some “filler” content into the first slide, an ugly workaround. Can you think of another approach?
]]>Hello!
I’m trying to use the shortcode slider setup to build my own HTML slider on a few different pages. This is what I have in there right now:
[bxslider]
This is my first slide. I can contain any html you like.
[next-slide]
And the shortcode above has made this text be the second slider.
[next-slide]
And thus we are now having the third slide of this slider. Below we close the initial shortcode to notify the end
of the slider. Simple, isn't it?
[/bxslider]
The slider doesn’t show, though, I just get ‘[Slider “slider-1” not found]’ in the content of my page.
Is there some setting or something I’m missing?
THANKS!
]]>The captions are not visible. I put “captions: true” in the options field. But nothing happened. Does anyone have the same problem or know why?
]]>Hi, thanks for your great plugin still working in 4.2.4 !
i noticed that under chrome with uBlock 0.9.5.0 the slideshow script is blocked and all images are displayed in a mess, whitelisting the website gives back normal appearance.
it seems to be the Fanboy’s Annoyance List? which block your script.
here is my site url
https://www.asteraseed.com/en/open-field-production/carrot-f1/
When I click on the thumbnail it reloads the whole page, and nothing else happens.
How do I make it so that when I click on the thumbnail the slider scrolls to the correct main image?
Here’s the page:
https://www.thebigquestionmarkartproject.com/bath/
Here’s a line from the HTML source:
title=”003-23″><img src=”https://www.thebigquestionmarkartproject.com/wp-content/uploads/2014/08/003-23-150×150.jpg” alt=”” title=”003-23″ /><a data-slide-index=”111″ href=””
where the href link is blank.
Please can you help me out? This is the only plugin which gets anywhere near what I want it to do but just falls short on this one thing. Otherwise it would be perfect!
]]>Is it possible to target the active carousel thumbnail with CSS?
I would like the active thumbnail to have a colored border – but I don’t see any selector that I can use to target the active thumbnail in the carousel.
Maybe there is a way to add an ID or class to the active thumbnail so that I can add styles?
Thanks so much for all your hard work!
]]>Hello, i’m working with the jQuery slider from the bxslider.com website. Trying to put the navigation directly on the images to slide to prev and next pictures and save additional controls. Unfortunately the images won’t display as a slide anymore. Firebug console giving out a SyntaxError but i can’t figure out what the problem is. I appreciate any help and ideas to enable the onclick functions of the images:
https://f-ux.de/?page_id=903
Thanks for advice, Alex
I have two sliders on the same page. I would like to give them different sets of extra options. How to target each gallery when setting extra options on the bxSlider integration settings screen?
]]>Maybe you could help me with a problem I am currently solving for few hours.
I have a WordPress website that uses bxSlider plugin. On the development version https://topdodavatel.cz/ipcorder/ everything worked fine, but now the images won’t appear unless I examine the element (then they appear).
I checked all the source .js files, but they seem fine.
Anyone solved something similar? Kindly thank you for contribution!
]]>Thanks for your great plugin
Can I add image number like (1 of N) above or below slides ?
I’ve found bxslider have this option but don’t know how to
We use a version of the BX slider that has a tagline and “Learn More” button under each slider image that changes with the slide that links to a page whose URL is set in the CMS.
Well, for mobile purposes, it would be nice for the same link set for the “Learn More” button in the CMS to be applied to the slider image itself – not just the “Learn More” button.
Is this possible as I see no way to set this in the CMS and I see no way in the bxslider.js file to set that as a true/false type parameter.
]]>I have a slider set to display three items at a time. This words fine in horizontal sliding mode, but when I set it to fade, only one item is displayed at a time.
]]>WordPress newby newly aquired site. Added new photos for the slider and the link does not work.
-Added new post
-category: front page slider
-uploaded the photo
-gave it a permalink
-saved
But when i go to the site and click on the photo in the bxslider there is no link.
]]>My question is quite simple: Can this great plugin be used with already existing NextCellent plugin image galleries(from NextGen gallery)?
I have read that it works great with WordPress native galleries but this is not an option for me since i already have 100 NextCellent galleries on my website and i would like to continue using this for image management.
thanks
]]>Does anyone have any experience of using bxslider integration for wordpress to display latest posts from a particular category, including a title, featured image and excerpt?
The code I’m using to display each slide is contained within a separate include file (taken from an old theme). Trouble is, I can’t figure how to break this up, so that the first slide uses the correct shortcode ([slider]) with subsequent slides using [next-slide] followed by the closing [/slider]
I’ve tried wrapping these in <?php echo do_shortcode(‘[shortcode]’); ?> but still to no luck!
Any ideas would be appreciated, thanks!
]]>Hello
how to activate the keyboard to slide the images? I found this info (https://github.com/stevenwanderski/bxslider-4/pull/239/files#diff-849ec2d3bf2f5e66e772df3428bbaf74R300) but this jquery.bxslider.min.js is not similar to jquery.bxslider from plugin.
]]>I am currently using this to get my thumbnail images to go to a certain slide. But I also need the thumbnail to jump to the slide as I have quite a few. I am using this for a team page. You see a slideshow that goes through each member- or you can go through a grid of the team and click on the member you want to see which will to to the slide of that member. So it needs to scroll up. I can’t seem to make [next-slide] an anchor. And the index # is overwritten if I try anything else.
[slider]
This is my first slide. I can contain any html you like.
[next-slide]
And the shortcode above has made this text be the second slider.
[next-slide]
And thus we are now having the third slide of this slider. Below we close the initial shortcode to notify the end
of the slider. Simple, isn’t it?
[/slider]
<div id=”bx-pager3″>
<div class=”bx-team-member”><p>Content </p><img src=”https://www.mysite.com/image” />
</div>
<div class=”bx-team-member”><p>Content </p><img src=”https://www.mysite.com/image” />
</div>
<div class=”bx-team-member”><p>Content </p><img src=”https://www.mysite.com/image” />
</div>
</div>
thank you for this handy slider. I placed in a project but client wants the menu below the slider. the only way I can achieve that is by putting the slider in the header. any assistance will be appreciated. thanks. souleye
]]>When i have more thumbnails than the width of the page. it just hides them, how can i enable scroll?
]]>Hi
can you tell me how can I display captions on slides? and is it possible to show images in lightbox when I click on images?
]]>First of all, thank you very much for your great plugin.
I am actually having a weird issue with the captions.
In the settings, I put “captions:true” which works great when the images do have one. But as soon as the field is empty, an arrow (→) is displayed instead of nothing.
I tried to check into the plugin files but it doesn’t seem to come from it (I guess). What I understand is that it gets the caption of each image from the title attribute.
Do you have any clue?
]]>In bxslider-integration.php, you have the following defined:
define( ‘BXSG_PLUGIN_URL’, WP_PLUGIN_URL . ‘/bxslider-integration/’ );
Using WP_PLUGIN_URL is bad practice. It doesn’t take into account SSL sites (which mine is). Please see: https://codex.www.ads-software.com/Determining_Plugin_and_Content_Directories
“WordPress makes use of the following constants when determining the path to the content and plugin directories. These should not be used directly by plugins or themes, but are listed here for completeness.”
You should be using plugins_url() instead.
]]>I just update the plugin and it ruined my website, I can’t upload anything with the media library and all of my images are gone. ( they don’t show up in the library ). All I want is the older version, version 1.5.1 or 1.50 would be great. if someone has the older version or a way to reach for them please just tell me. thank you all
]]>