Title: Marc Smits's Replies | WordPress.org

---

# Marc Smits

  [  ](https://wordpress.org/support/users/ctrlspatie/)

 *   [Profile](https://wordpress.org/support/users/ctrlspatie/)
 *   [Topics Started](https://wordpress.org/support/users/ctrlspatie/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ctrlspatie/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ctrlspatie/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ctrlspatie/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ctrlspatie/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ctrlspatie/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How do I get the excerpt of a post outside the_Loop](https://wordpress.org/support/topic/how-do-i-get-the-excerpt-of-a-post-outside-the_loop/)
 *  Thread Starter [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * (@ctrlspatie)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/how-do-i-get-the-excerpt-of-a-post-outside-the_loop/#post-1226212)
 * I use EventCalendar3 and which displays 3 upcoming events in my sidebar. For 
   every event I need about 60 characters of the posts’ text.
 * `<?php substr($myexcerpt, 0, 60); ?>`
 * So I want only the text from a post, otherwise it might cause it display HTML-
   code in the sidebar.
 * query_posts is an option, but how do I get WordPress to filter it?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to display the total number of comments?](https://wordpress.org/support/topic/how-to-display-the-total-number-of-comments/)
 *  [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * (@ctrlspatie)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/how-to-display-the-total-number-of-comments/#post-1225964)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Issuu] Embedding ISSUU using custom_fields](https://wordpress.org/support/topic/plugin-wp-issuu-embedding-issuu-using-custom_fields/)
 *  Thread Starter [Marc Smits](https://wordpress.org/support/users/ctrlspatie/)
 * (@ctrlspatie)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-issuu-embedding-issuu-using-custom_fields/#post-1220114)
 * `$this_post_id = the_ID();`
 * in the code snippet above should be:
 * `$this_post_id = get_the_ID();`

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