Hello,
I have installed v6.2 of Newspaper theme on my website.
URL : http://www.naukrinama.com
Bydefault wordpress allows only text content in Category Descriptions. But i want to place HTML text in that section.
Now I found out a solution to this by using this plugin :
https://wordpress.org/plugins/allow-html-in-category-descriptions/
But if I use this plugin, it is incompatible with the Speed Booster Plugin of the theme, and it becomes disabled.
Can you tell me an alternative solution to this.
I think in this case you can disable the warning in speed booster to not disable anything. (Search forum for “how” to do that, or wait for tagdiv reply.)
Also that plugin is actually based on this discussiohn:
https://wordpress.org/support/topic/category-description-strips-html-tags
or put another way, this addition to your functions.php file may still work (not tested with latest version of WP):
foreach ( array( 'pre_term_description' ) as $filter ) {
remove_filter( $filter, 'wp_filter_kses' );
}
foreach ( array( 'term_description' ) as $filter ) {
remove_filter( $filter, 'wp_kses_data' );
}
Hello Chris,
Thanks for your reply.
But the Category plugin is not getting disbaled but the speedbooster plugin is getting disabled.
As mentioned in the docs posted by the theme developers that if there is any incompatible plugin then the SpeedBooster plugin automatically gets disabled.
So, I am looking around for an alternative solution in which the Category description starts accepting HTML data and yet it is compatible with the Speed Booster Plugin.
I hope i am able to clarify myself well. Please reply !
Hi
I’ve checked the html tags in category description and works fine: http://screencast.com/t/b9GR6CivKsP4 – http://screencast.com/t/jVpqgB4swB but you cannot use div containers.
Regarding the Speed booster issues you can comment this lines and the plugin will remain activated even if you use plugins different than those tested: http://screencast.com/t/ko9Xk7qdlXhn
Thanks for the message!
-
This reply was modified 10 years by
Andrei L..
Hello Andrei,
Thanks for your reply !
I did comment the code in the Speed Booster plugin which you have shared, but as soon as I do it my website doesn’t open and it starts showing blank white screen.
What to do in that case ? Because as soon as the speed booster plugin gets enabled the site stops opening.
Hi rishab55555,
Please make sure that you remove all the highlighted code from the tagdiv speed booster plugin: http://screencast.com/t/E02dWTfWKGR6 then test the plugin’s status again: http://screencast.com/t/Dr8sbVYZPuxz – it should remain active even if you use other plugins.
Thanks