Title: anotheruserhere's Replies | WordPress.org

---

# anotheruserhere

  [  ](https://wordpress.org/support/users/anotheruserhere/)

 *   [Profile](https://wordpress.org/support/users/anotheruserhere/)
 *   [Topics Started](https://wordpress.org/support/users/anotheruserhere/topics/)
 *   [Replies Created](https://wordpress.org/support/users/anotheruserhere/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/anotheruserhere/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/anotheruserhere/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/anotheruserhere/engagements/)
 *   [Favorites](https://wordpress.org/support/users/anotheruserhere/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Use Client's Time Zone] Displaying times according to user TZ](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/#post-16905948)
 * Here is the code for my shortcode
 * ‘/**
    - The [date] shortcode.
      *
    - Accepts a date and displays it with the current TZ
      *
    - [@param](https://wordpress.org/support/users/param/) array $atts Shortcode
      attributes. Default empty.
    - [@param](https://wordpress.org/support/users/param/) string $content Shortcode
      content. Default null.
    - [@param](https://wordpress.org/support/users/param/) string $tag Shortcode
      tag (name). Default empty.
    - [@return](https://wordpress.org/support/users/return/) string Shortcode output.
      */
      function date_shortcode( $atts = [], $content = null, $tag = ” ) {// override
      default attributes with user attributes$atts = shortcode_atts(array(‘date’
      => date(“h:i A d F Y”),), $atts, $tag); `$date=$atts['date']; $o = '<span 
      class="event-date">'.date("g:i A, j M Y (e)", strtotime("$date")).'</span>';//
      $o= $o . "<br>Input date: $date"; `
    - `return $o;` }
 * add_shortcode( ‘date’, ‘date_shortcode’ );’
 * And the test page (implemented at [https://encounterevents.uk/test-page/](https://encounterevents.uk/test-page/))
   is
 * ‘This event is at “11:00 AM 1/6/23 CST” or [date date=”11:00 AM 1/6/23 CST” ]’
 * I looked at the code and I can’t see why it’s not working as expected. I am wondering
   if the JS function you call isn’t working. I took a look at that, too, but it’s
   way beyond me. Or, of course, it could be (and perhaps more probably is) a bug
   in my code that I can’t see.
 * Any help you can offer would be greatly appreciated. Thanks
    -  This reply was modified 3 years, 2 months ago by [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/).
    -  This reply was modified 3 years, 2 months ago by [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Use Client's Time Zone] Displaying times according to user TZ](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/#post-16897770)
 * I’m going to be away for the next two weeks and the code looks beyond my knowledge
   so if you can take a look I’d appreciate it. Once I’m back I can help debug as
   it seems to work for me in Arc Browser (displaying ‘Europe/London’ as my TZ) 
   but not in Safari (displaying ‘GMT’, the server TZ).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Use Client's Time Zone] Displaying times according to user TZ](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/#post-16893990)
 * That’s very odd as it’s not picking up your TZ. Is there any way I can debug 
   it or see what is happening?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Use Client's Time Zone] Displaying times according to user TZ](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/displaying-times-according-to-user-tz/#post-16893815)
 * Hi,
 * Thanks for your prompt response. 
 * I think I have found a solution using a short code to take a date string (with
   a specified TZ) and redisplay it using the current TZ (using your plugin to set
   the client TZ).
 * However, I got someone in Chicago to test it but they saw the time as GMT not
   CST as I’d have expected. If I test it here I get ‘Europe/London’ as TZ using
   Arc Browser but ‘GMT’ using Safari. My Chicago friend also uses a Mac so I’m 
   wondering if it’s Safari not passing on the info you need. Is this something 
   you have experienced?
 * I have a test page at [https://encounterevents.uk/test-page/](https://encounterevents.uk/test-page/)
   and wonder what time you see.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Incompatibility with SVG Support](https://wordpress.org/support/topic/incompatibility-with-svg-support/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/incompatibility-with-svg-support/#post-13780093)
 * I found the solution here: [https://wordpress.org/support/topic/svg-animation-not-working-in-wordpress-how-to-troubleshoot/page/2/](https://wordpress.org/support/topic/svg-animation-not-working-in-wordpress-how-to-troubleshoot/page/2/)
 * The uploads tab has a set of permitted types and activating SVG there worked,
   and allowed me to remove SVG Support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SVG Support] SVG Not Uploading due to security reasons](https://wordpress.org/support/topic/svg-not-uploading-due-to-security-reasons/)
 *  [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/svg-not-uploading-due-to-security-reasons/#post-13780064)
 * I am having this problem, too. I tried the test SVG you supplied and the problem
   persists. it appears (in my case at least) to be an incompatibility with the 
   Media Library Assistant plugin by David Lingren.
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Page broken on Apple devices](https://wordpress.org/support/topic/page-broken-on-apple-devices/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/page-broken-on-apple-devices/#post-12981936)
 * It still happens.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Page broken on Apple devices](https://wordpress.org/support/topic/page-broken-on-apple-devices/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/page-broken-on-apple-devices/#post-12981122)
 * The report number is GSXIIIAK
    -  This reply was modified 6 years, 4 months ago by [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Table of Contents] Disable TOC on some pages](https://wordpress.org/support/topic/disable-toc-on-some-pages/)
 *  Thread Starter [anotheruserhere](https://wordpress.org/support/users/anotheruserhere/)
 * (@anotheruserhere)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-toc-on-some-pages/#post-12934688)
 * A bit more info…
 * I had been including the TOC by inserting the [toc] shortcode on the pages I 
   wanted it on, which was working fine and the contents of the TOC reflect the 
   contents of the page. However, when it appeared on the page I didn’t want it (
   Our Team) it showed an entry for each H2 on the page (ie each team member) AND
   the H2s on the sidebar (Recent Posts, Recent Comments). This does not happen 
   where I manually inserted the TOC.

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