crowdfavorite / wp-post-formats

An admin interface and structured post meta for WordPress post formats.
362 stars 78 forks source link

Title input field not showing up in WP 4 Beta #54

Open wlcdesigns opened 10 years ago

wlcdesigns commented 10 years ago

I had an issue with the title bar not showing up in the 4.0 Beta when I tried to add or edit a post. I added $('#titlewrap').show(); right below the var CF = CF || {}; line in the admin.js file. That seems to have fixed the issue.

hatsumatsu commented 10 years ago

+1

hatsumatsu commented 10 years ago

removing display: none from #titlewrap in admin.css might be the more robust solution.

AaronHolbrook commented 10 years ago

Having this as well

hatsumatsu commented 10 years ago

In (this commit)[https://github.com/crowdfavorite/wp-post-formats/commit/3c42ac9a8278d2e26e95f272087cf5d498f39cf0] jquery.live() was changed to jquery.on(). Because the event handler that inits the plugin's functions was chained to this handler it's not called anymore. So the solution is to detach the init function's event handler from the jquery chain like this: https://github.com/hatsumatsu/wp-post-formats/commit/226ade30e2d84ab22de83e241ebe6c2975335cc8