Introducing a new attribute for Archive-Pro-Matic: highlight Highlight accepts the following values:
Assigning ‘current-year’ as the value of the highlight attribute will add a current-year class to the current year in the archive list. Assigning ‘active-year’ would only be assigned to the archive list when placed on an archive page.
We have added a bit of css to highlight each of the classes:
Assigning ‘active-year’ would only be used on the archive page itself. To see this in action, first visit the an archive page, say 2014 and on that page place an archive list using the sidebar widget or following shortcode.
Here is an example of using Print-O-Matic to print a WordPress Chart using wp-charts.
This is an example of some text that has a trigger placed inline, meaning that the trigger does not break the flow of the text. However, when this triggerhidden content is clicked and the target is expanded, the target would break the paragraph as a display: block element. Naturally, when the element is collapsed, the inline flow returns.
...However, when [expand tag="span" title="this trigger" targtag="span"]hidden content[/expand] is clicked...
The Roll-Your-Own Method
This is an example of some text that has a trigger placed inline, using the roll-your-own method. However, when this trigger
is clicked and the target is expanded, the target would break the paragraph as a display: block element. Naturally, when the element is collapsed, the inline flow returns.
...However, when <span title="this trigger" class="collapseomatic" id="testme2">this trigger</span><div class="collapseomatic_content" id="target-testme2">hidden content</div>