-
-
Save hivepress/4ed3d319ab220c6e005f58a4da95e504 to your computer and use it in GitHub Desktop.
| <?php | |
| add_filter( | |
| 'hivepress/v1/models/listing', | |
| function( $model ) { | |
| $model['fields']['description']['editor'] = true; | |
| return $model; | |
| }, | |
| 1000 | |
| ); |
Yes, you can pass an array of the editor configuration instead of "true", the same as accepted here in "settings" https://developer.wordpress.org/reference/functions/wp_editor/ Please use our support forum if there are other issues https://community.hivepress.io/
On the submit-listing/details/ page if initially no category is selected, then a category is selected, the editor doesn't load until the page refreshes. The editor .css does but the .js doesn't. This makes the text white because of editor.min.css and the field completely unusable.
Yes, this is a known bug - unfortunately there's no temporary fix for this but we'll fix this in the next update. Since the form is refreshed without the page refresh, WordPress doesn't initialize the editor.
Hello, can you write a custom code to make the mobile display same as the desktop display? No more responsive display.
Hello, can you write a custom code to make the mobile display same as the desktop display? No more responsive display.
This is a common issue not specific to HivePress, but adding the HTML meta tag mentioned here https://stackoverflow.com/questions/19165545/disable-css-for-responsive-design to the theme's header.php file should do the job.

For some reason the quote characters were copied incorrectly, please replace double quotes on line 2 with single ones, or try to re-copy the snippet.