If you want display post categories without the links in repeater or in post page without link to the category archive, you can use the code below. If you want to change the separator, change this: To whatever you want... for example: If you need…
If you want to have your website semantic and use lot of custom code, sometimes you need to add Oxygen part into your custom PHP (for example in code block). How to display Oxygen Parts with PHP? Just use this small echo code and change…
Today I will show you a great tip for really simple navigation menu. This menu can be used in template which is used for Product Archive and also for product category archives. I build it for one submenu level only. How does it looks? On…
After Oxygen 4.0 update you may encounter problem with Swiper slider used within repeater. To fix this problem, add this CSS styles. The Swiper.js repeater problem after Oxygen 4.0 Fix it back to normal appearance What to do? Just add a little CSS to make…
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…
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…
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…
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…
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…
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…
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…
If you need to display only parent pages or posts, you just need to put post_parent = 0 parameter to your dynamic query in Oxygen builder. So it will work like normal WordPress query:
If you want to display only one first term assigned to your post, add this code. It will add a link to the category with CSS class with category slug, so you can style it separately from other categories. This snippet will get all terms…
If you want query some posts from one category, you don't need to build the tax_query. You can use simpler solution, the category__in parameter. For example, you need to show 3 latest posts from media-mentions category. So go to the administration and find your taxonomy…