Title: manthano's Replies | WordPress.org

---

# manthano

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Log in with Google] Redirect after login](https://wordpress.org/support/topic/redirect-after-login-70/)
 *  [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/redirect-after-login-70/#post-15350579)
 * [@artnijenboer](https://wordpress.org/support/users/artnijenboer/) Just a hunch,
   but you probably have another plugin or some custom code that also uses the login_redirect
   filter and is adding that `/1` … maybe a pagination plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Log in with Google] Redirect after login](https://wordpress.org/support/topic/redirect-after-login-70/)
 *  [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/redirect-after-login-70/#post-14970302)
 * Sure. Here’s what I’m using
 *     ```
       add_filter( 'rtcamp.google_default_redirect', 'a403_google_login_redirect' );
       function a403_google_login_redirect ( $url ) {
       	$user = wp_get_current_user();
       	if ( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) {
              		if ( $user->has_cap( 'administrator' ) ) {
                   		$url = admin_url(); // redirect to wp-admin for admin users
               	} else {
                  		$url = site_url(); // redirect to site homepage for everyone else
               	}
           	}
           	return $url;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Log in with Google] Redirect after login](https://wordpress.org/support/topic/redirect-after-login-70/)
 *  [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/redirect-after-login-70/#post-14735479)
 * Did some more digging and found the filter rtcamp.google_default_redirect which
   allowed me to redirect on login. It would be nice if this filter passed the user
   object like the wordpress login_redirect filter so I could potentially redirect
   to different locations like I can with login_redirect
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Log in with Google] Redirect after login](https://wordpress.org/support/topic/redirect-after-login-70/)
 *  [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/redirect-after-login-70/#post-14734825)
 * I am also having issues with the “login_redirect” filter when using this plugin.
   The filter works fine with using regular wordpress user/pass login. Please fix
   or direct where to look in your code to fix.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Calendar - Google Calendar Plugin] All day events in grouped list not displaying due to invalid HTML](https://wordpress.org/support/topic/all-day-events-in-grouped-list-not-displaying-due-to-invalid-html/)
 *  Thread Starter [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/all-day-events-in-grouped-list-not-displaying-due-to-invalid-html/#post-6692443)
 * Figured it out. In the builder we had the following code:
 *     ```
       <div class="gce-bethany-list-event">
       [if-not-all-day][start-time] - [end-time][/if-not-all-day] [event-title]
       </div>
       ```
   
 * However the linebreaks had been stripped out, resulting in this:
 *     ```
       <div class="gce-bethany-list-event">[if-not-all-day][start-time] - [end-time][/if-not-all-day] [event-title]</div>
       ```
   
 * This caused the invalid HTML, but I’m not sure why… probably an over-zealous 
   regex with the shortcodes. Once the linebreaks were re-applied, everything displays
   fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Image Widget] Extending to support [playlist]](https://wordpress.org/support/topic/extending-to-support-playlist/)
 *  Thread Starter [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/extending-to-support-playlist/#post-5450979)
 * That worked great. Thanks much.
 * The only little issue I still have is that if I click the “choose a playlist”
   button multiple times to update the selection, the instructions in the media 
   manager (“Drag and drop to reorder tracks.”) occurs multiple times, and more 
   each time the frame is opened, both at the top and the bottom of the frame. It
   goes from occurring once on first open to 3x on second open to 13x to 60x and
   at that point it overflows the frame.
 * Any ideas on how to correct that?
 * [http://pastebin.com/Ebvfg4Wt](http://pastebin.com/Ebvfg4Wt)
 * Also, there’s probably a better way to handle the update function, but I’m new
   to backbone and what I have is working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Testimonials Widget] Horizontal and Vertical transitions not working in widget](https://wordpress.org/support/topic/horizontal-and-vertical-transitions-not-working-in-widget/)
 *  Thread Starter [manthano](https://wordpress.org/support/users/manthano/)
 * (@manthano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/horizontal-and-vertical-transitions-not-working-in-widget/#post-4634842)
 * Thanks. I actually tried it last night, but I still have an issue related to 
   timing with the horizontal scrolling. I have 4 testimonials that are scrolling
   in the widget. It shows the first one correctly, then scrolls to the second one
   and immediately to the 4th, which displays for the right amount of time then 
   scrolls through what looks like the 2nd and 3rd really fast and back to the 4th
   which again shows for the correct amount of time, then scrolls through what looks
   like the 2nd and 3rd really fast again and back to 4th, which again displays 
   for the correct amount of time. Then it scrolls to the 1st which displays for
   the correct amount of time, then repeats the process of skipping very fast over
   the 2nd, then 2nd and 3rd twice.
 * So I see:
    1 (wait 5sec) 2>4 (wait 5sec) 2>3>4 (wait 5sec) 2>3>4 (wait 5sec) 
   1 (wait 5sec) …
 * The fade transitions doesn’t have the issue. Any thoughts? Thanks!

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