Category: WordPress

With articles also related to:

Aleš Sýkora wrote:

Translate WordPress string with code

January 21, 2021 in WordPress

Sometimes you want to change just one word in translation and you dont want to create .po and .mo files, install translation plugins etc. So use the function str_replace and replace the string you want. For example I am changin “Add to cart” to “Přidat do košíku”. You can place this code to your code…

Continue reading

Aleš Sýkora wrote:

Better product gallery lightbox with Oxygen and Fancybox

November 28, 2023 in Oxygen Builder, Plugins, WordPress

I will show you, how I am creating galleries like this (open random car to see it) in Oxygen Builder. I hate the product builder and default behavior of WooCommerce lightbox and magnifying glass function on hover. So I am using Image block wrapped in link – for featured image. And Oxygen’s gallery block for…

Continue reading

Aleš Sýkora wrote:

Custom WordPress login logo

November 28, 2023 in Advanced Scripts, Custom Code, Plugins, WordPress

Would you like to have your brand logo instead of default WordPress logo at your login page? Use this snippet in your custom funcionality plugin or in code snippets etc. I am using the Advanced Scripts plugin. This snippet changes the default logo and add link to the homepage. It also add custom Title for…

Continue reading

Aleš Sýkora wrote:

Oxygen Dynamic repeater examples

January 14, 2021 in Oxygen Builder, Plugins, WordPress

Query parent pagedata in Oxygen repeater Query parent page on child page. If current page is parent then query this page itself. Display all posts with same ACF post object field value Gets current post ID and look for posts connected to it by post object field from ACF.

Continue reading

Aleš Sýkora wrote:

Conditional check if page is parent or child in WordPress

January 14, 2021 in WordPress

If you need to display something only if post has childs (or not), you can use this conditional in your code.

Continue reading

Aleš Sýkora wrote:

Modify ‘ASAP’ label in Iconic Delivery Slots

January 5, 2021 in WordPress

You can use this code snippet to change the label for ‘ASAP’ when using ASAP delivery.

Continue reading

Aleš Sýkora wrote:

Custom SCROLLBAR with Oxygen Builder

December 7, 2020 in Oxygen Builder, Plugins, WordPress

Are you looking for some cool scroollbar, like on CSS-Tricks website? for a specific DIV use this in your custom CSS: for a whole document use body instead.

Continue reading

Aleš Sýkora wrote:

Footer at the bottom of page Oxygen Builder

December 2, 2020 in Oxygen Builder, Plugins, WordPress

Push your footer to the bottom in oxygen builder.

Continue reading

Aleš Sýkora wrote:

Disable scrolling in Iframe when scrolling page

November 23, 2020 in WordPress

Disable scroll until you click into iframe.

Continue reading

Aleš Sýkora wrote:

Disable Woocommerce image zoom on hover in oxygen

November 28, 2023 in Oxygen Builder, Plugins, WordPress

Add this to custom snippets. Or put in custom funcionalities plugin. Dont worry, lightbox will be working. Then the magnyfing glass icon dissapears, the over effect is gone, but the lightbox works perfect :-).

Continue reading