When these countdowns hit zero they should should change…
T(-) Countdown
[tminus id='free' t='+5 seconds']html[/tminus]
T(-) Countdown Control
[tminus id='pro' cid='1451'/]
A Pluginoven Test Site
When these countdowns hit zero they should should change…
[tminus id='free' t='+5 seconds']html[/tminus]
[tminus id='pro' cid='1451'/]
This is a test of the multi schedule countdown.
As version 1.4.1 we added a fancy new attribute called select_text and it works like this:
[archives type="monthly" limit="7" format="option" select_text="Choose Wisely"]
weekly:
[tminus t="12-12-2014 08:00:00" style="cloud-city"]
Default/Left Arrow:
[expand title="arrow to the left"]<-- see that, that's left[/expand]]
[expand title="arrow to the left"]<-- see that, that's left[/expand]
Right Arrow:
[[expand title="arrow to the right" trigclass="arrowright"]checkout what is to the right -->[/expand]
No Arrow:
[expand title="no arrow to be found" trigclass="noarrow"]the arrow is not to be found[/expand]
Both Left & Right Arrow:
This method requires the extra-trigger feature of Collapse-Pro-Matic and must be built using the roll-your-own method and a bit of css:
Place the following css in the collapse-o-matic (or collapse-pro-matic) plugin options page, under Custom Style:
.magic_beans {
display: inline;
float: left;
margin-right: 1.2em;
}
.clear {
clear: both;
}
<div class="collapseomatic magic_beans" id="doublearrow" title="double arrows!">double arrows!</div><div class="collapseomatic magic_beans" id="extra-doublearrow"></div>
<div id="target-doublearrow" class="collapseomatic_content clear"><--to the left, to the right--></div>
Normally, the before and after attributes work like this:
[archives type="yearly" before="before text " after=" after text"]
But what if we add a new attribute called ‘all_is_link’ that places the before and after text INSIDE of the html link… and set it like so:
[archives type="yearly" before="before text " after=" after text" all_is_link="true"]
Using the expand shortcode we can create a simple collapse-o-matic accordion element like so:
[expand title="Trigger Text"]Target Content[/expand]
Now, if we wanted to do the same thing but using the roll-your-own method we would have to create the elements manually:
<div class="collapseomatic " id="my_id" title="Trigger Text">Trigger Text</div>
<div id="target-my_id" class="collapseomatic_content ">Target Content</div>
Now, we have the freedom to put the target element whatever we want: before, in or after the Trigger element. For example, here a link has been placed between the target and trigger:
<div class="collapseomatic" id="my_new_id" title="Trigger Text">Trigger Text</div>
<a href="http://plugins.twinpictures.de/premium-plugins/collapse-pro-matic/">Special Link</a>
<div id="target-my_new_id" class="collapseomatic_content ">Target Content</div>
Now if we apply a bit of CSS magic, we can have the trigger and link display inline:
Place the following css in the collapse-o-matic (or collapse-pro-matic) plugin options page, under Custom Style:
.magic_beans {
display: inline;
float: left;
margin-right: 1.2em;
}
.clear {
clear: both;
}
<div class="collapseomatic magic_beans" id="my_unique_id" title="Trigger Text">Trigger Text</div><a href="http://plugins.twinpictures.de/premium-plugins/collapse-pro-matic/" class="magic_beans">Collapse-Pro-Matic</a>
<div id="target-my_unique_id" class="collapseomatic_content clear">Target Content</div>
<img src="https://spacedonkey.de/wp-content/uploads/2016/01/2001_Space_Odysey-300x145.gif" class="collapseomatic noarrow" id="some_id" title="Hover over Trigger Text">
<div class="collapseomatic_content" id="target-some_id" >Target Content</div>
Highlander grouping is accomplished by adding data-group=”group_name-highlander” like so:
<div class="collapseomatic" id="monkey" data-group="animal-highlander" title="Monkeys">Monkeys</div>
<div id="target-monkey" class="collapseomatic_content">The monkey says Eek! Eek!</div>
<div class="collapseomatic" id="donkey" data-group="animal-highlander" title="Donkeys">Donkeys</div>
<div id="target-donkey" class="collapseomatic_content">The Donkey says Hee Haw</div>
This is a test where the collapsed content contains a responsive element.
Test two gives the responsive element a min-height
Test three wraps the responsive element in another element with a min-height
wrapping element
Test four. The responsive element has a class of ‘resizeme’ and we fire a callback to figure out it’s size once the expand has happened:
jQuery('.resizeomatic').css('height','300px');
The following will list all attachments with a media type of image/jpeg and link directly to the image:
[[list-related-attach type="image/jpeg"]]
[list-related-attach type=”image/jpeg”]
This should show the same thing, but link to the attachment page:
[[list-related-attach type="image/jpeg" link_to="attachment"]]
[list-related-attach type=”image/jpeg” link_to=”attachment”]
and here we test the orderby attribute:
[[list-related-attach type="image/jpeg" orderby="title" order="ASC"]]
[list-related-attach type=”image/jpeg” orderby=”title” order=”ASC”]
This is an example of a form inside an expand element:
[expand title="Click To View Form"][[contact-form-7 id="485" title="Contact form 1"]][/expand]
Here is an example of a expand element inside a form:
[[contact-form-7 id="1504" title="Collapse-O-Form"]]
[contact-form-7 id=”1504″ title=”Collapse-O-Form”]
As you can see, the shortcode does not render inside Contact Form 7. There is a work-around for that described here.
Finally, we are going to try using the roll-your-own method.
[[contact-form-7 id="1508" title="Roll-O-Form"]]
[contact-form-7 id=”1508″ title=”Roll-O-Form”]
Yup, that works!