Want the visual style in wordpress
Dashboard>>Users>>Edit User: is “Disable the visual editor when writing” ticked?
Dashboard>>Users>>Edit User: is “Disable the visual editor when writing” ticked?
I am aware of the capability of adding meta boxes for single text fields, etc, but that’s not what I am actually after. Meta fields aren’t just for “single text fields”, the database type is longtext: mysql> DESCRIBE wp_postmeta; +————+———————+——+—–+———+—————-+ | Field | Type | Null | Key | Default | Extra | +————+———————+——+—–+———+—————-+ | … Read more
Enable the kitchen sink, the button in the upper right corner of this screenshot: You get a dropdown now with special entries for headings.
There isn’t really a built-in way in WordPress to determine if a content field has an image in it, but you can use standard PHP functions to check. For example, I’ve used a similar technique to check if a post’s featured image has also been inserted into the post content, and if so, haven’t shown … Read more
Technically, third party plugins are off-topic for this site. However this is an easy one – in the Custom Fields page in the admin area, go into your field group. Scroll right down to the bottom and there’s a section allowing you to “hide” elements in the post. Select the “content” option here and you’re … Read more
You can add an editor-style.css stylesheet in your theme which mimics the look-and-feel of your blog. Here are some tips on how to do that (you’ll need to touch functions.php too): http://www.deluxeblogtips.com/2010/05/editor-style-wordpress-30.html The first two styles in that example are the important ones; usually what I do is just copy over and rename my style.css … Read more
I’d suggest using editor style for your wysiwyg. Add add_editor_style(); to your functions.php and then add a new file called editor-style.css to your main theme directory. Your editor style should reflect the basic css settings like your actual frontend content width, H1, H2, p etc tags styles, margins, image padding adn margins etc. Don’t copy … Read more
Yessss, I fixed the problem, i needed to apply a filter into the get_post_meta to make it work. <?php echo apply_filters( ‘the_content’, get_post_meta($post->ID, ‘_wenc_content_inhoud’, true)); ?> Thanks anyway!
Question 1: Is it a plugin or hack that can allow one to parse html inside the visual view Neither of both. The visual view is the visual view and not the HTML view. If you want to paste HTML, use the HTML view. Question 2: Is it possible to insert html code to the … Read more
It looks like I figured it out. I installed SyntaxHighlighter Evolved and SyntaxHighlighter TinyMCE Button. When I select the code and use the TinyMCE button to highlight it, the spaces seem to stay. This also works in both TinyMCE’s Visual and Text editors.