Custom Post Type Templates from Plugin Folder?

You can use single_template filter hook. /* Filter the single_template with our custom function*/ add_filter(‘single_template’, ‘my_custom_template’); function my_custom_template($single) { global $post; /* Checks for single template by post type */ if ( $post->post_type == ‘POST TYPE NAME’ ) { if ( file_exists( PLUGIN_PATH . ‘/Custom_File.php’ ) ) { return PLUGIN_PATH . ‘/Custom_File.php’; } } return … Read more

WordPress frameworks and parent themes [closed]

Hybrid Theme Hybrid, developed by Justin Tadlock. Scope of code is primarily PHP internal functionality and front-end templates for themes. Interesting features: code aims to minimize template edits, most of functionality can be controlled via hooks; context-aware – extended body-class, dynamic context-aware hooks that allow to hook events that fire only in specific context; tightly … Read more

Rename block fields in the WordPress style dropdown

Not 100% certain what you mean – I see “Heading 2” rather than H2, and I’m fairly sure I’m using a standard install: If it’s those names you want to change, I don’t know of a way to change them without changing the core files: wp-includes/js/tinymce/langs/wp-langs-en.js (for example); it’s the block starting tinyMCE.addI18n(“en.advanced”