Title: Plugin use with PHP
Last modified: August 31, 2016

---

# Plugin use with PHP

 *  [zeres96](https://wordpress.org/support/users/zeres96/)
 * (@zeres96)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-use-with-php/)
 * Hey everyone,
 * I don’t know if that is right here. but I’m using the Plugin on a Homepage, that
   I’m creating right now. I wanted to build list with the Month names on top. If
   there is no Event in this Month and the heading should not appear. To bulid that
   I used PHP. But i doesn’t work. Could you please help?
 * My code I’m using now (Can’t show link, isn’t aviable to the whole world):
 *     ```
       $view='[ecs-list-events viewall="true" excerpt="true"venue="true" message="FALSE" month="' . date('Y') .'-01" ]';
   
       if ($view == "FALSE") {
       	echo "";
       }
       else {
       	echo '[title size="1" content_align="left" style_type="single solid" sep_color="" class="" id=""]Januar[/title]';
       	echo $view;
       }
       ```
   
 * What I’m using:
 * * WordPress 4.4.2 (German Version)
    * alora 2.7.7 [Theme] * The Events Calendar
   4.0.5 * The Events Calendar Shortcode 1.0.11 * Insert PHP 1.3
 * (Sorry for spelling, English is not my native language.)
 * Fabian
 * [https://wordpress.org/plugins/the-events-calendar-shortcode/](https://wordpress.org/plugins/the-events-calendar-shortcode/)

The topic ‘Plugin use with PHP’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [zeres96](https://wordpress.org/support/users/zeres96/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-use-with-php/)
 * Status: not resolved