Is there a way to embed a Google Docs form in a page without using plugins?

No, that’s not possible. You can find a list of providers for embeddable coontent in wp-includes/class-oembed.php: ‘#https?://(www\.)?youtube.com/watch.*#i’ ‘http://youtu.be/*’ ‘http://blip.tv/*’ ‘#https?://(www\.)?vimeo\.com/.*#i’ ‘#https?://(www\.)?dailymotion\.com/.*#i’ ‘#https?://(www\.)?flickr\.com/.*#i’ ‘#https?://(.+\.)?smugmug\.com/.*#i’ ‘#https?://(www\.)?hulu\.com/watch/.*#i’ ‘#https?://(www\.)?viddler\.com/.*#i’ ‘http://qik.com/*’ ‘http://revision3.com/*’ ‘http://i*.photobucket.com/albums/*’ ‘http://gi*.photobucket.com/groups/*’ ‘#https?://(www\.)?scribd\.com/.*#i’ ‘http://wordpress.tv/*’ ‘#https?://(.+\.)?polldaddy\.com/.*#i’ ‘#https?://(www\.)?funnyordie\.com/videos/.*#i’ ‘#https?://(www\.)?twitter.com/.+?/status(es)?/.*#i’ ‘#https?://(www\.)?soundcloud\.com/.*#i’ ‘#https?://(www\.)?slideshare.net/*#’ ‘#http://instagr(\.am|am\.com)/p/.*#i’ Google is not in that list, so you have to ask the administrator.

I want to Add My Product Image to Admin Order Email in Woocommerece [closed]

The default admin email can be found in woocommerce/templates/emails/admin-new-order.php the order items table is called in line 28, with a function called email_order_items_table. This function also takes an argument for including the thumbnail (see the class-wc-order.php, line 1052). if you copy the email templates to your theme folder, you can edit the admin-new-order.php file and … Read more

Search WooCommerce Products in WordPress

Just extend your search form with a hidden input: (notice the last input field) <form role=”search” method=”get” class=”search-form” action=”<?php echo home_url( “https://wordpress.stackexchange.com/” ); ?>”> <label> <span class=”screen-reader-text”><?php echo _x( ‘Search for:’, ‘label’ ) ?></span> <input type=”search” class=”search-field” placeholder=”<?php echo esc_attr_x( ‘Search …’, ‘placeholder’ ) ?>” value=”<?php echo get_search_query() ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search for:’, … Read more

Get User_id outside wordpress,

AJAX requests (which you imply you are using but do not explain/demonstrate) do not load your active theme, which is where functions.php resides (unless you were referring to a functions.php file that you created in your plugin’s directory). As such, your call_user_func() is likely failing as the function that you are attempting to call is … Read more

YouTube Sidebar Widget – YouTube service unavailable

The plugin uses cURl direkt instead of WordPress’ built in HTTP class. If your sever does not support cURL, the plugin can not work and you got this message. Deinstall the plugin and use another one. Or replace the curl_it() function within the plugin with something stable. Update The workaraound: Open the plugin file youtube-sidebar-widget.php … Read more

Include WooCommerce 2’s prettyphoto scripts on all site pages

Try adding this to your theme’s function.php. It worked for me, hope it helps. // PRETTY PHOTO // add_action( ‘wp_enqueue_scripts’, ‘lightbox’ ); function lightbox() { global $woocommerce; $suffix = defined( ‘SCRIPT_DEBUG’ ) && SCRIPT_DEBUG ? ” : ‘.min’; { wp_enqueue_script( ‘prettyPhoto’, $woocommerce->plugin_url() . ‘/assets/js/prettyPhoto/jquery.prettyPhoto’ . $suffix . ‘.js’, array( ‘jquery’ ), $woocommerce->version, true ); wp_enqueue_script( … Read more

WooCommerce : Direct Checkout Page [closed]

My friend Ewout just answered this question a couple months ago on stackoverflow. Add the following to your theme’s functions.php file: add_filter (‘add_to_cart_redirect’, ‘redirect_to_checkout’); function redirect_to_checkout() { global $woocommerce; $checkout_url = $woocommerce->cart->get_checkout_url(); return $checkout_url; } Here’s a link to his answer: https://stackoverflow.com/a/15597933/1543310