Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter pdgrzdv

    (@pdgrzdv)

    Thanks for your reply, Raam Dev!

    I actually fixed this issue. Haven’t tested other caching plugins that work exactly the same, but didn’t have any language reverts with W3 Cache. Still.. I like Comet Cache and wanted to make it work.

    For anyone else who might run into the same issue:

    By default Woocommerce inherits the language setting from WordPress, so if you’re not using the default (English) – switch back to it. This will make both your WordPress and Woocommerce in English. Then:

    1 – Locate the .mo and .po files that contain your language translation either from the Woocommerce language repository (or from your own source).
    2 – Upload them in wp-content/languages/plugins
    3 – Change the file names to woocommerce-en_US.mo and woocommerce-en_US.po

    You should be able to see your Woocommerce section changing into the language you’re trying to install and in System Status the Woocommerce plugin will be still displaying “en_US” language.

    Comet Cache is working properly with this little trick. Everything stays cached and doesn’t revert back to English.

    Thread Starter pdgrzdv

    (@pdgrzdv)

    If you open wp-video-lightbox/misc_functions.php
    You’ll see after the 8th row the following:

    extract(shortcode_atts(array(
                'video_id' => '',
                'width' => '',	
                'height' => '',
                'description' => '',
                'anchor' => '',
                'alt' => '',
                'auto_thumb' => '',
        ), $atts));

    This is where I saw the ‘description’ => ”, code. You should update your guide cause currently it doesn’t include it.

    An example shortcode is:
    [video_lightbox_vimeo5 video_id=202617755 width=960 height=540 alt="Deeba" description="Tvoita maina" auto_thumb="1"]

    And it displays like this:

    • This reply was modified 7 years, 8 months ago by pdgrzdv.

    @himate There’s a shortcode called description= so once you add the title which is alt=”title here” just add a description=”description here” and it should work.

    Thread Starter pdgrzdv

    (@pdgrzdv)

    Acutally… I looked at the misc_functions.php file and saw that there’s a shortcode “description=” that nobody mentions anywhere in your guide.

    Thread Starter pdgrzdv

    (@pdgrzdv)

    Also, I’ve noticed that when I switch off the “Show title” in the control panel it’s the alt=”some description text” that disappears from the video lightbox.

    Thread Starter pdgrzdv

    (@pdgrzdv)

    I’ve seen the guide, however title=”some description text” does not appear underneath my video. Actually – it doesn’t appear anywhere. I’ve checked if it’s just the font being white, but – nope… just not showing up.

    Thread Starter pdgrzdv

    (@pdgrzdv)

    Thanks for the info!
    It worked!

    As I have ZERO experience in coding and have no clue what is a “selector” I’ll give an explanation for the other people like me.

    The piece of code @arielk-1 posted here has to be put on the “top” section (the one that should cast the shadow over the next one).

    1)Open your page with browser => right click => inspect element

    2)When you hover over the code you’ll see it highlights the section that you want to work on (the one that has to cast the shadow).

    3)Once the section you want to work on is highlighted you’ll see your mouse is over a piece of code such as “section data-id=”SOME-RANDOM-LETTERS-AND-NUMBERS-HERE”

    4)RIGHTCLICK-COPY those random letters and numbers

    5)Go to your CSS editor (mine is Simple CSS plugin) and type:

    .elementor-element-RIGHTCLICK*PASTE*THE*ID*HERE {z-index: 1;}

    6)Save > Refresh your page – Voila

Viewing 7 replies - 1 through 7 (of 7 total)