WordPress plugin intelligence profile

Agenda

Creates events posts for your wordpress. Manipulate it easily and intuitivily. Using the_agenda_loop() you generates a $the_event object that have al …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.6
Current version1.7
WordPress coverageTested up to WordPress 2.6
Minimum stackWP 2.6.2 · PHP —
Directory statusactive
Last directory update15 Sept 200818y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Agenda version 1.7 as active, updated 18y ago and tested up to WordPress 2.6.

Overview

About this plugin

Now you can create events for your wordpress. Whit this plugin you can create and manipulate events like

you do on Google Calendar. Generate events on the fly creating an agenda of events. The agenda suports a realy

code for repeat events for your satisfaction.

Using the_agenda_loop() you generates a $the_event object that have all atributes about the event

Use it in combination to Agenda::next_events() or Agenda::events_on()

You can also use function agenda_compromissos(), agenda_list() and agenda_events() on your templates. These functions

generate html codes to be used on your tamplate.

Agenda list

Generates a list of next events marked in your agenda

Pass your params as wp_string or assigned array:

agenda_list('next=5&only_destak=1')

is the same as:

agenda_list(array('next'=>5,'only_destak'=>true))

Params:

  • (int) next: Number of next events to show (default: 5)
  • (bool) only_destak: If true, show only highlighted events (default: true)
  • (bool) show_date: If true, show the date of each event (default: true)
  • (string) before: Put it before each event (default: <li> )
  • (string) after: Put it after each event (default: </li> )
  • (bool) print: Prints the output (default: true)

By default, the function prints the generated string, but you can silencity it and

manipulate the same string. It is returned.

So for use the agenda_list () prints a list contain the next 5 events. While

agenda_list (‘print=0’) does not print, but returns the generated string to your manual manipulation

Agenda compromissos

agenda_compromissos()` can be used on your tamplate’s page.

It generates a events list separated by date.

Params: agenda_compromissos ($next, $title_tag, $print):

  • $next Number of events that must be showed.default: 25
  • $title_tag show date tag’s name. defaut: h3
  • $print if matched as true prints the result, if it is not matched only returns the string for future manipulations.

Agenda Events

The function agenda_events() can be used in your page, listing the events in a year or month.

Default usage:

$defaults = array( 'month' => date('m'), 'year' => date('Y'), 'title_tag' => 'h3', 'print' => '1' );

Parameters:

  • month – if passed, selects a month to show ( default: date(‘m’) )
  • year – selects a yea to show ( default: date(‘Y’) )
  • title_tag – the tag to be used on your title/date tag (default:

<

h3>)

1. print – prints the result. (default: true)

Show only events on may 2009

>

The following example shows only events that matches may of 2009.

Show only events on 2008

>

The following example shows only events that matches in all 2008.

Changing the tag of date events

>

The following example show events that matches the curent month, changing the tag of title/date by h5.

The output will be:

p=28" title="DGmike gones home">DGmike gones home</a></li> </ul> </div>

Note that the function generates a even odd class of each day of events

The Agenda Loop

Using the_agenda_loop you generates a $the_event object that have all atributes about the event

Use it in combination to Agenda::next_events(); or Agenda::events_on();

Agenda::events_on('month=5,year=2008'); while (the_agenda_loop()) { print "<h1>{$the_event->what}</h1>"; }

The global object $the_event is an standard object like this:

stdClass Object ( [event_id] => 36 [content] => Um exemplo de <strong>evento simples</strong> com a marcacao necessaria. [repeat] => daily [repeat_daily] => daily [repeat_daily_every] => 3 [range] => never [what] => Meu simples evento [excerpt] => Meu excerpt, caso seja necessario.

[author] => 1 [pings] => open [comments] => open [calendar] => Array() [where] => [destak] => 0 [when_start_date] => 2008-09-15 [when_start_time] => 00:00 [when_end_date] => 2008-09-16 [when_end_time] => 00:00 [all_day] => 1 [tags] => e mais tag,tag [range_ends_until] => )

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • date
  • events
  • manipulate
  • post
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.6

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.6.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.6
Minimum requirementsWordPress 2.6.2 · PHP not listed
Update activity15 Sept 200818y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.