Month: April 2015

Home / 2015 / April
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

Reloading the website on resolution change

The code I posted on this link works fine, but has one limitation – if the site visitor changes the resolution (rotates the mobile phone or tablet device), the stacking will remain as it was in the first place.

Post

Changing order of HTML elements using jQuery

If you want to change the order of HTML elements displayed on the page, there are at least two options – the first one is to try CSS display property, namely any of the table-column-group, table-header-group and other values that make HTML elements to behave as table elements. This can perform only basic tasks, though, and normally...

Post

How to add jQuery (or JS…) script on specific WordPress page

Let’s say that you want  to execute some jQuery script on a specific WordPress page – I had this case where I had to change the order of several HTML elements on a specific page, but as the website was using some sort of visual editor which adds the same classes for blocks of the same...

Post

Glowing HTML button with jQuery

There are certainly better ways to create a glowing button, but here is one simple way I used on one of my clients’ websites. The request was to create a rounded button with glowing effect. In other words, I wasn’t able to use CSS3 infinite animations because none of them were suitable for that. Naturally,...

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.