[Plugin: CataBlog] wpautop table bug
-
Hi
For my product catalog i need to put table into description but wordpress creates blank space before table. You can see it here – last item on the bottom https://th3rion.unixstorm.org/jarex/?page_id=162
On rest of entries tables are made with divs (with divs table everything is ok) but in catalog would be around 300 products and someone else without html knowledge would be adding them so i need tables.
After google search i found its common problem with wpautop and it can be disabled in formatting.php file just by changing it from true to false but it doesnt work for catablog.
I think that maybe somewhere in catablog this function is still turned on but i dont know where to look…
I have also second question. What if i want to have default content in catablog entry, for example blank table. I know i can add this to my functions.php:
add_filter( ‘default_content’, ‘my_editor_content’ );
function my_editor_content( $content ) {
$content = “table or something”;
return $content;
}but it works only for wordpress post and pages – not catablog entries. How to target catablog entry with this function.
- The topic ‘[Plugin: CataBlog] wpautop table bug’ is closed to new replies.