artificialart
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WooCommerce] Unable to Close ‘WooCommerce database update done’ NoticeAdd this to functions.php to hide all popup Woocommerce notices. Adds css to dashboard.
add_action('admin_head', 'admin_css'); function admin_css() { echo '<style> .woocommerce-store-alerts { display: none; } </style>'; }.epyt-gallery {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.epyt-gallery iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}.epyt-gallery .epyt-gallery-list {
margin-top: 56.25%; /* 16:9 */
}Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Google Maps errorIve been having the same problem, dev version with key and still not working. I think because the theme was also calling Google Maps API in the old way.
Anyway I got it working by putting this in functions.php
Change YOURKEYHERE with your key
function wp_qode_child_theme_enqueue_scripts() { wp_dequeue_script( 'google_map_api' ); wp_deregister_script( 'google_map_api' ); wp_enqueue_script("google_map_api", "https://maps.googleapis.com/maps/api/js?key=YOURKEYHERE", array(), false, true); } add_action( 'wp_enqueue_scripts', 'wp_qode_child_theme_enqueue_scripts', 11);
Viewing 3 replies - 1 through 3 (of 3 total)