This is a test of the multi schedule countdown.
Annual Archive Select Text Test
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:
- Mon, 21st August, 2023–Sun, 27th August, 2023
- Mon, 8th May, 2023–Sun, 14th May, 2023
- Mon, 27th March, 2023–Sun, 2nd April, 2023
- Mon, 20th February, 2023–Sun, 26th February, 2023
- Mon, 13th June, 2022–Sun, 19th June, 2022
- Mon, 24th January, 2022–Sun, 30th January, 2022
- Mon, 6th December, 2021–Sun, 12th December, 2021
T-Countdown Cloud City Style
[tminus t="12-12-2014 08:00:00" style="cloud-city"]
Collapse-Pro-Matic Arrows
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:
Magic 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;
}
Roll-Your-Own Method w/ Magic CSS
<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>
Archive-Pro-Matic all_is_link Attribute Test
Normally, the before and after attributes work like this:
[archives type="yearly" before="before text " after=" after text"]
- before text 2023 after text
- before text 2022 after text
- before text 2021 after text
- before text 2020 after text
- before text 2019 after text
- before text 2018 after text
- before text 2017 after text
- before text 2016 after text
- before text 2015 after text
- before text 2014 after text
- before text 2013 after text
- before text 2012 after text
- before text 2010 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"]
- before text 2023 after text
- before text 2022 after text
- before text 2021 after text
- before text 2020 after text
- before text 2019 after text
- before text 2018 after text
- before text 2017 after text
- before text 2016 after text
- before text 2015 after text
- before text 2014 after text
- before text 2013 after text
- before text 2012 after text
- before text 2010 after text
Collapse-O-Matic – The Roll Your Own Method
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:
Magic 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;
}
Roll-Your-Own Method w/ Magic CSS
<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>
The Final Result
Roll-Your-Own Method w/ Images
<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>
Required components:
- Trigger:
- class=”collapseomatic noarrow”
- id=”some_id”
- Target:
- class=”collapseomatic_content”
- id=”target-some_id”
Demo:
Highlander Grouping
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>
Demo
Collapse-Pro-Matic Responsive Target Content Test
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');