Tagged: event manager, Slide-Show (volle Breite)
-
AuthorPosts
-
July 21, 2015 at 5:41 pm #476647
Hallo zusammen,
ich habe ein Problem auf der Veranstaltungsseite in Verbindung mit dem Plugin Event Manager (https://wordpress.org/plugins/events-manager/).
Und zwar verschiebt sich die rechte Spalte ganz nach unten (unter den letzten Inhalt), wenn ich das Element “Slide-Show (volle Breite)” auf der Veranstaltungs-Übersichts-Seite einsetze.
Sobald ich das Element entferne, ist alles wieder so wie es sein soll.
Gibt es eine Mögichkeit auf der Seite Veranstaltungen das Element “Slide-Show (volle Breite)” zu verwenden, ohne dass sich die rechte Spalte nach unten verschiebt?
Credentials der Testumgebung anbei.
Viele Grüße!
PS: Die Entscheidung fiel auf das Plugin Event Manager, da wir auch WPML einsetzen.
-
This topic was modified 10 years, 3 months ago by
parperei. Reason: Plugin URL hinzugefügt
July 27, 2015 at 12:33 am #478841Hi,
Try adding this at the very end of your theme / child theme functions.php file:
function add_custom_script(){ ?> <script> (function($){ $(window).load(function() { $('#em-wrapper .container').append($('.sidebar').detach()) }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');Regards,
JosueJuly 29, 2015 at 11:46 am #480131Dear Josue,
is it possible, to limit your snippet to affect only the events distributor page?
Because with your snippet, the right sidebar appears on the events distributor page, as desired: perfect!
However, on an event detail page, the sidebar content appears in the right place (as it did without your snippet).
But when the page is completely loaded, the right sidebar disappears completely.Kind regards!
July 29, 2015 at 12:23 pm #480143Hi!
Please adjust the code Josue posted and change it to following
function add_custom_script(){ if(is_page(22830)){ ?> <script> (function($){ $(window).load(function() { $('#em-wrapper .container').append($('.sidebar').detach()) }); })(jQuery); </script> <?php } } add_action('wp_footer', 'add_custom_script');Regards,
YigitJuly 29, 2015 at 12:38 pm #480151Dear Yigit and Josue,
thank you both very much for your help.
You guys give overwhelming support.Issue solved!
July 29, 2015 at 12:43 pm #480157 -
This topic was modified 10 years, 3 months ago by
-
AuthorPosts
- The topic ‘Plugin Event Manager und Element "Slide-Show (volle Breite)" > rechte Spalte Bug’ is closed to new replies.
