Latest news from Great-tit

I firmly believe that sharing knowledge is the key to mutual growth and development. Each article and guide I write is the result of countless hours of intense research and the unwavering passion I pour into it. Your support enables me to continue creating high-quality, informative, and engaging WordPress resources that empower you on your journey.

Published articles related to:

Aleš Sýkora wrote:

Custom PDF Invoices & Packing Slips templates with Oxygen Builder

November 28, 2023 in Oxygen Builder, Plugins, WooCommerce, WordPress / 0 comments

You propably already know, that Oxygen builder disable your WooCommerce theme completely. That may sometimes be a problem – for example when you want to override some template files. Recently, I have found quite hard to create custom template for my Invoices with WooCommerce PDF Invoices & Packing Slips plugin by WP Overnight. So I…

Continue reading

Aleš Sýkora wrote:

Open and close OxyExtras lightbox when element clicked or hash in URL

February 4, 2022 in Custom Code, Oxygen Builder, Plugins, WordPress / 0 comments

Thanks to the OxyExtras support, we can use custom elements to open and close their lightbox element. You just need to add the code below to the code block and add CSS classes. Opening element: .open-lightboxClosing element: .close-lightbox jQuery(document).ready(function($) { let openSelector = ‘.open-lightbox’; let closeSelector = ‘.close-lightbox’; let hash = ‘form’ /* yourwebsite.com/#form */…

Continue reading

Aleš Sýkora wrote:

WP Rocket lazy load iframes fix for Oxygen builder

November 28, 2023 in Custom Code, Oxygen Builder, Plugins, WordPress, WP Rocket / 4 comments

If you use the WP Rocket cache and it’s lazyloading for iframes/videos, you can encounter strange padding bottom on Oxygen Builder Video element. To fix it, you need to set padding-bottom unset according to WP Rocket support. Setting up the WP Rocket is easy: To fix the issue, add this CSS to your custom CSS…

Continue reading

Aleš Sýkora wrote:

How to Enable Page Excerpt in WordPress

November 28, 2023 in Advanced Scripts, Custom Code, Plugins, WordPress / 0 comments

Page Excerpt is disabled by default in WordPress post type Page. Excerpts are enabled for WordPress Posts, but I am not sure, why not for Pages. So, if you need to use the Excerpt in Wordpress Pages, you must add the functionality with the WordPress PHP filter. You can simply put the code in your…

Continue reading

Aleš Sýkora wrote:

Oxygen two columns WooCommerce Cart

November 28, 2023 in Custom Code, Oxygen Builder, Plugins, WooCommerce, WordPress / 1 comments

If you want better user experience with your WooCommerce store, you may need Two columns WooCommerce checkout. But maybe, you would like to offer this experience also in the Cart. If you want two columns WooCommerce cart, use the CSS code below in your Custom CSS Stylesheet inside Oxygen Builder. What do you think? Is…

Continue reading

Aleš Sýkora wrote:

Order posts by ACF field in Oxygen Advanced query

November 28, 2023 in Oxygen Builder, Plugins, WordPress / 4 comments

If you need filter your advanced query by ACF field, you need to use the field as a meta_key and then order by meta_value. You can set it up in Advanced query builder in Oxygen builder like this:

Continue reading

Aleš Sýkora wrote:

Automatically change text color by content of pricing table

November 28, 2023 in Custom Code, WordPress / 0 comments

Imagine you are creating a pricing table with two or more text options like: YesNoSpecial You want user to have a fine experience when adding the pricing table. So you want each option to have special color without forcing user to add some html classes. So define your table by table-cells or flexboxes and add…

Continue reading

Aleš Sýkora wrote:

Oxygen Builder: Advanced Custom Query examples

November 28, 2023 in WordPress / 8 comments

Current taxonomy query Suits good for Taxonomy archives for example. Top selling products in woocommerce category Needed args to get best products: Args to get current taxonomy: And together:

Continue reading

Aleš Sýkora wrote:

Oxygen Taxonomy Query multiple taxonomies and terms

November 28, 2023 in WordPress / 1 comments

You can use tax query when using Oxygen advanced query builder. If you want to display posts in categories in multiple taxonomies, you need to set it up right. Add tax_queryAdd relation AND | ORAdd tax_query arrays When you do this in code, it will look like this: When using oxygen, you need to construct…

Continue reading

Aleš Sýkora wrote:

Dequeue WooCommerce JS and CSS

September 28, 2021 in Custom Code, Plugins, WooCommerce, WordPress / 0 comments

If you do not use default WooCommerce Photoswipe lightbox, flexslider and other libraries, you can dequeue them for faster loading of your site. I am doing that especially when I use the Oxygen Builder because in most times I build my own product galleries with fancybox. How to do Dequeue WooCommerce JavaScripts and CSS styles?…

Continue reading