Shape 5

Wordpress Club Themes => Corporate Response - Club => : mscott2 June 28, 2013, 10:19:22 AM



: Corporate Response- Info Slide
: mscott2 June 28, 2013, 10:19:22 AM
On my Where We Work page, I want to add 3 info slide boxes like the ones on the homepage top row 1.1-1.3

What's the code I need to use to create the following boxes with titles, image links and info slide text.

Title: Shreveport Bossier
Info Slide Text: Courtesy of Shreveport Bossier Convention & Visitors Bureau

Title: Baton Rouge
Info Slide Text: Courtesy of Baton Rouge Convention & Visitors Bureau

Title: Jackson
Info Slide Text: Info Slide Text: Courtesy of Jackson Convention & Visitors Bureau


: Re: Corporate Response- Info Slide
: Tristan Rineer June 28, 2013, 10:51:01 AM
The generic use for info-slide:

:
[info_slide title="Title goes here" url="http://url.to/your/image.png" lazyload="false"]Your Content Goes Here.[/info_slide]

Lazy Load is default true if not included.
Additional options - height, width, margin, float
NOTE: The more attributes you add, the less responsive the result will be.
NOTE2: To use a shortcode like "[siteurl]" in the image URL, use "{" and "}" instead of "[" and "]".

I'll be adding a "shortcodes" page under "features" on future demos to list all the possibilities.


: Re: Corporate Response- Info Slide
: goodcopy January 29, 2015, 12:44:56 PM
Is there a way to make it so that the entire info slide is a clickable link?


: Re: Corporate Response- Info Slide
: Tristan Rineer January 30, 2015, 09:03:10 AM
I haven't tested it, but you could always try wrapping the shortcode in an <a> tag.


: Re: Corporate Response- Info Slide
: goodcopy January 30, 2015, 11:00:32 AM
I haven't tested it, but you could always try wrapping the shortcode in an <a> tag.

I tried that. It seems to strip the overlay functionality.


: Re: Corporate Response- Info Slide
: Tristan Rineer February 01, 2015, 09:40:35 AM
I tried that. It seems to strip the overlay functionality.

Then that is your answer. 

The shortcode only serves to simplify the process of generating the HTML that Joomla users are forced to create on their own, so you can always look at the Joomla Tutorial for Info Slide (http://www.shape5.com/documentation/Core-Features/Info-Slide) and copy the HTML from there then try to modify it to do what you want.

The CSS versions of Info Slide are included in the latest Vertex Upgrade Patch (http://www.shape5.com/component/option,com_docman/Itemid,96/task,cat_view/gid,308), but they were not in the framework yet at the time that Corporate Response was released, so if you want to use one of those, you'll need to patch your theme.

If you do find a good option for making the whole Info Slide clickable, feel free to post it back here, and I will be glad to update the shortcode in the framework.