Title: Godest's Replies | WordPress.org

---

# Godest

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/godest/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/godest/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Styler Mate for Contact Form 7] Recaptcha Google 3.0 not working](https://wordpress.org/support/topic/recaptcha-google-3-0-not-working/)
 *  Thread Starter [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/recaptcha-google-3-0-not-working/#post-15744268)
 * Hi,
    I found out that I do not have to do anything within Divi. When I added 
   the integration between google recaptcha v.3 within Contact form 7, the recaptcha
   connecting was established! See [https://contactform7.com/recaptcha/](https://contactform7.com/recaptcha/)
 * greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] SyntaxError: Unexpected end of JSON input](https://wordpress.org/support/topic/syntaxerror-unexpected-end-of-json-input-2/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [5 years ago](https://wordpress.org/support/topic/syntaxerror-unexpected-end-of-json-input-2/#post-14381877)
 * Hi,
    I have exactly the same error “SyntaxError: Unexpected end of JSON input”.
   This when I try to test the connection to the Stripe Gateway. Greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GEO my WP] “continue” targeting switch is equivalent to “break”](https://wordpress.org/support/topic/continue-targeting-switch-is-equivalent-to-break/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/continue-targeting-switch-is-equivalent-to-break/#post-12345461)
 * Hi, same here.
    it seems that this is a PHP update error. I have PHP 7.3 See 
   latest comment on [https://wordpress.org/support/topic/warning-continue-targeting-switch-is-equivalent-to-break/](https://wordpress.org/support/topic/warning-continue-targeting-switch-is-equivalent-to-break/)
   greetings,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GEO my WP] Taxonomy Location](https://wordpress.org/support/topic/taxonomy-location/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/taxonomy-location/#post-12266152)
 * You have to do this to get this extention working: [https://geomywp.com/forums/topic/taxonomy-locator-plugin/](https://geomywp.com/forums/topic/taxonomy-locator-plugin/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GEO my WP] Taxonomy Location](https://wordpress.org/support/topic/taxonomy-location/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/taxonomy-location/#post-12266146)
 * Hi, I have exactly the same question to search through custom taxonomies, and
   be able to show the search results with those custom taxonomy values.
    Is this
   possible please?
 * I saw this plugin? [https://geomywp.com/extensions/taxonomy-locator/](https://geomywp.com/extensions/taxonomy-locator/)
   Is this the one to use?
    gr, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Calendar - Accessible Event Manager] Time in calendar](https://wordpress.org/support/topic/time-in-calendar/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/time-in-calendar/#post-10914980)
 * Hi, Can I just add this mc-time-format.php to the plugins/my-calendar folder 
   to have it working?
    Thanks for your reply in advance.
 * greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Date Time Change] Doesn’t seem to save the update](https://wordpress.org/support/topic/doesnt-seem-to-save-the-update/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/doesnt-seem-to-save-the-update/#post-9862043)
 * Hi,
    I got the same Database error..and no changes are updated. So I think this
   is a bug. Greetings and thanks for help also.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Grow] Add other Fonts Awesome pictures](https://wordpress.org/support/topic/add-other-fonts-awesome-pictures/)
 *  Thread Starter [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/add-other-fonts-awesome-pictures/#post-9340598)
 * Hi,
    It would be great to not only those, but add all available Fonts Awesome
   to choose from! Or an easier way to add them somehow.. Thanks for your reply 
   in advance! greetings, Martijn
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Grow] Menu css](https://wordpress.org/support/topic/menu-css-4/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [9 years ago](https://wordpress.org/support/topic/menu-css-4/#post-9105829)
 * Hi, did you solve this please?
    greetings, Martijn
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Grow] Remove developed by message at the bottom of the page](https://wordpress.org/support/topic/remove-developed-by-message-at-the-bottom-of-the-page/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [9 years ago](https://wordpress.org/support/topic/remove-developed-by-message-at-the-bottom-of-the-page/#post-9101976)
 * Hi,
    I removed the copyright by using css: #sub-footer-core .copyright { display:
   none !important; }
 * greetings, Martijn
    -  This reply was modified 9 years ago by [Godest](https://wordpress.org/support/users/godest/).
    -  This reply was modified 9 years ago by [Godest](https://wordpress.org/support/users/godest/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Grow] Edit text on front page sliders](https://wordpress.org/support/topic/edit-text-on-front-page-sliders/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [9 years ago](https://wordpress.org/support/topic/edit-text-on-front-page-sliders/#post-9101135)
 * Hi,
    I heard that the Loco Translate plugin can help may be. See other thread
   here. Greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conversion Tracking for WooCommerce] Product specific code only loads on product page itself, not checkout (with FIX)](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/#post-5681078)
 * Hi,
    Is the plugin now updated with: – On productpage possibility to add tracking
   code [Yes I think this is working]! and – When a product is sold, that on the
   thankyou page the (say FB pixel) triggers, instead on product selection page?
 * Thanks for your reply in advance, greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pixel Cat - Conversion Pixel Manager] Woocommerce integration?](https://wordpress.org/support/topic/woocommerce-integration-33/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/woocommerce-integration-33/#post-5827486)
 * Hi, I think without a plugin may this works: [https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix?replies=5#post-6979118](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix?replies=5#post-6979118)
 * But it would be great if this plugin would support Woocommerce, and then off 
   course fb pixel support on particular products and on the thankyou page to really
   monitor the selling!
 * Greetings, Martijn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conversion Tracking for WooCommerce] Product specific code only loads on product page itself, not checkout (with FIX)](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/#post-5681075)
 * Hi,
 * I think the following is the correct code..Can anyone may be make this more performance
   based? Now There are two loops and may be it is possible with one loop?
    Thanks!
 *     ```
       // FB Pixel Tracking Code
       add_action( 'woocommerce_thankyou', 'fb_pixeltracking' );
   
       // Load Tracking Pixel by Harlan T Wood & Adam Apollo
       // Facebook Tracking Pixel Code on Thank You Page for Specific Product
       // User adds -tp to product slug to load the conversion code
   
       function order_items_include_tracking_pixel($order, $order_id) {
         foreach ( $order->get_items() as $item ) {
           $product = $order->get_product_from_item( $item );
           if ( ! $product ) { continue; }
           $sku = $product->get_sku();
           if (preg_match('/-tp$/', $sku) === 1) {
             return true;
           }
         }
         return false;
       }
   
       function fb_pixeltracking( $order_id ) {
          $order = new WC_Order( $order_id );
          $order_total = $order->get_total();
          if (order_items_include_tracking_pixel($order, $order_id)) {
          		$total = $order->get_order_total();
   
       	    $order = wc_get_order( $order_id );
       		foreach( $order->get_items() as $item ) {
       			$_product = wc_get_product( $item['product_id'] );
       			// Add whatever product id you want below here
       			if ( $item['product_id'] == 9892 ) {
   
        			?>
       			<!-- Start FB Tracking - Replace XXXXXXXXXXXXXX with your tracking ID to track orders with values-->
   
       	    	<!-- Facebook Conversion Code for Sales from Facebook Ads -->
           		<script>(function() {
       	    	var _fbq = window._fbq || (window._fbq = []);
           	 	if (!_fbq.loaded) {
              			var fbds = document.createElement('script');
              			fbds.async = true;
       		       	fbds.src = '//connect.facebook.net/en_US/fbds.js';
              			var s = document.getElementsByTagName('script')[0];
              			s.parentNode.insertBefore(fbds, s);
              			_fbq.loaded = true;
            			}
           		})();
           		window._fbq = window._fbq || [];
           		window._fbq.push(['track', 'XXXXXXXXXXXXXX', {'value':'<?php echo $order_total ?>','currency':'EUR'}]);
           		</script>
           		<noscript>
           			<img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/trev=XXXXXXXXXXXXXX&cd[value]=<?php echo $order_total ?>&cd[currency]=EUR&noscript=1" />
           		</noscript>
            		<!-- END FB Tracking -->
   
       			<?php
       			}
         		}
         	}
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conversion Tracking for WooCommerce] Product specific code only loads on product page itself, not checkout (with FIX)](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/)
 *  [Godest](https://wordpress.org/support/users/godest/)
 * (@godest)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/product-specific-code-only-loads-on-product-page-itself-not-checkout-with-fix/#post-5681074)
 * Hi,
    Combining this code and code from: [https://support.woothemes.com/hc/en-us/articles/203526455-Custom-Redirect-Based-on-Item-Purchased](https://support.woothemes.com/hc/en-us/articles/203526455-Custom-Redirect-Based-on-Item-Purchased)
 * Shouldn’t this be the code to have the specific facebook pixel per event within
   woocommerce/wootickets? Where PRODUCTID and OTHER PRODUCTID are the unique productids
   for the woocommerce products?
 *     ```
       <?php
       // Load Tracking Pixel by Harlan T Wood & Adam Apollo
       // Facebook Tracking Pixel Code on Thank You Page for Specific Product
       // User adds -tp to product slug to load the conversion code
       function order_items_include_tracking_pixel($order, $order_id) {
         foreach ( $order->get_items() as $item ) {
           $product = $order->get_product_from_item( $item );
           if ( ! $product ) { continue; }
           $sku = $product->get_sku();
           if (preg_match('/-tp$/', $sku) === 1) {
             return true;
           }
         }
         return false;
       }
   
       function my_custom_tracking( $order_id ) {
         $order = new WC_Order( $order_id );
   
         if (order_items_include_tracking_pixel($order, $order_id)) {
           $total = $order->get_order_total();
           $order = wc_get_order( $order_id );
       	foreach( $order->get_items() as $item ) {
       		$_product = wc_get_product( $item['product_id'] );
       		// Add whatever product id you want below here
       		if ( $item['product_id'] == PRODUCTID ) {
        		   // INSERT PRODUCT SPECIFIC TRACKING CODE or
       		    // DO YOUR CUSTOM BEHAVIOR HERE
       		    // change below to the URL if you want to have a specific thankyou page that you want to send your 		    // customer to
       		    //  wp_redirect('http://www.yoururl.com/your-thank-you-page');
       		  }
       		if ( $item['product_id'] == OTHER PRODUCTID ) {
        		   // INSERT PRODUCT SPECIFIC TRACKING CODE or
       		    // DO YOUR CUSTOM BEHAVIOR HERE
       		  }
       	}
       add_action( 'woocommerce_thankyou', 'my_custom_tracking' );
   
       ?>
       ```
   
 * Greetings, Martijn

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/godest/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/godest/replies/page/2/?output_format=md)