Display Posts Shortcode
[resolved] How to supress the Title? (6 posts)

  1. tcolling
    Posted 3 years ago #

    Hi -

    I have some posts that I use as "include files" and sometimes I want their titled to be displayed, while in other places I want their titles to NOT be displayed. Is there a way to supress the title from printing with an argument I can pass to display-posts? I tried using this but it didn't have any effect:




  2. Bill Erickson
    Plugin Author

    Posted 3 years ago #

    Right now the only way to do that would be with an output filter. I might add the feature to the plugin itself if others need it, but I think your use case is an outlier (you're the first person to request hiding titles).

    Add this to your theme's functions.php file (without the <?php at the top): https://gist.github.com/4511408

  3. jasontucker
    Posted 3 years ago #

    I've been working with your plugin this week on a project and found that being able to remove the titles would be quite helpful.

  4. kphunter
    Posted 3 years ago #

    Great plugin - thanks. I would also like to see this built-in...

  5. Scotm
    Posted 3 years ago #

    I've tried this solution but can't get it to suppress titles. I'd like to see this feature as well.

  6. renatoslima
    Posted 3 years ago #

    Hi Bill,

    here (http://wordpress.org/support/topic/hide-title-of-post-within-speciifc-page?replies=2) you have the same demmand too.

    Best regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic