• Resolved astandera

    (@astandera)


    Hi,
    I had php shortcodes (no insert_php) and diplayed them via No Cache Ajax Widets, https://cs.wordpress.org/plugins/no-cache-ajax-widgets/, because of they display a dynamic data (thermometer temperature) with cached pages by WP Super chache.

    After updating to your new version, it works in pages/posts (included camera photos via your shortcode in the post works), BUT NO with this Ajax plugin in widget area. It displays only shortcode text like [wbcr_php_snippet id=”2931″], it means whole shortcode snippet is not executed.

    Veryfied, tested.

    PS: What is more – after downgrading to original version, this plugin is active, BUT does not display Shortcodes item in WordPress menu. Wery bad implementation, no way how to go back.

    My completly ignored php code is (real numbers swapped by 0 here):

    
      $urlSVystupem = "https://tmep.cz/vystup-json.php?id=0000&export_key=0000000000";
    
      $json = file_get_contents($urlSVystupem);
      $obj = json_decode($json);
     
      // Konkrétní hodnoty ze získaného:
      print "Teplota: " . $obj->teplota . " °C<br />";

    Any idea?

    Thank you

    A@

    • This topic was modified 7 years, 2 months ago by astandera.
    • This topic was modified 7 years, 2 months ago by astandera.
    • This topic was modified 7 years, 2 months ago by astandera.
    • This topic was modified 7 years, 2 months ago by astandera.
    • This topic was modified 7 years, 2 months ago by astandera.

    The page I need help with: [log in to see the link]

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

The topic ‘Conflict with plugin No Cache Ajax Widets’ is closed to new replies.