• Simple plugin that when you tick the check box records in the postmeta table that for the selected post the title should not show. A function in the plugin returns an empty string instead of the title. As I have a variety of custom posts extracted using WP_Query so in_the_loop returns false. I also wanted title removal to be universal across the site. Conseqently I changed
    if (!is_admin() && is_singular() && intval($hide_title) && in_the_loop())
    to
    if (!is_admin() && intval($hide_title) )
    Hopefully this will have no ill effects. There is no function to update the plugin within the plugin itself so hopefully my code want be overwritten by a new version.

  • The topic ‘Modified for custom posts’ is closed to new replies.