Title: [Plugin: The Events Calendar] Events by PHP function
Last modified: August 20, 2016

---

# [Plugin: The Events Calendar] Events by PHP function

 *  [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-events-by-php-function/)
 * Is there a way to show events of THE EVENTS CALENDAR in the slider of my Homepage?(
   [http://comunesampe.altervista.org](http://comunesampe.altervista.org) )
 * Since in v2 of this plugin events don’t have a wordpress category, the integration
   results a bit difficult… And the last version of TEC doesn’t work on my site 
   so if i wanna keep this plugin i have to solve this problem… Help me please 🙂
 * Here the slider code:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Since i think TEC events work like wordpress posts, maybe it’s enough to replace
   _featured\_posts\_category_ with a TEC string?
    [http://wordpress.org/extend/plugins/the-events-calendar/](http://wordpress.org/extend/plugins/the-events-calendar/)

The topic ‘[Plugin: The Events Calendar] Events by PHP function’ is closed to new
replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-events-by-php-function/)
 * Status: not resolved