There is no excerpt because this is a protected post.
This is actually a very easy stuff to do – if you have the need for setting up wholesale prices, but exclude tax from the checkout, you can go with the following plugin (59 usd cost) – WooCommerce Wholesale Prices. You will also need to have the free version installed, along with the premium one. (more…)
Here is the scenario – you created that awesome CSS and are dying to get it online. The client also. The website is hosted on WP Engine and is using its famous aggressive caching mechanism. You save the changes into style.css or elsewhere and clear the cache. But you still see the old style.css. You do it again […]
One of the powerful (or let’s say useful) functions that ship with WMPL is ICL_LANGUAGE_CODE, allowing you to translate strings using PHP conditional check. This is particularly useful for translating widgets and some other theme translations. But if you’re not inclined to purchase WMPL, but still need this feature, I only found it within Polylang plugin (when talking about […]
If you want to check if you are on custom post type singular or custom post type archive within your WordPress website, you can perform the following check:
In this particular case, we are checking if we are on locations custom post type or on the archive of that CPT.
One of the reasons you might want to replace Visual Composer lightbox (it is using prettyPhoto actually) is because of the mobile view where images opened using the effect are so small that you can hardly see or scroll through them. Several people have asked about this on official Visual Composer website, but they only […]
In one of my recent projects, the client wanted to create a homepage with several different layouts for groups of posts. Normally this is not a problem – you can just create several loops, reset them, and you can get any imaginable layout. But this was a different pair of boots – the homepage consisted […]
If (for some reason) you have the need to get the featured image (or post thumbnail) URL, you can do it with wp_get_attachment_image_src() function, for example like this:
If you want to output some data (such as biographical info or personal website) for the person who commented on WordPress post or page, you should be able to get the user ID so you could use it for the_author_meta() function. (more…)
There are several walker classes in WordPress – I don’t actually know how many there are because I tend to browse the source code only if I need to change something, just as others I guess :). Regardless, I’m sure that custom navigation walker class is probably the most used and customized WordPress walker class. But […]
This is just one of the many possible scenarios on how to change a function in a WordPress plugin, but let me show you a real world example from Easy Property Listings, a really great and customizable real estate plugin. My client wanted to remove the <a> element from featured image on single property listing page. The […]
So this is the scenario – you have this text on your website and would like to have a button that would allow the visitor to copy the text into clipboard using one click, without requiring them to select the text manually. Thankfully, there is a clipboard.js library, allowing us to perform different kinds of […]
Back in the day when web developers didn’t have to care about responsive layouts, life was easier in some cases. For example – charts. There are quite a lot of types of charts and in the beginnings of responsive web, creating responsive charts surely wasn’t a trivial task. But nowadays, given that there are thousands […]
The answer to how to add description into WordPress menu items is – easy :). All you need to do is extend walker class using nav_menu_item_title() filter which came with WordPress 4.4. So basically, all we need to do is to add $item->description where appropriate, which means inside the start_el() function which generates the menu link. (more…)
Genesis framework is among the most popular frameworks for rapid WordPress theme development. Whether it is the best one is out of the question – there is no “best” when it comes to development of any kind. What is excellent for one purpose could be completely useless for another purpose. Read my full post published […]