Wordpress plugins
This Day In History

This Day In History

Version : 2.2.1
Tested up to : 4.8.2
Number of download : 12868
Author : BrokenCrust
Average rating : 4 / 5 on 16 votes 16 votes, 4 avg.rating

Screenshots

This Day In History
This Day In History
This Day In History
This Day In History

This Plugin allows you to enter and manage different kinds of historical events that you then display in via a This Day In History widget or shortcodes. Shortcodes For version 2.0 the shortcode has been completely redesigned and split into two new shortcodes with new attributes. tdih You can add a tdih shortcode to any post or page to display a list of events as per the widget. There are four optional attributes for this shortcode show_type (1 or 0) – 1 shows event types (default) and 0 does not. show_year (1 or 0) – 1 shows the year of the event (default) and 0 does not. type – enter a type to show only that type. Shows all types by default. period (t, m, y) – t shows events for today (default), m for tomorrow and y for yesterday. Example use: [tdih] – This shows year and event types for all event types for todays events. [tdih show_type=0 type=birth] – This shows year and event but not type for the event type (slug) of birth. tdih_tab You can add a tdih_tab shortcode to any post or page to display a table of events. There are nine optional attributes for this shortcode: show_type (1 or 0) – 1 shows event types (default) and 0 does not. show_year (1 or 0) – 1 shows the year of the event (default) and 0 does not. show_head (1 or 0) – 1 shows the year of the event (default) and 0 does not. type enter a type to show only events of that type. Shows all types by default. day (1-31) – enter a day to show only events on that day. Shows all days by default. month (1-12, c) – enter a month to show only events in that month. Shows all months by default. year (0001-9999, 0) – enter a year to show only events in that year. Shows all years by default. period (t, m, y) – t shows events for today, m for tomorrow and y for yesterday. Shows all events by default. classes – enter one or more space separated classes which will be added to the table tag. NB: Setting period will override and values for day, month and year. day, month and year can be combined. year=0 will display events with no year month=c will display the current month Example use: [tdih_tab] – This shows a full list of events in date order and includes the event type. [tdih_tab show_types=0 type=birth classes=’content dark’] – This shows events but not type for the event type (slug) of birth. ” content dark” will be added to the table’s class. [tdih_tab day=20 month=8] – This shows events on 20th August in any year.

Download now