How to make work with pretty much any theme
-
I had a theme that the plugin wasn’t working with. The reason the plugin doesn’t work is because the theme and plugin use the same priority to filter
comment_form_defaults
. And, because the theme is loaded last, it gets priority.This is a simple fix for the plugin: go with a later priority than
10
. For example:add_filter( 'comment_form_defaults', 'ccft_post_comment_title', 99 );
This would instantly solve pretty much any theme incompatibility, at least with themes that are properly coded. You should also be able to drop the custom Thematic and Genesis code, making the code a bit less complex.
I hope that helps.
https://www.ads-software.com/plugins/custom-comment-form-title/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to make work with pretty much any theme’ is closed to new replies.