Recently, I needed to know how many occurrences the letters appear inside the specific sentence. As I was learning Python at that time, this looked like a perfect opportunity to use it to solve this problem and it is the focus of this article.
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
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