Category: WordPress

Post

Allowing HTML within WordPress excerpt

Allowing HTML within WordPress excerpt is a very common request. Therefore, I am providing likely the most complete solution available on the Internet. The code is posted on stack exchange WordPress channel and is created by Pieter Goosen. The complete explanation with further examples can be found on the link provided.

Post

How to edit submission fields in Listify WordPress theme

If you want to edit submission fields on Listify WordPress theme (these are the fields that appear on Submit Listing page), all you need to to is to use filters. Filters are used for making changes on both frontend and backend.

Post

How to change the number of documents (items) in WPML Translation management

If you’re translating your website into another language (or languages) using WPML and have lots of of pages, posts, products, etc., then you will likely use WPML Translation management to bulk translate multiple items at once. The current version of WPML (3.1.9.6. as of this article) provides two options – show all documents or 20 documents only.

Post

How to (quickly) debug WordPress white screen

In my experience, there are two kinds of people – people who experienced WordPress white screen and people who will experience it sooner or later. For example, one of my clients had a custom coded theme which worked well. But after WordPress 4.2 appeared (he performed an update), his website turned to blank. The issue...

Post

wp_pagenavi working with WP_Query

If you’re creating a custom template (let’s say for categories), then it is likely that you will have to use WP_Query class. But what if you want to use WP-PageNavi plugin in order to create pagination on the website? On one of the websites I’ve worked on recently, that’s exactly what I had to do, since the...

Post

Cropped featured image in WordPress

It may be a featured image on the front end, but is post_thumbnail when it comes to back end and actually implementing it into the site. First you need to add featured image support to your website (make sure to add it to after_setup_theme hook) - needless to say you would add it to functions.php.