Title: dkydev's Replies | WordPress.org

---

# dkydev

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Hidden forum topics appearing in google search](https://wordpress.org/support/topic/hidden-forum-topics-appearing-in-google-search/)
 *  [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/hidden-forum-topics-appearing-in-google-search/#post-13102109)
 * Hey did you guys ever figure out why forums were showing up on google search 
   console?
 * I’ve never really seen this and have always just been using OceanWP and Elementor
   Pro and Yoast. This my first-time using Yoast Pro and was wondering what was 
   causing this? is it inside OceanWP that creates forums? lol tbh I didn’t really
   even think about this but can’t find any topics on forums
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FOX - Currency Switcher Professional for WooCommerce] How to default currency to shipping address](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/#post-12228200)
 * [@neilmahaseth](https://wordpress.org/support/users/neilmahaseth/)
 * Hey I was wondering if you could help me out.
 * You mentioned that:
 * > This works for me except for the limitations mentioned by dkydev. Which can
   > be overcome by creating a custom hook using ajax.Hope it helps others.
 * And I still can’t figure out how to fix the currency not switching if using Google
   Autofill. How do you create custom hook ajax
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FOX - Currency Switcher Professional for WooCommerce] How to default currency to shipping address](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/#post-12119463)
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FOX - Currency Switcher Professional for WooCommerce] How to default currency to shipping address](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/#post-12095588)
 * Hey Support Forum!
 * I may have found a solution but it seems to have a few caveats:
    -  It doesn’t update by country it only changes with ZIP or State
    -  Seems to not work with Google autofill, must be typed in, or adjusted after
      autofill (I think clicking in the text box works)
    -  And I don’t really know what I’m doing just a trial and error ting
 * So, I was wondering if you knew if there was a way to clean up the code? and 
   or make it function better. Do you know if anything I wrote would have problems
   with the plugin and or Woocommerce?
 *     ```
       #--------------------------------------------------------------------------------
       # 	WOOCS - Default order currency to shipping country
       #	Attempt #7.1
       #-------------------------------------------------------------------------------- 
   
       /*	My attempt at defaulting address to shipping country
       *	1. https://currency-switcher.com/possible-delivery-country-change-currency/
       *	2. https://currency-switcher.com/force-currency-on-checkout-page/
       *	3. https://stackoverflow.com/questions/29378859/woocommerce-get-order-shipping-address-as-separate-fields
       *	4. https://stackoverflow.com/questions/31133501/woocommerce-change-currency-depending-on-billing-country
       *
       *	Result: Seems to work. But doesn't always change with Country seems more connected to ZIP or State?
       *	Update:	Also autofill doesn't seem to create change, must be typed in?
       */
   
       // Need action from #1 as this should update order at checkout page
       add_action('woocommerce_checkout_update_order_review', function($data) {   
           // I'm pretty sure this is to call libraries. And #4 needs the woocommerce library
           global $WOOCS, $woocommerce;
   
           // Checking when you're at the checkout page
           if(is_checkout()){
               global $WOOCS, $woocommerce;
   
               // Hopefully will change when customer changes shipping country
               if($woocommerce->customer->get_shipping_country() == 'CA'){
               	// Force currency change from #2
               	$WOOCS->set_currency('CAD');
           	}
           	else{
           		$WOOCS->set_currency('USD');
           	}
       	}
       });
       ```
   
    -  This reply was modified 6 years, 6 months ago by [dkydev](https://wordpress.org/support/users/dkydev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FOX - Currency Switcher Professional for WooCommerce] How to default currency to shipping address](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-default-currency-to-shipping-address/#post-12095181)
 * Hi RealMag777!
 * Thanks for the reply, ya I’ll give that a try I’ve been tweaking the code but
   to no avail. it keeps reverting to what shipping country you input first (ie.
   <GeoIP country set> or <if I allow you to choose a country from cart page>) the
   checkout currency will not change dependent of the shipping country selected.
 * > [View post on imgur.com](https://imgur.com/6VOj0Sn)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] How to split top bar menu](https://wordpress.org/support/topic/how-to-split-top-bar-menu/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/how-to-split-top-bar-menu/#post-11973263)
 * Thanks so much Amit! I did what you said and created a template with the Ocean
   Extra Plugin!
 * You’re the best! 😀
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] How to split top bar menu](https://wordpress.org/support/topic/how-to-split-top-bar-menu/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/how-to-split-top-bar-menu/#post-11963905)
 * My apologies, can you please guide me how to do that? I wasn’t able to find the
   way to create a custom topbar
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] How to split top bar menu](https://wordpress.org/support/topic/how-to-split-top-bar-menu/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/how-to-split-top-bar-menu/#post-11959982)
 * Hey Amit!
 * So currently I have put an image menu plugin and used a blank PNG to create a
   spacer as a temporary solution.
 * The site to look at is [http://topleftmediaclient.cimatec.com/](http://topleftmediaclient.cimatec.com/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Canada Post Shipping For WooCommerce] Is tiered shipping possible? (Taking quantity into account)](https://wordpress.org/support/topic/is-tiered-shipping-possible-taking-quantity-into-account/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/is-tiered-shipping-possible-taking-quantity-into-account/#post-10889095)
 * Awesome thanks so much SmallFishes I’ll definitely give that a go! Appreciate
   all the support and the detailed response
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Cart Menu shows up below footer?](https://wordpress.org/support/topic/cart-menu-shows-up-below-footer/)
 *  [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cart-menu-shows-up-below-footer/#post-10869629)
 * In case you guys were still tryna figure it out I just tossed this into the css
   customizer.
 *     ```
       .oceanwp-cart-sidebar{
       	display:none !important
       }
       ```
   
    -  This reply was modified 7 years, 6 months ago by [dkydev](https://wordpress.org/support/users/dkydev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ocean Posts Slider] Is There a Way to Create Custom Size Sliders](https://wordpress.org/support/topic/is-there-a-way-to-create-custom-size-sliders/)
 *  Thread Starter [dkydev](https://wordpress.org/support/users/dkydev/)
 * (@dkydev)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/is-there-a-way-to-create-custom-size-sliders/#post-10602932)
 * ————
    **SOLVED: Plus More Solutions Included** ————
 * — The Intro —
    For the life of me, I couldn’t understand why they wouldn’t include
   custom image sizes [https://i.imgur.com/lLIaBGT.jpg](https://i.imgur.com/lLIaBGT.jpg).
   So I went into the CSS and did it all through there (Not good coding practice
   but it works). After a while, I just decided to scrap the plugin but came back
   to it because through all the other options this one still looks the best. So
   for anyone else in a similar situation and want to get rid of somethings or figure
   stuff out. Without having to bug the devs to respond to you here are some things
   I figured out.
 * ————
    **↓ CSS Code Below ↓** ————
 * — Custom sizing is there. —
    Just update your plugin (I know it sounds stupid
   but for some reason, after i did it, it just showed up for me)
 * > [View post on imgur.com](https://imgur.com/1UUzfKN)
 * — Button Shape —
 * /* ↓ CODE HERE ↓
    *Gets rid of the button border and underlines on hover */ .
   oceanwp-post-list.one .readmore { border-radius: 0px; border: none; padding: 
   0px; border-bottom: 2px solid transparent; font-size: 14px; } .oceanwp-post-list.
   one .readmore:hover { background-color: transparent !important; border-bottom:
   2px solid; color: #FFFFFF !important; }
 * — Author and Lines —
 * /* ↓ CODE HERE ↓
    * Gets rid of the category, lines and the author/date */ .oceanwp-
   post-list.one .oceanwp-post-category { display: none; } .oceanwp-post-list.one.
   line { display: none; } .oceanwp-post-list.one .oceanwp-post-date { display: 
   none; margin: 0px; }
 * — Mobile Friendly —
    /* ↓ CODE HERE ↓ * Shrinks Title Text (found in these forums)*/
   [@media](https://wordpress.org/support/users/media/) only screen and (max-width:
   959px) { .oceanwp-post-list.one h2 { font-size: 25px !important; }
 * — Nav Arrow Buttons —
    /* ↓ CODE HERE ↓ * Switch up the colors and gets rid of
   the circle ting */ .oceanwp-post-list.one .slick-arrow { border: none !important;}.
   oceanwp-post-list.one .slick-arrow:hover { border: none !important; background-
   color: transparent; color: #FFFFFF !important; }
 * Good luck errrbody 😀

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