Posts tagged with: wordpress

Add HTML tags to WordPress widget title

Adding HTML tags to wordpress widget titles is not allowed, they are removed when saving them in the database. This small snippet of code helps you to add HTML to the widget title. The code snippet makes it possible to use tags like [html] and [/html] in widget title and convert them. function html_widget_title( $title ) […]


Add code to your wordpress post

Adding code snippets visually to your wordpress post is sometimes a hassle. you could write <pre><code></code></pre> tags around your code in text editor but it would be much handier to add it via the WYSIWYG editor. Make sure you open the full WYSIWYG editor and use the Header dropdown and choose the “predefined text” option. It […]