Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter electriztown

    (@electriztown)

    I mean, Cornerstone which is Themeco’s Page Builder doesn’t work when ESI is enabled. I searched on this support and found out that someone had similar complain over a year and half ago but he doesn’t seem to have found any solution yet. I’d appreciate if you can get a solution to solve this issue.

    Please what do you mean by default settings for the comments?

    Thread Starter electriztown

    (@electriztown)

    Update: My theme doesn’t work properly when ESI is enabled; I can’t edit my pages and post and cannot navigate the theme. I use Pro by Theme.co

    How can I upload screenshot here so you can see.

    Thread Starter electriztown

    (@electriztown)

    Thank you for pointing out enabling ESI. I just did now and it’s working fine.

    What if I want to have multiple ESI blocks for different items? Please how do I go about it?

    Lastly, please I have one more issue. My comment reply doesn’t work. For example, when someone clicks on REPLY in a comment, the reply form doesn’t show up. This issue started as a result of caching. Please help…

    Thread Starter electriztown

    (@electriztown)

    Thank you for your efforts.

    Did you test this to see if it’ll work? It messed up my page and it’s not working at all from my end.

    Thread Starter electriztown

    (@electriztown)

    Main code.php

    $my_var = “test var”;
    $my_var2 = “test var 2”;
    add_action( ‘litespeed_esi_load-my_esi_block’, function() use ($my_var, $my_var2) {
    do_action( ‘litespeed_control_set_nocache’ );
    echo “Hello world”.rand (1,99999);
    echo ‘
    my var:’ . $my_var . $my_var2;
    });

    Functions.php

    add_action( ‘litespeed_esi_load-my_esi_block’, ‘my_esi_block_esi_load’);

    function my_esi_block_esi_load($params)
    {
    do_action( ‘litespeed_control_set_nocache’ );
    echo “Hello world”.rand (1,99999);
    echo var_dump($params);
    }

    Please see what I’m talking about.

    Thread Starter electriztown

    (@electriztown)

    I’ve tried but still not working. Perhaps you can please modify the code for me with my code.

    Here’s my code:

    date_default_timezone_set(‘Africa/Lagos’); echo date(‘M d, Y, H:i’).’ WAT.’;

    Please…

    Thread Starter electriztown

    (@electriztown)

    Hello, there are other random stuffs in the codes on the page you shared with me. Should I leave them the same?

    Maybe you can give me the code to use with my code. Please…

    Thread Starter electriztown

    (@electriztown)

    Hello. I went through that page but I’m confused. It seems complicated.

    Here is my code below:

    date_default_timezone_set(‘Africa/Lagos’);
    $date = date(‘M d, Y, H:i’);
    echo $date.’ WAT.’;

    Please help.

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