You must have noticed some websites don’t have the standard boring browser default scrollbar. Instead they have a nicely designed, color matching scroll bar that enhances the overall look of the website. Here you’ll learn how to create a Custom Scrollbar in WordPress and make your web site stand out from the mass. Ways of […]
Author Archives: HowToWP
How to use is_front_page and is_home functions in WordPress
In many cases WordPress developers want to display specific content only on homepage. In other cases they’ll want to display some content only on subpages and not on the homepage. This content can be any kind of HTML elements (text, images…), event template parts such as widget areas (sidebars) or headers and footers (different on […]
Estimated reading time WordPress plugins
Nowadays many blogs and web magazines are displaying reading time estimate for their articles. Reading time is usually displayed in the article header, between the title and the content. The advantage of displaying this information is in increased visitors engagement on the website and reduced bounce rate. Therefore, visitors will more likely read an article […]
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 register sidebars and add widget areas to WordPress themes
Every WordPress theme comes with at least one sidebar or widget area. Sometimes that’s not enough for certain projects. Sooner or later a developer will have to add more widget areas and place them in custom positions inside a WP theme. In this tutorial we’ll show you how to register sidebars and add widget areas […]
Free WordPress Ajax Search Plugins – Which auto-complete plugin is best?
What are WordPress Ajax Search plugins? You almost certainly used search forms on some sites, and instead on a search results page, suggestions showed up instantly as you type. That’s a great solution that speeds up searching and significantly improves user experience. So, you’d like to implement auto-complete feature on your blog or any other […]
How to align list items vertically in HTML lists with CSS?
HTML lists are some of the most used HTML elements in web development, but also in writing page and post content. In WordPress, lists come with some basic default styling applied by the theme. In most of the cases you’ll want to modify the default list styling to meet your design needs. This article will […]
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 change bullet points color and shape with CSS
So, you used all available CSS properties to style your HTML list, but still not satisfied? A final touch to style your unordered list could be to change bullet points color, or even change the bullet point shape. Furthermore, you could replace your list bullet with an image or a Font Awesome icon. Let’s get […]
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 […]