Strange problems when I try to insert HTML\XML code snippet in my posts

I am experiencing some problems while trying to insert XML code snippet into my WordPress articles. I have just read this tutorial: http://codex.wordpress.org/Writing_Code_in_Your_Posts I am using the base WordPress editor to write my articles (not using other plugin) I am using the SyntaxHighlighter Evolved plugin to enter code snippet inside my blog. I am experiencing … Read more

How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?

[*] Starting with version 5 the HTML standard allows <a> tags wrap block-level elements. On a specific page I need to wrap a heading and an image with an <a> tag: Some intro text. <div> <a href=”http://somewhere/”> <h4>Some heading</h4> <img src=”http://somewhere/some-img.jpg” alt=”Some image” /> </a> </div> While I can enter this in the text editor … Read more

Exclude file from theme editor

Is possible to exclude some files from being viewed and modified in the theme editor? 1 Answer 1 In general I wouldn’t recommend editing files that way and just disable it with the well known DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS constants, that are checked within the map_meta_cap() function. But anyway it’s interesting to see if we can … Read more