
Peekaboo Timer is a to hand wordpress plugin which allows internet sites owners to manage the visibility of the content material according with quite a lot of time-related criteria.
you'll be able to choose to automatically display or cover content material through time the usage of any of the 34 shortcodes, and therefore make your WordPress web page more dynamic and “wise”.
- Cover or show the content material on detailed days of the week, months, days of the month, time periods, date intervals, and the like…
- Version THREE.0 comes with several additional shortcodes which allow you to manage what content material your registered/non-registered visitors see.
- Shortcodes will also be combined for much more particular and precise time frames.
- They will also be utilized in text widgets besides.
- Any content material will also be wrapped inside Peekaboo Timer shortcodes: textual content, HTML tags, buttons, photographs, movies, forms, other shortcodes…
- The content that may be hidden by way of Peekaboo Timer leaves NO footprint (empty area) at the back of on the page!
- Many criteria may also be set to use either weblog time (laid out in the admin dashboard of the WP website online) or visitors’ occasions, and a number of other shortcodes additionally settle for the not obligatory timezone characteristic, so that they can also be set to use a time zone of your choice.
Even Though the whole of 36 shortcodes and the variability of attributes make this a Swiss army knife of plugins, the use of it's extremely easy and user-friendly because it comes with an intuitive set of click-through dialogs and friendly paperwork built-in in the WordPress’s textual content editor.
you'll play with the plugin (and with Peekaboo Randomizer) within the Demo, situated right here.
INSTALLATION
- Unzip the package
- Add the whole listing into your Plugins folder of WordPress. make sure you retain the identify of the listing and the filenames intact.
- Turn On the plugin within the Admin Dashboard of your WP website.
- There's no step 4
FUNDAMENTALS OF THE UTILIZATION
Peekaboo Timer makes use of shortcodes for marking the parts of the content you want to have affected. There are two sets of shortcodes: one set is consisted from the shortcodes which are supposed to cover the selected content material, and the opposite set is consisted of the shortcodes so they can DISPLAY the content material to visitors, each in line with more than a few time-comparable standards. Each COVER function has it’s SHOW counterpart.There are 14 shortcodes in each set, which makes a decent total of 28 shortcodes, however concern not – you don’t have to take into account that the exact syntax for any of them, as Peekaboo Timer comes with a person-pleasant extension for WP’s text editor and an intuitive click on-through conversation for environment the shortcodes and their parameters.
if you install the plugin, you're going to see a couple of new buttons within the textual content editor.
Deciding On an element of the text after which clicking on an icon opens up a modal dialog where you'll select which criterion for showing/hiding content material you wish to have to use.
Clicking on an merchandise from the listing opens the accordion and reveals choices for tailoring the shortcode in your needs.
Like this:
SHORTCODES
Display after… / Get Rid Of after…
SHORTCODE: pbt_show_after and bt_hide_afterATTRIBUTE: interval
“Show after…” quite a bit the page without the selected content material, then, after a preferred duration, shows the content. “Eliminate after…” does the opposite; shows the content initialy, and then gets rid of it after the specied time.
[pbt_show_after interval=”30”]This content will likely be visible from 30 seconds after the web page is loaded[/pbt_show_after] [pbt_hide_after interval=”25”]This content material will likely be got rid of while 25 seconds go[/pbt_hide_after]Show until… / Conceal until…
SHORTCODE: pbt_show_until and pbt_hide_untilATTRIBUTES: date and time. Not Obligatory: timezone.
These shortcodes display/cover content material until a designated moment in long term – date and time. The time attribute value isn't included in the period. Specifying the timezone wil make the shortcode work in accordance with the specified area’s time.
Show from… / Disguise from…
SHORTCODE: pbt_show_from and pbt_hide_fromATTRIBUTES: date and time. Non-Compulsory: timezone.
These shortcodes show/hide content from a specied second in future (date and time) onward. Thetime characteristic worth is incorporated within the interval. Specifying the timezone wil make the shortcode work according with the required area’s time.
Display in a time interval / Cover in a time period
SHORTCODE: pbt_show_time and pbt_hide_timeATTRIBUTES: start and finish. Optional: timezone.
Those shortcodes show/hide content right through a time period every day. There are 4 spinners in the conversation, which permit you to make a choice the parameters. the overall minute is not included within the period. Specifying the timezone wil make the shortcode work according with the specified house’s time.
Show in a time period / Cover in a time period – CLIENT TIME
SHORTCODE: pbt_show_time_visitor and pbt_hide_time_visitorATTRIBUTES: date and time
These shortcodes show/conceal content material all over a time frame each day, according to the time set in the client’s operating machine. the general minute is not integrated in the interval.
Display in a minute period / Disguise in a minute period
SHORTCODE: pbt_show_minute and pbt_hide_minuteATTRIBUTES: start and finish
These shortcodes show/disguise content right through a time period each and every hour, 24 occasions an afternoon. The ending minute isn't included in the interval.
Display in a minute period / Cover in a minute period – CONSUMER TIME
SHORTCODE: pbt_show_minute_visitor and pbt_hide_minute_visitorATTRIBUTES: get started and end
These shortcodes show/cover content material right through a time period each hour, 24 occasions an afternoon, in line with the time zone set on the shopper’s computer. The ending minute isn't integrated within the interval.
Display on in this day and age of the week / Conceal on at the moment of the week
SHORTCODE: pbt_show_week and pbt_hide_weekCHARACTERISTIC: days. Not Obligatory: timezone.
Those shortcodes display/conceal content material handiest at the decided on days of the week. Attribute values need to be within the form of THREE-letter abbreviations. Specifying the timezone wil make the shortcode work in accordance with the desired house’s time.
[pbt_show_week days=”Sat, Sun”]This content material can be visible to guests most effective on Saturdays and Sundays.[/pbt_show_week] [pbt_hide_week days=”Mon, Wed, Fri”]This content might be hidden from visitors simplest on Mondays, Wednesdays and Fridays[/pbt_hide_week] [pbt_hide_week days=”Thu, Mon” timezone=”Australia/Sydney”]This content material will probably be hidden from guests best on Mondays and Thursdays, in accordance to Sydney time.[/pbt_hide_week]
Display on these days of the week / Cover on these days of the week – SHOPPER TIME
SHORTCODE: pbt_show_week_visitor and pbt_hide_week_visitorCHARACTERISTIC: days
These shortcodes show/disguise content material handiest on the decided on days of the week, consistent with the time zone set at the consumer’s laptop. Characteristic values have to be within the form of THREE-letter abbreviations.
Display on at the present time of the month / Cover on nowadays of the month
SHORTCODE: pbt_show_day and pbt_hide_dayCHARACTERISTIC: days. Not Obligatory: timezone.
Those shortcodes show/hide content best on the decided on days of month (1-31). Specifying the timezone wil make the shortcode paintings in accordance with the specified space’s time.
[pbt_show_days days=”1, 10, 21”]This content material might be visible to visitors only on 1st, 10th and 21st day in every month.[/pbt_show_days] [pbt_hide_days days=”7, 14, 21, 28”]This content material shall be hidden from guests simplest seventh, 14th, 21st and twenty eighth day in each month.[/pbt_hide_days] [pbt_show_days days=”15, 30” timezone=”Africa/Dakar”]This content will likely be visual to guests best on fifteenth and thirtieth day in each month, in accordance with Africa/Dakar time.[/pbt_show_days]
Display on even days best / Hide on even days most effective
SHORTCODE: pbt_show_even and pbt_hide_evenCHARACTERISTIC: -
Those shortcodes display/disguise content handiest on even days of the month (second, 4th, sixth,..., 30th). No characteristic is needed.
[pbt_show_even]This content shall be visible to visitors only on even days of the month.[/pbt_show_even] [pbt_hide_even]This content will likely be hidden from visitors most effective on even days of the month.[/pbt_hide_even]
Display on bizarre days best / Hide on atypical days most effective
SHORTCODE: pbt_show_odd and pbt_hide_oddCHARACTERISTIC: -
These shortcodes display/cover content material simplest on extraordinary days of the month (1st, third, 5th,..., thirty first). No characteristic is needed.
[pbt_show_odd]This content material might be visual to guests only on atypical days of the month.[/pbt_show_odd] [pbt_hide_odd]This content material will probably be hidden from visitors only on strange days of the month.[/pbt_hide_odd]
Display in those months / Conceal in these months
SHORTCODE: pbt_show_month and pbt_hide_monthATTRIBUTES: months
These shortcodes show/conceal content material handiest at the selected months. For the characteristic’s value use months’ ordinals (01, 02, 03, ..., 12), or 3-letter abbreviations (jan, feb, mar, ..., dec)... or simply use this friendly form with checkboxes.
[pbt_show_month months=”01, 03”]This content material will be visual to guests best in January and March.[/pbt_show_month] [pbt_hide_month months=”sep, oct, may”]This content material will likely be hidden from guests handiest in September, October And May[/pbt_hide_month]
Display in a date interval / Conceal in a date interval
SHORTCODE: pbt_show_dates and pbt_hide_datesATTRIBUTES: start_month, start_day, end_month and end_day. Optional: timezone.
Those shortcodes display/disguise content material only all over the required date interval each year.
Use dropdown lists and spinners to choose the start and the top date. The starting date may also be sooner than the top one, this means that that the interval will span into the following 12 months.
Use THREE-letter abbreviations (jan – dec) or ordinals (1 – 12) for start_month and end_month attributes’ values. the top day is integrated within the period. Specifying the timezone wil make the shortcode paintings in accordance with the required space’s time.
[pbt_show_dates start_month=”jan” start_day=”21” end_month=”may” end_day=”1”]This content material will likely be visual to visitors only from twenty first January to 1st Would Possibly.[/pbt_show_dates] [pbt_hide_dates start_month=”8” start_day=”15” end_month=”12” end_day=”10”]This content shall be hidden from guests handiest from fifteenth August to 10th December[/pbt_hide_dates] [pbt_show_dates start_month=”sep” start_day=”01” end_month=”jan” end_day=”12” timezone=”America/New_York”]This content can be visible to guests handiest from 1st September to 12th January, according to New York time.[/pbt_show_dates]
Show in a date period / Hide in a date interval – CLIENT TIME
SHORTCODE: pbt_show_dates_visitor and pbt_hide_dates_visitorATTRIBUTES: start_month, start_day, end_month and end_day
Those shortcodes display/cover content material most effective all through the required date interval every year, according to the time zone set by way of the customer.
Use dropdown lists and spinners to choose the start and the tip date. The beginning date can also be sooner than the tip one, because of this that the interval will span into the following 12 months.
Use THREE-letter abbreviations (jan – dec) or ordinals (1 – 12) for start_month and end_month attributes’ values.
the tip day is integrated in the interval.
[pbt_show_dates_visitor start_month=”4” start_day=”15” end_month=”sep” end_day=”20”]This content might be visual to visitors best from fifteenth April to 20th September - their occasions.[/pbt_show_dates_visitor] [pbt_hide_dates_visitor start_month=”Jun” start_day=”24” end_month=”oct” end_day=”3”]This content shall be hidden from visitors simplest from twenty fourth June to third October - their instances.[/pbt_hide_dates_visitor]
Show on holidays / Cover on holidays
SHORTCODE: pbt_show_holidays and pbt_hide_holidaysATTRIBUTES: dates and timezone (non-compulsory)
These shortcodes show/cover content material simplest on sure days of the 12 months (that usually manner holidays).
It Is helpful to mix these shortcodes with, as an example, pbt_show_week to show a few content Mon-Fri, apart from vacations.
The characteristic dates accepts as many dates as you want, comma-separated. The attribute values may be in both ABBR-DD and MM-DD formats (see examples below). [pbt_show_holidays dates=”jan-1, 12-25”] This content material might be visible to visitors best 1st January and twenty fifth December. [/pbt_show_dates] [pbt_hide_holidays dates=”Jul-04”] This content material is hidden from visitors on 4th July. [/pbt_hide_dates] [pbt_hide_holidays dates=”Nov-24” timezone=”America/New_York”]This content is hidden from visitors only on 24th November, according to The Big Apple time.[/pbt_show_dates]
EXTRA SHORTCODES
EXCLUDING allowing you to cover or show content material via time-related criteria, Peekaboo Timer additionally permits you to have a little of extra keep watch over over the way your content is served to the guests. As of model 3.0, Peekaboo Timer features a few shortcodes with which you'll regulate the visibility depending on the standing of your website’s guests.Show to logged users simplest / Conceal from logged users simplest
SHORTCODE: pbt_show_logged and pbt_hide_loggedATTRIBUTES: roles
Those shortcodes display/disguise any content relating to whether a customer is registered and logged in. you'll be able to be extra exact with the ‘roles’ characteristic (administrator, editor, writer, contributor and subscriber).
[pbt_show_logged]This content is visual most effective to visitors which might be logged in.[/pbt_show_logged] [pbt_show_logged roles=”contributor, subscriber”]This content material is visual only to logged in members and subscribers.[/pbt_show_logged] [pbt_hide_logged]This content material is not available to logged in users.[/pbt_hide_logged] [pbt_hide_logged roles=”administrator”]This content isn't to be had to logged in directors.[/pbt_hide_logged]
Display to non-logged users most effective / Cover from non-logged users only
SHORTCODE: pbt_show_unlogged and pbt_hide_unloggedATTRIBUTES: -
These shortcodes display/conceal any content material relating to whether a customer isn't logged in.
[pbt_show_unlogged]This content is visible best to guests which are not logged in.[/pbt_show_unlogged] [pbt_hide_unlogged]This content won't be to be had to guests until they log in.[/pbt_hide_unlogged][/pbt_show_logged] Wordpress doesn’t allow the same shortcodes to be nested into one another. Like this: [pbt_show_logged] Lorem ipsum [pbt_show_logged] dolor sit amet [/pbt_show_logged] consecteteur edipiscing. [/pbt_show_logged]
Alternatively, while using Peekaboo Timer’s consumer get right of entry to additional shortcodes, you'll be able to do this: [pbt_show_logged] Lorem ipsum [pbt_show_logged_1] dolor sit amet [/pbt_show_logged_1] consecteteur edipiscing. [/pbt_show_logged] ...with as much as 5 to be had indexes.
MORE INFORMATION
- purposes that use customer time do not “physically” take away the marked content from the HTML code, but simplest from the format of the web page. Bear that during mind if you wish to have to be sure that the non-displayed content is unreachable from a user’s side. Then Again, the non-displayed content still leaves no footprint on the web page behind.- be happy to mix and nest Peekaboo Timer shortcodes
[pbt_show_until date=”15-apr-2015” time=”8:30”][pbt_show_odd]This goes to be visual on abnormal dats of month handiest, until fifteenth April 2015, at part prior nine within the morning.[/pbt_show_odd][/pbt_show_until] [pbt_show_month months=”apr”] [pbt_show_week days=”sat, sun”] pbt_show_time_visitor start=”13:30” end=”20:00” This goes to be visual best on weekends in april, from THIRTEEN:30 to 8 within the night time, consumer’s time zone. /pbt_show_time_visitor /pbt_show_week /pbt_show_month
- you'll be able to use Peekaboo Timer shortcodes in textual content widgets
- a complete .pdf handbook is included in the package deal
FINAL NOTES
IN THE EVENT YOU like Peekaboo Timer, please price it 5 stars.Earlier Than assigning it a mark lesser than 5* please feel free to touch us and allow us to recognize what you didn’t like approximately our plugin. we will do are best possible to fix it ASAP.
thanks!
FULL DOWNLOAD
No comments:
Post a Comment