Simple Estimated reading time PHP code WordPress script

Many blogs and web magazines display their articles estimated reading time. This information is usually displayed in the header of the article together with other meta data. Showing the read time estimate encourages visitors to read the post, as they know how much time it will take them. The result is increased visitors engagement on […]

Estimated read time PHP script for WordPress

Modern web magazines and blogs show to their visitors estimated read time for each article. This information encourage visitors to read an article, increases visitor engagement on the web site and improves user experience. It results with more page views and lower bounce rate. The reading time estimate is usually displayed in the article header […]

How to disable comments in WordPress

By default, all posts and pages in WordPress allow users to post comments. While some websites will find this feature useful, in most cases comment forms only attract spam bots. Spam is the primary reason to disable comments in WordPress. To block comments, developers can customize Discussion settings, edit the template files or use a […]

How to split lists into columns using CSS

Let’s face it, long ordered or unordered HTML lists don’t look good in your site content. For instance, long content list items will leave too much useless white space on their right side. Sometime they also require a lot of scrolling to reach their end. There’s a simple solution to this problem. Use CSS to […]

How to embed custom stylesheet CSS files into WordPress?

Either if creating your own WordPress theme, a child-theme from it’s parent or editing a theme, you will encounter the need to add your own CSS custom stylesheet. Most probably you will also want to override some styles from the default theme stylesheet. There are several ways to add your own styles and/or override default […]

How to highlight code in Gutenberg editor?

Default WordPress editors were never really developer friendly with their plain text editor interface and no color highlighting. With Gutenberg, the default theme editor improved a lot with syntax highlighting and auto-complete funcion. Unfortunately, writing code in page or post editor is still a painful and slow process. Therefore, the first thing you want to […]