Title: &lt; ?php code?&gt;  ???
Last modified: August 18, 2016

---

# < ?php code?> ???

 *  [deloresdefacto](https://wordpress.org/support/users/deloresdefacto/)
 * (@deloresdefacto)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/lt-php-codegt/)
 * What code do I put in my template’s sidebar to display MyEvents? This code does
   not work (only shows code text):
    get_all_events($limit = 100, $date_format =‘
   d/m/Y’)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/lt-php-codegt/#post-620176)
 * I’m not familiar with the plugin, but I bet you have all the pieces of the puzzle
   if you combine the title of this topic with that line of code. 🙂
 * Have you tried:
    `<?php get_all_events($limit = 100, $date_format = 'd/m/Y') ?
   >`
 *  [WPChina](https://wordpress.org/support/users/wordpresschina/)
 * (@wordpresschina)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/lt-php-codegt/#post-620325)
 * Is there a way to include a link to the event’s website? Currently this only 
   prints out the name, time, and location of the event, but I want to also link
   this to the website of the event, or to more info on the internet.
 * Tks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘< ?php code?> ???’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [WPChina](https://wordpress.org/support/users/wordpresschina/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/lt-php-codegt/#post-620325)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
