Title: ratmalwer's Replies | WordPress.org

---

# ratmalwer

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Responsive Image Slider] plugin duplicates posts](https://wordpress.org/support/topic/plugin-duplicates-posts/)
 *  Thread Starter [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicates-posts/#post-12667122)
 * [@farazfrank](https://wordpress.org/support/users/farazfrank/)
 * Hi Frank
 * hope you are well!
 * I found a workaround, now I cannot reproduce the issue. But I had a new issue
   witch could be a reason for that or related to it:
 * **calling the slider the post-id is changin**g. Look at hte folloing code:
 *     ```
                $args = array( 
                   'post_type' => 'ris_gallery',
                 	'orderby'          => 'date',
                 	'order'            => 'DESC', 
                 );   
                $myposts = new WP_Query( $args );
                if ($myposts->have_posts()) :
                	while ( $myposts->have_posts() ) : $myposts->the_post();
                		echo 'ID before='.get_the_ID().'<br>';
       			echo '<h3>' . get_the_title()  .'</h3>';
   
       			echo do_shortcode('[URIS id='.get_the_ID().']');
   
       	 		echo 'ID after is not the same as before='.get_the_ID().'<br><br>';
       		endwhile; 
                	// Restore original Query & Post Data
           		wp_reset_query();
           		wp_reset_postdata();
                endif;		
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Add more then one searchargument](https://wordpress.org/support/topic/add-more-then-one-searchargument/)
 *  Thread Starter [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/add-more-then-one-searchargument/#post-12604166)
 * As nobody had a solutuin I foud a workaround.
    Here my solution. Maybe it helps
   someone 🙂
 *     ```
       $ev1 = EM_Events::get( array('limit'=>5) );  //newest Events
       $ev2 = EM_Events::get( array('category'=>'Wichtig') );  //Important Events
       $ev = array_merge( $ev1, $ev2 );  //merge
       $postids = array();
       foreach( $ev as $event ) {
       	$postids[]=$event->post_id; //create a new query only of the posts
       }
       $uniqueposts = array_unique($postids); //remove duplicate postids						
       $args = implode(",", $uniqueposts);
       echo EM_Events::output( array('post_id'=>$args));  //events output
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Deactivate or hide or pause (not delete) a ticket](https://wordpress.org/support/topic/deactivate-or-hide-not-delete-ticket/)
 *  [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/deactivate-or-hide-not-delete-ticket/#post-12601869)
 * [@argosmedia](https://wordpress.org/support/users/argosmedia/) thanks for your
   hint!
    sorry about this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Deactivate or hide or pause (not delete) a ticket](https://wordpress.org/support/topic/deactivate-or-hide-not-delete-ticket/)
 *  [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/deactivate-or-hide-not-delete-ticket/#post-12599550)
 * Hi
 * I call the eventmanager like this:
    `echo EM_Events::output( array('limit'=>5));`
 * Now I want in addition of this (alll events) add all events whith the category
   = ‘Important’ sorted by Date if possible.
    This shoud show in addition of the
   limit.
 * Is here a way to do this?
    PHP-Code with a brief explanation welcome.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Responsive Image Slider] plugin duplicates posts](https://wordpress.org/support/topic/plugin-duplicates-posts/)
 *  Thread Starter [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-duplicates-posts/#post-12578494)
 * ADDITIONAL INFORMATION
 * I foud out, that calling the slider like this causese the issue. Is there something
   wrong with this?
 *     ```
       <?php
       $args = array(
       	'posts_per_page' => 8
       );
       query_posts($args);
   
       if ( have_posts() ) :
       	/* Start the Loop */
       	while ( have_posts() ) : the_post(); 
       		echo the_content();						
       	endwhile; 
       endif;
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Responsive Image Slider] URIS Major Update Version 3.1.10 Release Note](https://wordpress.org/support/topic/uris-major-update-version-3-1-10-release-note/)
 *  [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/uris-major-update-version-3-1-10-release-note/page/3/#post-12575645)
 * Hi Frank
 * great plugin!
 * But I have the issue, that the first two posts get duplicated when i activate
   the slider.
    I explain: I have a blog showing the first 8 posts. Post one: only
   text Post two: text and a slide Post tree further (lets say only text)
 * So activating the slider the first and second post are shown correct. Then the
   first and second posts are duplicated and the slide shows the loading.png.
    The
   further posts are shown correctly again.
 * see example: [http://preview-web02.148935.aweb.preview-site.ch/blog/](http://preview-web02.148935.aweb.preview-site.ch/blog/)
 * Thanks for a reply
    Markus
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] code tag causes unwanted space/linebreak](https://wordpress.org/support/topic/code-tag-causes-unwanted-space-linebreak/)
 *  Thread Starter [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-tag-causes-unwanted-space-linebreak/#post-12361374)
 * Hi timrv
 * after reeserchig the issue I found the reason.
 * Probalby by copying the code for the Eventlist from your page, I copied the code
   + endcode-tag too. So after deleting it in WP-html-editor the space disapeared.
 * So I regard this as solved.
    Thanks anyway Markus
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] code tag causes unwanted space/linebreak](https://wordpress.org/support/topic/code-tag-causes-unwanted-space-linebreak/)
 *  Thread Starter [ratmalwer](https://wordpress.org/support/users/ratmalwer/)
 * (@ratmalwer)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-tag-causes-unwanted-space-linebreak/#post-12359965)
 * Thanks for your answer.
 * As I test localy, there is no possibility to send you a link concerning the issue.
   **
   If you have a upload-link I could provide a printscreen with the Inspector opened.**
 * Meanwhile I went to my own theme and the issue does not exist there (even its
   a clone of twentyseventeen and twentyseventeen has the same behaviour).
 * Before I just activated the latest theme twentytwenty and the most recent WordPress.
   
   There the issue was and still is present.

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