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:

Check if current post has child in WordPress

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

When you are in situation, where you want to check if current post has a child posts, then you need to add custom function. It’s the easiest way how to do it. Check if post has childs programatically You can add this function to your code snippets plugin or custom funcionality plugin (I am using…

Continue reading

Aleš Sýkora wrote:

Display post tags without links in Oxygen builder

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

If you add the post_tag by dynamic data option in text block – for example in post or in repeater – then it displays the tag as a link to the tag’s archive. You can do the same to display categories without links in Oxygen builder. But what if you don’t want the tag archive…

Continue reading

Aleš Sýkora wrote:

WP Rocket – Delay JavaScript execution with Oxygen and OxyExtras

November 28, 2023 in Oxygen Builder, Plugins, WordPress, WP Rocket / 2 comments

When using WP Rocket, you may speed up your site with delaying .js execution. You can encounter some issues when using it with Oxygen builder. Then you need to exclude some scripts from delaying. When using Oxygen Pro Menu element When using OxyExtras Pro Media player When using WooCommerce Stripe plugin

Continue reading

Aleš Sýkora wrote:

ACF repeater slider with Splide.js and Oxygen Builder

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

If you want to create custom slider, you may take some 3rd party js library. I will use the Splide.js in this tutorial, but you can also use flickity or other. I will also use Oxygen WordPress builder, but this can be done with every theme. Create ACF repeater field Install ACF and create Field…

Continue reading

Aleš Sýkora wrote:

Oxygen Pro Menu Vertical divider between items

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

If you want to add a vertical dividers between menu items, it’s simple. Just add the border-right to each (but not last) item in the menu. You can use and modify this code to add the vertical lines: Change the .pro-menu-class to your class: And customize the border-right values – width, type of border and…

Continue reading

Aleš Sýkora wrote:

WordPress 5.9 missing customizer

April 7, 2022 in WordPress / 3 comments

Do you want to set up a favicon for your website on WordPress 5.9+ and Oxygen Builder? No worries! Customizer is still here, but not in the admin menus anymore. Customizer doesn’t appear because new twentytwentytwo theme uses gutenberg full site editing beta. You have two options to open customizer: Install and activate older theme…

Continue reading

Aleš Sýkora wrote:

Get all child terms of parent taxonomy term in WordPress

April 7, 2022 in Custom Code, WordPress / 0 comments

I have my taxonomy with multiple levels. Here is an example: ProductsJackpotsSlotsTablesCompanyleadershipnewsalerts Sometimes, you want to display only child terms of parent taxonomy. In this case, I need to display all child terms of products term. What do I need to prepare? I need taxonomy ID from WordPress admin, and prepare a query. Here is…

Continue reading

Aleš Sýkora wrote:

Disable WordPress Autor archives

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

Don’t need to use Author archives in WordPress? Don’t forget that those pages are being generated automatically. So you need to set up redirect if you don’t need them. You can use following codes in functions.php or in custom mu-plugin, or my preffered way is using Advanced scripts. Redirect Author archives to homepage If you…

Continue reading

Aleš Sýkora wrote:

Load Gutenberg Styles only if page has blocks

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

Trying to speed up your site? You may want to disable Gutenberg block style libraries on pages and posts which doesn’t have any blocks. Add this code to your custom snippets and test it. It should disable loading of Gutenberg styles when not needed. It works with Oxygen Builder and Advanced scripts – I have…

Continue reading

Aleš Sýkora wrote:

Get ACF taxonomy field for current post in Query

April 5, 2022 in ACF, Oxygen Builder, Plugins, WordPress / 4 comments

For a situation where you need to display ACF taxonomy field for current terms assigned to the post in the WP Query, you may need the code below. Why to use ACF taxonomy field? It’s easy. I am using this for SEO purposes. How? I am creating website for language school. My taxonomy is called…

Continue reading