I’ve created a shortcode of a sidebar, added a weatherwidget inside the sidebar and then tried to add the shortcode inside cSlider in a html and text layer. Nothing is showing up on the frontend. When I add the shortcode inside an article it works.
Any Kind of help would be appreciated. Thanks in advance.
the webpage i need help with: https://tinyurl.com/pcv2hmf5
This slider not working with other slider like smart slider3
]]>Hi there!
Is someone using a cslider replacement?
We have an old wp website, that were using this plugin… that is too much outdated…
Do you know about another one dointhis job?
And what to do with the cslider custom tags stored in old posts? ??
Best regards!
]]>I’ve notice that the plug-in with WordPress 4 it shows PHP warning:
Illegal string offset Warning on line XXX
I couldn’t remove PHP warning from my webserver so I needed to fix it, in the follwing way:
After :
function cSlider($atts, $content)
{
Added:
$atts=array($atts);
No more warning!
]]>Hola,
cSlider suddenly stopped working after an update to some other plugins. Not sure what’s happened but I suspect it’s a jQuery issue. No auto slide nor slide on click! https://www.norwich.edu
Hi this is vijaykumar. I am using this plugin. where to change CSS styles in this slider?
]]>I’m using cSlider version 2.4.2,
I am using two different sliders on my page, one with default settings and one with changed settings.
I was having a problem with setting attributes in the shortcode,
and it took me almost all morning to figure it out because the logic is solid.
But here is what I found:
in cslider.php the shortcode function uses camelCase to declare $atts if the names are compound words
e.g.
if($atts["infiniteLoop"])
{
$infiniteLoop = $atts["infiniteLoop"];
}
This causes an issue when declaring the attributes in the shortcode and the default settings (or option settings) will be used instead.
When you enter:
[cSlider infiniteLoop='true']
according to the WP Shortcode API, “Attribute names are always converted to lowercase before they are passed into the handler function.”
so the function is getting
$atts['infiniteloop']
but is referencing
$atts['infiniteLoop']
This can be remedied entirely by changing references to $atts to all lowercase both in the shortcode and in the handler function.
Otherwise thanks for making such a handy plugin!
I have a problem with the view of the slider on a page.
I include the slider (in my case fullfill with tables; text the same issue; pictures i not try) between text.
The result is to much space between the text<->slider<->text.
It is possible to fix it?
Example:
<p style="text-align: justify;">Text Text Text [cSlider]
<table style="border: 1px solid #ffffff;" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>TEXT</th>
<th></th>
<th width="112">TEXT....
.
.
.
</tr>
</tbody>
</table>
[slide]
<table style="border: 1px solid #ffffff;" cellspacing="0" cellpadding="0">
<thead>
.
.
.
</tr>
</tbody>
</table>
[/cSlider]</p>
<p style="text-align: justify;">TEXT TEXT TEXT</p>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Christian
]]>Hi Julian,
How can I get the pager location in the centre instead of left aligned?
If I change *.bx-pager a {float:left;}* to *float:centre*, the dots get stacked-up at the left. Must be another way, I guess.
Thanks for the slider!
-Aloys
The height of the slider is being calculated as either too short (hiding text) or too long (big blank space) without even changing any content or styling or touching anything…ONLY BETWEEN BROWSER REFRESH.
<div class="bx-window" style="height:290px; width:900px; position:relative; overflow:hidden;"><div class="cslider1">
then I refresh the browser (and nothing else) and get…
<div class="bx-window" style="height:625px; width:900px; position:relative; overflow:hidden;"><div class="cslider1">
Something in between these two calculations would actually be correct. Any chance you’d include a height override in “Settings”? I can’t use this plugin if this doesn’t get resolved.
]]>I work in SEO/SEM and I recently started doing work on an existing WP website that uses cSlider. Is there any way to add ALT tags to the images in this slider, for SEO purposes? If not, that’s a feature that should be added.
]]>I have installed the plugin as it is described. It is activated an I can change and save the settings. I didn’t change anything inside the files, but there are occuring the following errors:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
Warning: Illegal string offset 'width' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 58
Warning: Illegal string offset 'mode' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 62
Warning: Illegal string offset 'speed' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 66
Warning: Illegal string offset 'infiniteLoop' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 70
Warning: Illegal string offset 'controls' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 74
Warning: Illegal string offset 'startingSlide' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 78
Warning: Illegal string offset 'randomStart' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 82
Warning: Illegal string offset 'hideControlOnEnd' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 86
Warning: Illegal string offset 'auto' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 90
Warning: Illegal string offset 'pause' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 94
Warning: Illegal string offset 'autoDirection' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 98
Warning: Illegal string offset 'autoHover' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 102
Warning: Illegal string offset 'pager' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 106
Warning: Illegal string offset 'pagerLocation' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 110
Warning: Illegal string offset 'ticker' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 114
Warning: Illegal string offset 'tickerSpeed' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 118
Warning: Illegal string offset 'tickerDirection' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 122
Warning: Illegal string offset 'tickerHover' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 126
Warning: Illegal string offset 'easing' in C:\xampp\htdocs\csit\wp-content\plugins\cslider\cslider.php on line 130
I googled it to solve this but I wasn’t able to find a fitting solution.
pls help!!
]]>I placed this exact code within a page but it only results in a table with words, there is no cSlider. What am I doing wrong?
[cSlider]
TESTING 1
[slide]
TESTING 2
[/cSlider]
Not sure if this has been covered before …
Issue: I stretched the width of the slider to 600-900 and I have multiple images in the slider however, I am only able to see 1 image regardless of how far or short I stretch it. Is there a way to show more then just one image in the slider without pressing the arrow to slide them over?
cSlider version: 2.4.2
]]>Hello, Is it possible to place the slides in the center of the page? If so how can I do it? Thank you great plugin
]]>Hello,
The slider is displaying out of order and inserting blank pages in IE, any ideas why?
Thanks for your help on this.
Dave
]]>I’m entertaining the thought of utilizing this plugin to make my website center aligned with zero scrolling for browsers with a minimun height of 1024 px.
While this could be really nifty, I’m not sure yet how this could be implemented for a static page of posts which loads its content via PHP.
I would like to display one post at a time, allowing visitors to slide through them all. I would also need to be able to split longer posts, which otherwise would break the body’s intended height.
I’m not a coder myself, so if anyone can think of a clever solution to this, do please guide me through it step by step.
]]>So I’ve been using CSlider and LOVE it, but today it started randomly causing a list of errors before it. It’s still working fine but I get:
Warning: Illegal string offset ‘width’ in /home/cc0188/public_html/wp-content/plugins/cslider/cslider.php on line 58
And one for each attribute it looks up from there. 19 in total. Any thoughts?
]]>I don’t wanted to investigate more, but I share my solution, so maybe you can add it to the code, also maybe you can improve it.
This worked for cslider 2.4.2 jquery conflict
cslider/cslider.php
changed this:
// $htmlOutput = “<script src=\””.WP_PLUGIN_URL.”/cslider/scripts/jquery-latest.js\” type=\”text/javascript\”></script>
for this:
$htmlOutput = ‘
<script type=”text/javascript”>
if (typeof(jQuery) === “undefined”) {
var loadjQuery = document.createElement(“script”);
loadjQuery.setAttribute(“type”, “text/javascript”);
loadjQuery.setAttribute(“src”, “‘ . WP_PLUGIN_URL . ‘/cslider/scripts/jquery-latest.js”);
document.getElementsByTagName(“head”)[0].appendChild(loadjQuery);
}
</script>
‘;
$htmlOutput .= “
ALSO
$(document).ready(function(){
$(‘.cslider”.$slideID.”‘).bxSlider({
FOR
jQuery(document).ready(function(){
jQuery(‘.cslider”.$slideID.”‘).bxSlider({
Hope you can fix the plugin with this or any other fix, thank you for such great plugin.
]]>Hello,
I am using the cSlider plugin and I love the simple way to convert our text or image in to a slide.
The thing is that I don’t know why but the navigation buttons are showing twice! I mean in duplicate.
Can somebody just tell me what I have to do to fixed up this little bug?
Many thanks for this awesome plugin!
Regards.
]]>Love the plugin but I am have issues on my test site with the image slider overlapping my drop down sub menu.
You can see it here:
https://urbanfoxmedia.ca/gametest/PH/
Hover over “The Game” in the main menu and you will see. Please advise!
]]>Hello! Very nice plugin.
I have a simple question. Could you post an example of how to override the default settings for a slide?
I’ve tried this:
[cSlider pause(3000)]
But it didn’t work.
Thank you!
]]>Hi Mr. Weinert,
Thank you for creating a great plug in! I was hoping you would consider adding the ability to have captions for each slide. I have seen other sliders that take the title attribute of an image and overlay it on top of the corresponding slide, and it would be great if cSlider had a similar option.
This is merely a suggestion; cSlider is wonderful as is.
Thanks again, and keep up the good work!
]]>Hi
Great plugin.
Is it possible to add a pause/stop function when someone clicks play on a video (eg. youtube, vimeo, html5) or audio player (eg: soundcloud, html5 audio etc)
I also noticed on Firefox (mac) that the pager controls align to the left of the top edge of the slider, not above.
Also how would one add additional CSS to the slider. Is it possible to do this without modifying the original php file.
Thanks for your help.
]]>all is working fine, really good stuff. only IE shows double quantity of slides, how i could solve it? thanks
]]>Hiya, Great slider. Can’t stop mine from looping though. Have infinite loop unticked in settings and auto sliding ticked. Running on local host so can’t send url – it maybe I can’t have the above two options in place? Also – if I add the shortcode is the syntax [cSlider infiniteLoop=”false”] ?
Also in your plugin description you have typo “4.infititeLoop {true, false}”
Thanks again.
]]>Hi,
I love the plugin, but every time I insert it into my page (using the short code) there is a space above the slider. When I inspect it with FF, it’s paragraph area. When I put it into a table, there is still about an inch of space above the slider, even if I valign the cell to “top”.
I’m not sure why this is happening. Is it built in? Can I change it?
Thanks.
]]>Hi Julian
Thanks for developing this great plugin.
I have found an issue – see stackoverflow.com/questions/4123876/jquery-easy-slider-plugin-images-truncated – this is exactly the problem i am getting intermittently.
I made a local change to your code cslider.php line 152
$(window).load(function(){ instead of $(document).ready(function(){
but this had a nasty effect of initially showing all the images before collapsing them.
Any ideas?
Thanks.
John
]]>Hi! first of all thanks for this pugin!
I have detected a bug though:
When I re-size the screen to a smaller setting by using Commad -, the slider photos show up broken.
The only browsers that do not get affected by this are Firefox and Opera.
]]>I’d really appreciate if you could help me figure this out…
I am trying to use the cSlider, however the arrows behave extremely different on Firefox and Safari.
Also, the pager in Firefox does not indicate the slide you are on.
this is the website where I am trying to implement it:
https://upgrade-interieur.be/homestaging