How to format the various types of custom fields?
How to format the various types of custom fields?
How to format the various types of custom fields?
Have you tried another editor? You could try CKEeditor, according to some it does not mess with the code indents. https://wordpress.org/plugins/ckeditor-for-wordpress/
wp_strip_all_tags() will strip out all the tags. However with posts which just have images and no content. There is no solution to that, the excerpt or wherever you are trying to use it will show blank since it cannot “magically” create content for the post when there is no content at all. For more info … Read more
Themes can optionally use TinyMCE editor stylesheets via add_editor_style(). If properly implemented, editor styles will do a pretty good job at making the contents of the editor look the same way as content rendered on the front end of the site. Without editor styles, TinyMCE will use very basic styles which will not match the … Read more
Post formatting bug in WordPress
Pasting from Office to WordPress is never a clean experience. There are two options: paste as you’re doing and clean up the code later (manually deleting the <strong> </strong> tags and other bugs), or do as Bas Grave suggested and strip all formatting, then use WP to reformat it. The reason is creating more space … Read more
UPDATE: You just have to put this code in your custom-css area in the wordpress customizer: .wpb_wrapper {font-family: playfair display;} But this will affect all items on your site with the CSS-Class “.wpb_wrapper” so maybe you should look for a way to specifice the CSS-Classes and CSS-IDs for single elements of your page if you … Read more
Understanding automatic text formatting in the WordPress editor
How do I change the content of an element for a theme without losing the styling?
I added 3 more pages to my site, one for each sequences that I wanted in the report. Then added a parameter to the shortcode in each page specifying the desired sequence and modified the function handling the shortcode to pass the parameter to the function building the report. Then just redirected to the page … Read more