Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    I’ll have to look into this over the weekend. I’ve never used post formats in Genesis before but I don’t know why turning it on would break it.

    Plugin Author Bill Erickson

    (@billerickson)

    I just tested it with post formats and it works perfectly.

    – I Installed WordPress, Genesis, a blank child theme (for my customizations), and the Genesis Title Toggle plugin
    – In the blank child theme I turned on support for post formats:
    add_theme_support( 'post-formats', array( 'link', 'image' ) );
    – In the child theme I used the be_title_toggle_post_types filter to apply Genesis Title Toggle to posts as well (by default it only applies to pages:

    add_filter( 'be_title_toggle_post_types', 'be_types' );
    	function be_types( $types ) {
    		$types[] = 'post';
    		return $types;
    	}

    – I created a post in the Image post format and checked “Hide Title”
    – When I viewed that post, there was no title.

    Just to be clear, this plugin only affects the single post/page view. So when you view the homepage, you’ll see the title of all posts, even if you said you don’t want them displayed.

    Hi Bill,

    I love the plugin. It’s exactly what I need.

    However, I need it to work for both posts and pages. If I had to choose one, posts.

    I’m not a coder.

    Can the code you put above just be added to the php or the plugin?

    Thanks for any help,

    Ed

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Genesis Title Toggle’ is closed to new replies.