Title: Arnd030's Replies | WordPress.org

---

# Arnd030

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/arnd030/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/arnd030/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [tel: URLs in Editor](https://wordpress.org/support/topic/tel-urls-in-editor/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/tel-urls-in-editor/#post-16895586)
 * Thanks. Interesting … maybe a problem with the Classic Editor plugin then.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photoswipe Masonry Gallery] Full resolution images download on page load](https://wordpress.org/support/topic/full-resolution-images-download-on-page-load/)
 *  [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/full-resolution-images-download-on-page-load/#post-13694316)
 * This is very odd. I had all thumbs re-calculated, with thumbnail width set to**
   230px** in the media settings page for thumbnail as well as in the PhotoSwipe
   Options in “Thumbnail Width”
    As a result, all thumbs have now **460px** width–
   exactly twice the setting.
 * The lines Aleksandr mentions above are already commented out in my version of
   this plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photoswipe Masonry Gallery] Full resolution images download on page load](https://wordpress.org/support/topic/full-resolution-images-download-on-page-load/)
 *  [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/full-resolution-images-download-on-page-load/#post-13692223)
 * Bug confirmed. To be precise: On load, the plugin should use the image version
   specified in the gallery, which is usually thumb, but can be medium or large 
   also.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photoswipe Masonry Gallery] Why 800px?](https://wordpress.org/support/topic/why-800px/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/why-800px/#post-13692176)
 * Thanks for the information, solved this.
    I also needed the gallery to be aligned
   left rather than center, achieved this via `.psgal {margin:0 !important}`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget CSS Classes] Does not work](https://wordpress.org/support/topic/does-not-work-1237/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/does-not-work-1237/#post-13329215)
 * Sorry, my mistake. Found solution in FAQ; missing ‘before_widget’ in functions.
   php. Thanks for quick response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML to Polylang] no language has been created with Polylang](https://wordpress.org/support/topic/no-language-has-been-created-with-polylang/)
 *  [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/no-language-has-been-created-with-polylang/#post-10818961)
 * Same here too.
 * This contradicts the “How to proceed?” info, which reads:
 * > “Activate Polylang and WPML to Polylang. Do _not_ create any language with 
   > Polylang.”
 * Ideas?
 * Thanks
 * Arnd
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] String translation not saving / disabled](https://wordpress.org/support/topic/string-translation-not-saving-disabled/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/string-translation-not-saving-disabled/#post-10408222)
 * OMG, my fault.
 * I hit the wrong button – “Apply” instead of “Save changes”.
 * I have to scroll down a bit to see the right button. I am sure I am not the first
   to make this mistake…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] String translation not saving / disabled](https://wordpress.org/support/topic/string-translation-not-saving-disabled/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/string-translation-not-saving-disabled/#post-10408106)
 * UPDATE: Issue disappeared overnight and alas I can not reproduce it. Can be closed,
   but any advice what might cause this is still appreciated. As I wrote, I had 
   that before.
 * Sorry, too fast. Problem still there. Sometimes changes are saved, sometimes 
   not. Completely random. :-/
    -  This reply was modified 7 years, 11 months ago by [Arnd030](https://wordpress.org/support/users/arnd030/).
    -  This reply was modified 7 years, 11 months ago by [Arnd030](https://wordpress.org/support/users/arnd030/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Markup errors](https://wordpress.org/support/topic/markup-errors/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years ago](https://wordpress.org/support/topic/markup-errors/#post-10232078)
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Markup errors](https://wordpress.org/support/topic/markup-errors/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years ago](https://wordpress.org/support/topic/markup-errors/#post-10225306)
 * Excellent! I think you’re right, thank you very much.
    I patched shariff.php 
   as you suggested and the HTML errors are gone.
 * So, it’s a bug? Am I the first to notice it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event post] Own German translation no longer works](https://wordpress.org/support/topic/own-german-translation-no-longer-works/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/own-german-translation-no-longer-works/#post-9305278)
 * I uploaded my translation files event-post-de_DE.mo and event-post-de_DE.po into/
   languages/ in the plugin directory, where the other translations are. Worked 
   in the version before.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event post] Time not displayed](https://wordpress.org/support/topic/time-not-displayed-2/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/time-not-displayed-2/#post-9277120)
 * Thank you very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event post] Time not displayed](https://wordpress.org/support/topic/time-not-displayed-2/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/time-not-displayed-2/#post-9217577)
 * I think I found it.
 * It is deliberate. In `function delta_date` in eventpost.php, you check if the
   event is over several days, and only display the time of day for events on a 
   single day.
 * It would be better to display the time also on events over several days. For 
   example, people want to know at what time to arrive on Friday evening for a weekend
   event.
 * I tried to patch the script like this:
 *     ```
       /**
            *
            * @param timestamp $time_start
            * @param timestamp $time_end
            * @return string
            */
           public function delta_date($time_start, $time_end){
               if(!$time_start || !$time_end){
                   return;
               }
   
               //Display dates
               $dates="\t\t\t\t".'<div class="event_date" data-start="' . $this->human_date($time_start) . '" data-end="' . $this->human_date($time_end) . '">';
               if (date('d/m/Y', $time_start) == date('d/m/Y', $time_end)) { // same day
                   $dates.= "\n\t\t\t\t\t\t\t".'<time itemprop="dtstart" datetime="' . date_i18n('c', $time_start) . '">'
                           . '<span class="date date-single">' . $this->human_date($time_end, $this->settings['dateformat']) . "</span>";
                   if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') {
                       $dates.='   <span class="linking_word linking_word-from">' . __('from', 'event-post') . '</span>
                                   <span class="time time-start">' . date_i18n($this->settings['timeformat'], $time_start) . '</span>
                                   <span class="linking_word linking_word-t">' . __('to', 'event-post') . '</span>
                                   <span class="time time-end">' . date_i18n($this->settings['timeformat'], $time_end) . '</span>';
                   }
                   elseif (date('H:i', $time_start) != '00:00') {
                       $dates.='   <span class="linking_word">' . __('at', 'event-post') . '</span>
                                   <time class="time time-single" itemprop="dtstart" datetime="' . date_i18n('c', $time_start) . '">' . date_i18n($this->settings['timeformat'], $time_start) . '</time>';
                   }
                   $dates.="\n\t\t\t\t\t\t\t".'</time>';
               } else { // not same day
                   $dates.= '
                       <span class="linking_word linking_word-from">' . __('from', 'event-post') . '</span>
                       <time class="date date-start" itemprop="dtstart" datetime="' . date('c', $time_start) . '">' . $this->human_date($time_start, $this->settings['dateformat']);
   
   
                        if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') 
                         $dates.= ', ' . date_i18n($this->settings['timeformat'], $time_start);
   
                       $dates.='</time>
   
                       <span class="linking_word linking_word-to">' . __('to', 'event-post') . '</span>
                       <time class="date date-end" itemprop="dtend" datetime="' . date('c', $time_end) . '">' . $this->human_date($time_end, $this->settings['dateformat']);
   
                       if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') {
                         $dates.=  ', ' . date_i18n($this->settings['timeformat'], $time_end);
                   }
                   $dates.='</time>';
               }
               $dates.="\n\t\t\t\t\t\t".'</div><!-- .event_date -->';
               return $dates;
           }
       ```
   
 * I changed the part after line 609, the else-part for events over several days.
 * Could you be so kind to look into this and check for mistakes? I am not sure 
   if I understand your code correctly.
 * Thank you very much
 * Arnd
 * PS: There is a problem with this forum, my reply disappeared after a small edit,
   and after re-posting I get “Duplicate reply detected” though the reply is not
   there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event post] Time not displayed](https://wordpress.org/support/topic/time-not-displayed-2/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/time-not-displayed-2/#post-9217563)
 * I think I found it.
 * It is deliberate. In `function delta_date` in eventpost.php, you check if the
   event is over several days, and only display the time of day for events on a 
   single day.
 * It would be better to display the time also on events over several days. For 
   example, people want to know at what time to arrive on Friday evening for a weekend
   event.
 * I tried to patch the script like this:
 *     ```
       /**
            *
            * @param timestamp $time_start
            * @param timestamp $time_end
            * @return string
            */
           public function delta_date($time_start, $time_end){
               if(!$time_start || !$time_end){
                   return;
               }
   
               //Display dates
               $dates="\t\t\t\t".'<div class="event_date" data-start="' . $this->human_date($time_start) . '" data-end="' . $this->human_date($time_end) . '">';
               if (date('d/m/Y', $time_start) == date('d/m/Y', $time_end)) { // same day
                   $dates.= "\n\t\t\t\t\t\t\t".'<time itemprop="dtstart" datetime="' . date_i18n('c', $time_start) . '">'
                           . '<span class="date date-single">' . $this->human_date($time_end, $this->settings['dateformat']) . "</span>";
                   if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') {
                       $dates.='   <span class="linking_word linking_word-from">' . __('from', 'event-post') . '</span>
                                   <span class="time time-start">' . date_i18n($this->settings['timeformat'], $time_start) . '</span>
                                   <span class="linking_word linking_word-t">' . __('to', 'event-post') . '</span>
                                   <span class="time time-end">' . date_i18n($this->settings['timeformat'], $time_end) . '</span>';
                   }
                   elseif (date('H:i', $time_start) != '00:00') {
                       $dates.='   <span class="linking_word">' . __('at', 'event-post') . '</span>
                                   <time class="time time-single" itemprop="dtstart" datetime="' . date_i18n('c', $time_start) . '">' . date_i18n($this->settings['timeformat'], $time_start) . '</time>';
                   }
                   $dates.="\n\t\t\t\t\t\t\t".'</time>';
               } else { // not same day
                   $dates.= '
                       <span class="linking_word linking_word-from">' . __('from', 'event-post') . '</span>
                       <time class="date date-start" itemprop="dtstart" datetime="' . date('c', $time_start) . '">' . $this->human_date($time_start, $this->settings['dateformat']);
   
   
                        if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') 
                         $dates.= ', ' . date_i18n($this->settings['timeformat'], $time_start);
   
                       $dates.='</time>
   
                       <span class="linking_word linking_word-to">' . __('to', 'event-post') . '</span>
                       <time class="date date-end" itemprop="dtend" datetime="' . date('c', $time_end) . '">' . $this->human_date($time_end, $this->settings['dateformat']);
   
                       if (date('H:i', $time_start) != date('H:i', $time_end) && date('H:i', $time_start) != '00:00' && date('H:i', $time_end) != '00:00') {
                         $dates.=  ', ' . date_i18n($this->settings['timeformat'], $time_end);
                   }
                   $dates.='</time>';
               }
               $dates.="\n\t\t\t\t\t\t".'</div><!-- .event_date -->';
               return $dates;
           }
       ```
   
 * I changed the part after line 609, the else-part for events over several days.
 * Could you be so kind to look into this and check for mistakes? I am not sure 
   if I understand your code correctly.
 * Thank you very much
 * Arnd
    -  This reply was modified 8 years, 11 months ago by [Arnd030](https://wordpress.org/support/users/arnd030/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[qTranslate X] Articles messed up](https://wordpress.org/support/topic/articles-messed-up/)
 *  Thread Starter [Arnd030](https://wordpress.org/support/users/arnd030/)
 * (@arnd030)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/articles-messed-up/#post-8960837)
 * Update: We are using TinyMCE advanced. Can it cause the problems? It’s not on
   the list of [Incompatible plugins](https://qtranslatexteam.wordpress.com/incompatible/)
   but there are several TinyMCE-related issues mentioned.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/arnd030/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/arnd030/replies/page/2/?output_format=md)