Just a little post to say good-bye to 2019. It’s actually testing the new archive-pro-matic seasonal archive.
Archive-Pro-Matic Category Test
Warning: Undefined variable $url in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/archive-pro-matic/archive-pro-matic.php on line 624
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/functions.php on line 1147
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/functions.php on line 1154
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/functions.php on line 1157
Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/functions.php on line 1164
Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/functions.php on line 1167
This is a test for displaying archive-pro-matic category archives.
Single Category
[archives type="monthly" cat="collapse-pro-matic" /]
- May 2023
- November 2021
- August 2020
- May 2020
- March 2020
- August 2018
- July 2018
- January 2018
- December 2017
- October 2017
- September 2017
- June 2017
- December 2016
- September 2016
- August 2016
- May 2016
- March 2016
- February 2016
- January 2016
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- January 2015
- October 2014
- August 2014
- July 2014
- June 2014
- May 2014
- November 2013
- April 2013
- January 2013
- December 2012
- September 2012
But what about taxonomies, post tags for example? We can get a monthly archive for a specific post tag like so:
[archives type="monthly" term="manhole" taxonomy="post_tag" /]
Or all post tags by month. The following will list only posts that have at least one post tag assigned, grouped by month:
[archives type="monthly" taxonomy="post_tag" /]
- September 2018 basel
- July 2018 manhole
- December 2017 manhole
- June 2015 Hover
- April 2015 custom style
- November 2014 donkey
- November 2014 manhole
- November 2014 basel
- November 2014 switzerland
And as a drop-down list:
[archives type="monthly" taxonomy="post_tag" sep=" > " format="option" /]
Special request: Years and each year’s tags as a subsets in a select drop-down:
[archives type="yearly" taxonomy="post_tag" sep="—" format="option" sub_options="true"/]
New “Quarterly” type:
[archives type="quarterly" /]
- 2023 Q3
- 2023 Q2
- 2023 Q1
- 2022 Q2
- 2022 Q1
- 2021 Q4
- 2021 Q3
- 2021 Q1
- 2020 Q4
- 2020 Q3
- 2020 Q2
- 2020 Q1
- 2019 Q4
- 2019 Q3
- 2019 Q2
- 2018 Q4
- 2018 Q3
- 2018 Q1
- 2017 Q4
- 2017 Q3
- 2017 Q2
- 2017 Q1
- 2016 Q4
- 2016 Q3
- 2016 Q2
- 2016 Q1
- 2015 Q4
- 2015 Q3
- 2015 Q2
- 2015 Q1
- 2014 Q4
- 2014 Q3
- 2014 Q2
- 2014 Q1
- 2013 Q4
- 2013 Q3
- 2013 Q2
- 2013 Q1
- 2012 Q4
- 2012 Q3
- 2010 Q2
[archives type="quarterly" format="option" sep=" - " sub_options="true" /]
Nes Archive Type “Seasonally”:
[archives type="seasonally" /]
- 2023 Summer
- 2023 Spring
- 2022 Winter
- 2022 Spring
- 2021 Winter
- 2021 Autumn
- 2021 Summer
- 2021 Spring
- 2020 Winter
- 2020 Autumn
- 2020 Summer
- 2020 Spring
- 2019 Winter
- 2019 Summer
- 2019 Spring
- 2018 Autumn
- 2018 Summer
- 2017 Winter
- 2017 Autumn
- 2017 Summer
- 2017 Spring
- 2016 Winter
- 2016 Autumn
- 2016 Summer
- 2016 Spring
- 2015 Winter
- 2015 Autumn
- 2015 Summer
- 2015 Spring
- 2014 Winter
- 2014 Autumn
- 2014 Summer
- 2014 Spring
- 2013 Winter
- 2013 Autumn
- 2013 Summer
- 2013 Spring
- 2012 Winter
- 2012 Autumn
- 2012 Summer
- 2010 Spring
[archives type="seasonally" format="option" sep=" - " sub_options="true" /]
Inline Test
Leo Love and Sex
Leo’s, being of a Fire sign, are heartfelt and passionate, being capable of expressing their feelings effortlessly and with transparency. Toward their beloved they […CLICK TO EXPAND] are giving, respectful, devoted and fun. They are strongly independent and driven, and so will try to be the dominate party of the relationship. The partner of a Leo may grow tired of being domineered, in particular if the Leo imposes their will upon matters that are not of their concern. In order to tolerate the Leo’s strong imposing will, the partner of a Leo needs to be learned and at an equivalent intellect. They also need to be willing to speak up for themselves and to defend their ground, else the blazing Sun of the Leo will scorch their personality. The Leo’s sex life is dynamic, fun and adventurous. They are very aware of the fine line separating love and sex, which can cause them trouble within an established relationship if they too often neglect to show intimacy or connect emotionally with their partner during love making. Ultimately, Leo’s want that their partners peer past their self-centered shell and look deep into their subconscious sensitive core, so as to search out their want of satisfaction resulting from a purposeful relationship. Leo Love Compatibility: Aries, Gemini, Libra, Sagittarius! [CLICK TO HIDE]
T(-) Countdown Gutenberg Test
This is a test for integrating T(-) Countdown with Gutenberg Blocks.
First, we need to tidy up how the Javascript is being used. Here is a basic countdown that uses a gutenberg block set to 2 minutes.
Now let’s try a shortcode with a launch target of an external element.
[tminus t="+10 secs" launchtarget="#monkeymonk"]monkey is in space… space monkey![/tminus]
Of course, we can still use the old countdown (default), above and below targets:
[tminus t="+10 secs" launchtarget="tophtml"]this is the tophtml target area[/tminus]
[tminus t="+10 secs" launchtarget="bothtml"]this is the bothtml target area[/tminus]
T(-) Countdown 2.0 Style Tests
Jedi
Dealing with 2, 3 and 4 digits[tminus t="+1366 days +10 sec" omityears="true" omitmonths="true" omitweeks="true" style="jedi"/]
Darth
Carbonite
Carbonlite
c-3po
c-3po-mini
carbonite-responsive
circle
cloud-city
hoth
naboo
sith
TIE-fighter
Collapse-O-Matic Internal SPAN
Test 1: [expand tag="span" title="this is a span: hey dude"]…did you like that[/expand]
T(-) Countdown Proper Time Unit Calculation
we should only have to calculate year, month and week time units once, as they will likely change only one time per viewing. Even so, we will need to properly calculate the amount of days, weeks and months remain, depending on how many time units are currently being displayed. We use a test of +410 days and 10 seconds from now to test how the change over works for the larger time units.
Test 1 – Showing Everything
This test should show everything: Years, Months, Weeks, Days… and the rest.[tminus t="+410 days +10 sec" style="TIE-fighter"/]
Test 2 – No Weeks
This test should show everything: Years, Months, Weeks, Days… and the rest.[tminus t="+396 days +10 sec" omitweeks="true" style="TIE-fighter"/]
Test 3 – No Months
This test should show everything: Years, Months, Weeks, Days… and the rest.[tminus t="+394 days +10 sec" omitmonths="true" style="TIE-fighter"/]
Test 4 – No Months or Years
This test should show everything: Years, Months, Weeks, Days… and the rest.[tminus t="+394 days +10 sec" omitmonths="true" omityears="true" style="TIE-fighter"/]
Test 5 – No Months or Weeks
This test should show: Years and days.[tminus t="+366 days +10 sec" omitmonths="true" omitweeks="true" style="TIE-fighter"/]
Test 6 – Days Only
This test should show only days:[tminus t="+45 days" omityears="true" omitmonths="true" omitweeks="true"/]
T(-)Minus Countdown Years and Months
This is a quick test to try out the new years and month options added in version 2.3.20… this looks like it might end up being version 2.4.0 at this rate. Yup, it will be a major release.
Test 1 – Show it All
This test should show everything: Years, Months, Weeks, Days… and the rest.[tminus t="+410 days +10 sec" style="c-3po"/]
Test 2 – Omit Years
This test will omit the years, resulting in expanded months.[|tminus t="+410 days" omityears="true" style="c-3po"/]]
Test 3 – Omit Months – Keep Years
This test will display the years, but convert months to weeks.[tminus t="+410 days" omitmonths="true" style="c-3po"/]
Test 4 – Omit Years and Months
The title, pretty much says it all. No years, no Months… just a whole lott’a weeks:[tminus t="+410 days" omityears="true" omitmonths="true" style="c-3po"/]
Test 5 – Omit Years, Months and Weeks
Days for days…[tminus t="+410 days" omityears="true" omitmonths="true"
omitweeks="true" style="c-3po"/]
Test 6 – Omit Weeks Only
No weeks, but the rest.[tminus t="+410 days" omitweeks="true" style="c-3po"/]
Test 7 – Omit Months and Weeks
No months, no weeks.[tminus t="+410 days +10 secs" omitmonths="true" omitweeks="true" style="c-3po"/]
Test 8 – Omit Years and Weeks
No years, no weeks.[tminus t="+410 days" omityears="true" omitweeks="true" style="c-3po"/]
Print-Pro-Matic wp_localize test
This is a test of print-pro-matic using wp_localize to pass js vars to the js file. it also passes print-only elements.
Like this one with the .printonly class listed in the shortcode
And here is the shortcode:[print-me print_only=".printonly"/]
Actually, this should not be passed via shortcode, but rather only defined in the option page.[print-me /]
This is just a simple test where we pass some pause_time and a special target
[print-me target=".print_this" do_not_print=".printomat" pause_before_print="4000"/]
Scroll Targets and URL Hash
This is a test where a scroll-to target will open an expand, however will then scroll back to the top of the page–or actually an element at the top of the page defined as:<h2='top'>Scroll Target at Top<H2>
Scroll Target at Top
This is just some filler text to move the expand item a bit further down the screen. In fact, why not just throw in an image and save us all a heap of blibber blabber text. Here is a photo of a donkey stuck in a manhole cover. Silly donkey, you are not a man… you’re a donkey.
Now we place an expand element with a defined ID and scrolltarget value:[expand title="trigger text" id="monkey" scrolltarget="#top"/]
So navigating directly to
https://spacedonkey.de/3439/scroll-targets-and-url-hash/#monkey
will scroll down to the monkey element, open it, then scroll back up to the top element. This bouncing around is quite annoying.
Introducing: hash-trigger
This is a test where we introduce a new attribute called hash_trigger
. This is an secondary id that will be use to expand but not scroll to a collapse element based on the url anchor hash. For example. We create an expand element like so:[expand title="trigger text" id="smashing" hash_trigger="pumpkins"/]
Now when we link directly to the page with the url anchor hash of #smashing it will scroll to and expand the element above as normal. However, if we use the url anchor hash of #pumpkins it will only expand the element and NOT scroll anywhere , providing:
1. there is no other element with an ID of pumpkins
2. there is no scroll-to attribute defined on this expand element.
Note: to assign the hash_trigger using the roll-your-own method, simply assign a data-hash-trigger
attribute to the trigger element:
<div class="collapseomatic" id="smashing" title="trigger text" data-hash-trigger="pumpkins">trigger text</div>