Escaping characters in shortcode parameter

[ad_1]

Plugin Author
berkux

(@berkux)

Hi,
can you please post the URL of the JSON here?
Bernhard

Plugin Author
berkux

(@berkux)

Hi, I checked with http://worldtimeapi.org/api/timezone/Etc/UTC and can confirm, that this is an issue. Add a extra \ in the shortcode.

[jsoncontentimporter url=http://worldtimeapi.org/api/timezone/Etc/UTC debugmode=”10″ oneofthesewordsmustbein=”Etc\\/UTC” oneofthesewordsmustbeindepth=”2″] raw_offset = {raw_offset}

timezone = {timezone}

unixtime = {unixtime}

utc_datetime = {utc_datetime:datetime,d.m.Y, H:i:s,0}

utc_offset = {utc_offset:datetime,d.m.Y, H:i:s,0}

week_number = {week_number}
[/jsoncontentimporter]

This is how the Shortcodeparameter is passed to the Plugin.

Bernhard

  • This reply was modified 24 minutes ago by berkux.
  • This reply was modified 24 minutes ago by berkux.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer