Annual Archive – Post Type


Notice: Trying to get property of non-object in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/post.php on line 1634

Notice: Trying to get property of non-object in /var/www/vhosts/spacedonkey.de/httpdocs/wp-includes/post.php on line 1634

Post Types are supported as of Annual Archive version 1.4.8.

[archives type="monthly" post_type="donkey"/]

    T(-) Countdown Control IP Address Tracking

    T(-) Countdown Control already has the ability to store a visitors calculated launch time to a cookie. As of version 1.7.7 we have added integration of a new add-on plugin T(-) Countdown Tracking. This new premium plugin adds the ability to save the visitors IP address in the database. More details to follow.

    Test using Schedule:

    [tminus cid="2022"/]
    
    Days
    0
    0
    Hours
    0
    8
    Minutes
    4
    8
    Seconds
    3
    1

    Counting Down to Thu, 27th April, 2017

    Test using basic shortcode:

    [tminus t="+2 minutes" id="test_counter" track_id="2571" /]
    
    Days
    0
    0
    Hours
    0
    0
    Minutes
    0
    2
    Seconds
    0
    0

    No Tracking:

    Days
    0
    0
    Hours
    0
    0
    Minutes
    0
    2
    Seconds
    0
    0

    Collapse-O/Pro-Matic Highlander Must Be One

    As of Collapse-O-Matic version 1.7.2 and Collapse-Pro-Matic version 1.3.2 we have added the ability to force one element to stay open in a highlander grouping. Simply add the class must-be-one to all the triggers in a highlander group using the trigclass attribute like so:

    Shortcode

    [expand title="Monkeys" rel="animal-highlander" trigclass="must-be-one"]...[/expand]
    [expand title="Donkeys" rel="animal-highlander" trigclass="must-be-one"]...[/expand]
    [expand title="Ninjas" rel="animal-highlander" trigclass="must-be-one"]...[/expand]
    

    Example

    Monkeys
    A monkey is a primate of the Haplorrhini suborder and simian infraorder, either an Old World monkey or a New World monkey, but excluding apes and humans. There are about 260 known living species of monkey. Many are arboreal, although there are species that live primarily on the ground, such as baboons. Monkeys are generally considered to be intelligent. Unlike apes, monkeys usually have tails. Tailless monkeys may be called “apes”, incorrectly according to modern usage; thus the tailless Barbary macaque is called the “Barbary ape”.
    Donkeys
    The donkey or ass, Equus africanus asinus,[1][2] is a domesticated member of the Equidae or horse family. The wild ancestor of the donkey is the African wild ass, E. africanus. The donkey has been used as a working animal for at least 5000 years. There are more than 40 million donkeys in the world, mostly in underdeveloped countries, where they are used principally as draught or pack animals. Working donkeys are often associated with those living at or below subsistence levels. Small numbers of donkeys are kept for breeding or as pets in developed countries.
    Ninjas
    A ninja (忍者?) or shinobi (忍び?) was a covert agent or mercenary in feudal Japan who specialized in unorthodox warfare. The functions of the ninja included espionage, sabotage, infiltration, and assassination, and open combat in certain situations.[1] Their covert methods of waging war contrasted the ninja with the samurai, who observed strict rules about honor and combat.[2] The shinobi proper, a specially trained group of spies and mercenaries, appeared in the Sengoku or “warring states” period, in the 15th century,[3] but antecedents may have existed in the 14th century,[4] and possibly even in the 12th century (Heian or early Kamakura era).[5][6]

    Peanuts Character 555 95472

    555 95472, or 5 for short, debuted in the September 30, 1963, strip, and appeared occasionally until the 1980s. A boy close in age to Charlie Brown and Linus van Pelt, 5 had brown spiky hair, and he wore an orange shirt with the number 5 on it. 5 was given a numerical name by his father, who was upset over the preponderance of numbers in people’s lives; when questioned, 5 clarified that this was not his father’s way of protesting, it was his way of “giving in.” His last name, 95472 (the accent is on the 4), was taken from the family’s ZIP code; it is also the zip code for Sebastopol, California, where Schulz lived at the time.

    "5"
    “5”

    Collapse-O-Matic CSS Tricks .colomat-close

    When an expand element is expanded it has the .colomat-close class assigned. This class is removed when the expand element is collapsed. So, if you want to adjust how an active/expanded trigger is displayed, simply define your custom css as follows:

    /*inactive/collapsed */
    .collapseomatic {
    
    }
    
    /*active/expanded */
    .collapseomatic.colomat-close {
    
    }
    

    Simple Demo

    Using the trigclass attribute we can further assign the design of the triggers for only specific expand elements.

    CSS

    .collapseomatic.my_special_class {
        color: green;
    }
    
    .collapseomatic.my_special_class.colomat-close {
        color: red;
        border: 2px dotted red;
    }
    

    Shortcode

    [expand title="Trigger Text" trigclass="my_special_class"]Hidden Content[/expand]
    

    Result

    Trigger Text
    Hidden Content

    Nested Collapse Elements with Highlander Grouping

    Here is a typical nested collapse group with highlander grouping:

    [expand title="state1" id="state1" rel="state-highlander"]
       [expandsub1 title="city1" id="city1" rel="city-highlander"]bar1
    bar2[/expandsub1]
       [expandsub1 title="city2" id="city2" rel="city-highlander"]bar3
    bar4[/expandsub1]
    [/expand]
    [expand title="state2" id="state2" rel="state-highlander"]
       [expandsub1 title="city3" id="city3" rel="city-highlander"]bar5
    bar6[/expandsub1]
       [expandsub1 title="city4" id="city4" rel="city-highlander"]bar7
    bar8[/expandsub1]
    [/expand]
    

    Notice how the main level and nested sub-elements have their own highlander grouping defined. This makes it so the main level items do not affect the nested children expand/collapse states.
    This is how it works:

    state1
    city1
    bar1
    bar2
    city2
    bar3
    bar4
    state2
    city3
    bar5
    bar6
    city4
    bar7
    bar8

    Now to do the exact same thing using the roll-your-own method:

    <div class="collapseomatic" id="ryo_state1" rel="state-highlander" title="state1">state1</div>
    <div id="target-ryo_state1" class="collapseomatic_content">
    
        <div class="collapseomatic" id="ryo_city1" rel="city-highlander" title="city1">city1</div>
        <div id="target-ryo_city1" class="collapseomatic_content">
             bar1
             bar2
        </div>
    
        <div class="collapseomatic" id="ryo_city2" rel="city-highlander" title="city2">city2</div>
        <div id="target-ryo_city2" class="collapseomatic_content">
             bar3
             bar4
        </div>
    </div>
    
    <div class="collapseomatic" id="ryo_state2" rel="state-highlander" title="state2">state2</div>
    <div id="target-ryo_state2" class="collapseomatic_content">
    
         <div class="collapseomatic" id="ryo_city3" rel="city-highlander" title="city3">city3</div>
         <div id="target-ryo_city3" class="collapseomatic_content">
             bar5
             bar6
         </div>
    
        <div class="collapseomatic" id="ryo_city4" rel="city-highlander" title="city4">city4</div>
        <div id="target-ryo_city4" class="collapseomatic_content">
             bar7
             bar8
        </div>
    </div>
    

    And the results:

    state1
    city1
    bar1
    bar2
    city2
    bar3
    bar4
    state2
    city3
    city4
    bar5
    bar6
    bar7
    bar8