To set the language direction of the content in the element, we use either the HTML dir attribute or CSS direction property. The default value is ltr (left to right direction), while languages like Arabic and Hebrew use rtl (right to left direction). In WordPress themes, the direction is usually inside the <html> tag. Sometimes,
In one of my previous posts, it was demonstrated how to enable shortcode in widgets, excerpts & custom fields. Another example where we might need the shortcode to work is with the Contact Form 7 plugin. We might want to add them in the Mail Template, or we might want to use them in the
Recently, I was writing an article containing programming code. The code contained some single and double quotes and noticed that when I copied the code from a web page and pasted it into a code editor and then tried to run it, the code threw syntax errors. In the end, it turned out that the
Shortcodes are a very popular feature in WordPress that allows you to add custom functionality to the content. We can use a shortcode inside the post or a page, but they won’t work when they are added in a widget, an excerpt or a custom field. This article will show you how to fix this
In WordPress, the excerpts for pages is disabled by default, while with posts, they are enabled, but they might still be hidden inside the post editor. This article will show you how to make excerpt editor visible in posts and how to enable excerpts in pages.