{"id":20334967,"url":"https://github.com/mdb/eventpublisher","last_synced_at":"2026-07-11T05:31:23.767Z","repository":{"id":137137499,"uuid":"1805061","full_name":"mdb/EventPublisher","owner":"mdb","description":"A basic event publisher plugin for Wordpress.","archived":false,"fork":false,"pushed_at":"2012-04-01T18:17:20.000Z","size":176,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T17:03:29.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-26T15:32:12.000Z","updated_at":"2014-05-30T17:33:31.000Z","dependencies_parsed_at":"2023-03-11T00:51:07.728Z","dependency_job_id":null,"html_url":"https://github.com/mdb/EventPublisher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdb/EventPublisher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2FEventPublisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2FEventPublisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2FEventPublisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2FEventPublisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/EventPublisher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2FEventPublisher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35352623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T20:38:46.036Z","updated_at":"2026-07-11T05:31:23.750Z","avatar_url":"https://github.com/mdb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EventPublisher #\n\nEventPublisher is simple Wordpress plugin that enables the publication of events via the Wordpress admin. It utilizes the jQuery UI datepicker and leverages Wordpress's custom post type features to create an Event post type in addition to Wordpress's built-in Posts and Pages.\n\n## Features ##\n\nEventPublisher offers the following:\n\n- Creates an \"Event\" custom post type alongside Wordpress's \"Posts\" and \"Pages.\"\n- Fields to house event title, event description, event location, event start date/time, and event end date/time. Users can assign a \"Featured\" event, in effect flagging the event for more prominent promotion on the front end.\n- Basic template tags for calling and displaying Events in your Wordpress theme templates.\n\n## Installation ##\n\n- Put the EventPublisher folder in your Wordpress site's wp-content/plugins/ directory.\n- Visit your site's Plugins manager page within the Wordpress admin (wp-admin/plugins.php)\n- Locate \"Event Publisher\" amongst the list of available plugins and click \"Activate.\"\n\n## How to publish an event ##\n\n- Log in to your Wordpress site's admin (http://yoursite.com/wp-admin).\n- Locate and click \"Events\" in the menu within the left column.\n- Click \"Add new.\"\n- Enter a title, description, event location, event start date/time, and event end date/time.\n- If you'd like to flag your event as \"Featured,\" tick the Featured Event checkbox in the right column.\n- Click \"Publish,\" just as you would with an normal Wordpress blog post.\n\n## How to display your events in your Wordpress theme templates ##\n\n### Upcoming Events\n\nA basic example of how to call the list of upcoming events:\n\n    \u003cul class=\"upcoming-events\"\u003e\n    \u003c?php $events = ep_upcoming_events(); ?\u003e\n    \u003c?php foreach( $events-\u003eposts as $post ) : setup_postdata($post); ?\u003e\n        \u003c?php\n            $event_location = get_post_meta($post-\u003eID, 'event_location', true);\n            $start_date = get_post_meta($post-\u003eID, 'start_date', true);\n            $end_date = get_post_meta($post-\u003eID, 'end_date', true);\n        ?\u003e\n        \u003cli\u003e\n            \u003ca href=\"\u003c?php the_permalink(); ?\u003e\"\u003e\u003c?php the_title(); ?\u003e\u003c/a\u003e\n            \u003cdl class=\"event-dates\"\u003e\n                \u003cdt\u003eStart Date:\u003c/dt\u003e\n                \u003cdd\u003e\u003c?php echo date('m/j/Y', strtotime($start_date)); ?\u003e\u003c/dd\u003e\n                \u003cdt\u003eEnd Date:\u003c/dt\u003e\n                \u003cdd\u003e\u003c?php echo date('m/j/Y', strtotime($end_date)); ?\u003e\u003c/dd\u003e\n            \u003c/dl\u003e\n            \u003caddress class=\"location\"\u003e\u003c?php echo $event_location; ?\u003e\u003c/address\u003e\n            \u003c?php the_content(); ?\u003e\n        \u003c/li\u003e\n    \u003c?php endforeach; ?\u003e\n    \u003c/ul\u003e\n\nNote that the maximum number of posts returned by ep_upcoming_events() is determined by your site's Reading settings (http://yoursite.com/wp-admin/options-reading.php)\n\nAlternatively, to customize the number of events to display, use ep_get_events(). The following example returns the next 3 upcoming events:\n\n    \u003cul class=\"upcoming-events\"\u003e\n    \u003c?php $events = ep_get_events('upcoming', '3'); ?\u003e\n    \u003c?php foreach( $events as $post ) : setup_postdata($post); ?\u003e\n        \u003c?php\n            $event_location = get_post_meta($post-\u003eID, 'event_location', true);\n            $start_date = get_post_meta($post-\u003eID, 'start_date', true);\n            $end_date = get_post_meta($post-\u003eID, 'end_date', true);\n        ?\u003e\n        \u003cli\u003e\n            \u003ca href=\"\u003c?php the_permalink(); ?\u003e\"\u003e\u003c?php the_title(); ?\u003e\u003c/a\u003e\n            \u003cdl class=\"event-dates\"\u003e\n                \u003cdt\u003eStart Date:\u003c/dt\u003e\n                \u003cdd\u003e\u003c?php echo date('m/j/Y', strtotime($start_date)); ?\u003e\u003c/dd\u003e\n                \u003cdt\u003eEnd Date:\u003c/dt\u003e\n                \u003cdd\u003e\u003c?php echo date('m/j/Y', strtotime($end_date)); ?\u003e\u003c/dd\u003e\n            \u003c/dl\u003e\n            \u003caddress class=\"location\"\u003e\u003c?php echo $event_location; ?\u003e\u003c/address\u003e\n            \u003c?php the_content(); ?\u003e\n        \u003c/li\u003e\n    \u003c?php endforeach; ?\u003e\n    \u003c/ul\u003e\n\n### Past Events\n\n    \u003c?php $past_events = ep_past_events(); ?\u003e\n\nAlternatively, use ep_get_events() to customize the number of past events to display. The following example returns the first 3 past events:\n\n    \u003c?php $past_events = ep_get_events('past', '3'); ?\u003e\n\n### Featured Events\n\nCalling the Featured events defaults to displaying the next upcoming Featured event:\n\n    \u003c?php $featured_events = ep_featured_events(); ?\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Feventpublisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Feventpublisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Feventpublisher/lists"}