Skip to content
This repository

Shortcodes for including TS #8

Closed
chrisvanpatten opened this Issue · 5 comments

2 participants

Chris Van Patten Peter Upfold
Chris Van Patten
Owner

We've gotten a handful of requests for making it possible to include Total Slider in pages or posts via shortcodes.

Worth considering, and here's a place to discuss that/track that development.

Peter Upfold
Owner

I realise how popular a request this might be, but I'm fundamentally not very positive about the idea.

Shortcodes are well understood by many WordPress users and work quite well. They don't, however, feel like they fit in at all with Total Slider's WYSIWYG focus — in fact they would directly contradict that.

Widgets at the moment present a catch-22 problem when there often isn't a desired widget area in the user's theme, but I'd like to use Total Slider to put pressure on theme developers to offer widget areas for plugins to use for this purpose.

There is also the use case where a slider is desired on a particular post or page, but not elsewhere, which right now is challenging, without a lot of fiddly theme tweaking.

I'm not completely averse to using shortcodes, but there needs to be overwhelming community demand for it, and we need to find a way to do it that is as 'nice' and low-friction as possible. No-one should have to type in any code at any point just for basic use of Total Slider, so there would need to be a beautiful, integrated TinyMCE plugin to allow the user to select the slide group and other relevant options.

I'm open to thoughts, comments and suggestions from anyone interested in this feature!

Chris Van Patten
Owner

I generally agree with this, except that I wonder how often end users (e.g. not site admins) will actually be putting Total Slider into position. As of now, I think that's the noble end goal, but I would say the majority of the time in my work anyway, I'm setting it up and dropping the widget into place for clients.

The sample may be skewed now anyway, because anyone who wants to use TS (and have it fit well with their site) has to dive into code anyway to change the CSS/PHP to reflect proper sizing because I haven't made more themes available (and we haven't really considered theme installation procedures), so it's probably safe to say those users are more literate in shortcodes than the average.

Just another point for the discussion. I'm not convinced either way :)

(I hope at least some of that make sense!)

Peter Upfold
Owner

I've had some more thoughts about this, and I'm warming to the idea of shortcodes, perhaps with a TinyMCE plugin that makes it all clickable and code-less for most users.

We do break the complete WYSIWYG 'draggy' nature of the plugin, but it looks like there are going to be enough people that want to include a slider in post content that we need to find a way to do this that is as elegant as possible.

Chris Van Patten
Owner

I think shortcodes are an "advanced" feature, and could be useful for designers/developers implementing the plugin for clients, who are working within an existing theme framework that doesn't have widget areas where they need them.

I agree that widget areas are ideal, but at the same time shortcodes seem like a WordPress core-friendly compromise.

Peter Upfold
Owner

Rudimentary, developer- and power user-focused shortcode support is now available in Total Slider 1.0.3.

I’d still welcome comments and suggestions on this feature as it evolves into a fully polished and documented feature for a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.