Justin Graham
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] Translation of ACF fieldsHi Edson,
Thanks for taking the time to respond.
Consider this closed.: )
Thanks – the values are now saving.
Continuing the compatibility trouble shooting.
In combination with “Product Visibility by Country”I am also using: “Prices and Currencies by Country”
I have one Currency USD$ for everyone outside of Australia.
I had the USD$ currency as a “separate meta box”, However the USD$ value would not save.
I swapped to “inline” and the USD$ value saved with post updated.Checking that only Australian Products show in AUD$ in Australian and that all other countries see the USA products in USD$ using a VPN.
I am develop using Chrome.
To eliminate all contingencies, I test using FireFox, all cche deleted, New incognito Window with each change of the VPN server.The Product visibility by country is working now – Thanks!
I have the WooCommerce code adding the Prefix and Suffix based on currency.
https://woocommerce.com/document/change-a-currency-symbol/
function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'AUD': $currency_symbol = 'AUD$'; break; case 'USD': $currency_symbol = 'USD$'; break; } return $currency_symbol; } add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
AND SUFFIX
`function add_price_suffix( $html, $product, $price, $qty ){
$currency = get_woocommerce_currency();
switch( $currency ) {
case ‘AUD’: $html .= ‘ inc GST’; break;
case ‘USD’: $html .= ‘ ‘; break;
}
return $html;
}
add_filter( ‘woocommerce_get_price_suffix’, ‘add_price_suffix’, 999, 4 );’However, while connect to a USA VPN server the following is occurring.
AUD$ has no Prefix or Suffix.
USD$ has the AUD$ prefix and AUD Suffix “inc GST”
USD$ currency values has the AUD$ value.I gather the IP GEO currency is not operating correctly.
I have disabled these 2 modules in your plugin.
As a stop gap to keep the store online and active, I was able to replicate functionality using 2 other third-part plugins.? Product Visibility by Country for WooCommerce by WP Wham
? WooCommerce Price Based on Country (Basic) Oscare Gare.Please advise me when you have upgrade all the modules to be compatible with WP 6.0.1
And I will test again!
Many Thanks!
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Parent Category Collapsed in wp-adminAfter hours of scrolling through the Database looking at terms and terms structure.
I gave up.
I was preparing to export all the products as a backup, then roll back the database.All set to go with nothing to loose.
I tried one last thing.
The product category type is type=image and did not have an image assigned to the category.
So I attached a random image as the category image and updated the Category.
Wallah!
The category substructure returned.
I have backed up everything at this point in time.
Occams’s razor – the simplest solution is almost always the best.
Thanks everyone for helping me nut this one out.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Parent Category Collapsed in wp-adminHi Thanks for your response.
The issue was present with storefront. I am using child theme with custom code.
To take that entirely out of the equation I have deactivated everything – All plugins and swapped theme from storefront to 20/20. it should be a fresh clean install given that I have reinstalled wordpress and woocommerce.I can conform that this option is selected and the issue persists.
WooCommerce > Product Catalog > Category Display = “Show Subcategories”My logic tells me that this is a database issue. However, WooCommerce > Status > System Status – say’s everything is ok.
I have run
WooCommerce > Status > Tools > Verify base database tables
AND
WooCommerce > Status > Tools > Update Database
AND
Clear TransientsIssue still persists.
– – – –Just to test I was not going mad – I installed WP plugin: Product Category Tree
This also showed the category “food” as a single folder and not expandable.
I am waiting feedback from siteground hosting after discovering this blog post
https://www.eleventhmedia.com/wordpress/wordpress-category-tags-disappeared-how-to-fix-missing-categories/Failing that I would hazard a guess that the data structure is corrupt.
Forum: Themes and Templates
In reply to: [Venice Lite] Swipebox overlayMy Client had similar issue – with Anpsthemes “construction”
Rolling back to WP 5.5.3 fixed the issue
I will watch this forum and the theme updates before upgrading WP 5.6Forum: Plugins
In reply to: [WooCommerce] Removing Sort by on WooCommerce Shop PageKriesi Enfold Theme
Add the following to your enfold-child functions.php file
add_action( 'before_woocommerce_init', function() { remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_frontend_search_params', 20 ); } );
Forum: Plugins
In reply to: [Yoast SEO] Remove ‘X-Robots-Tag: noindex’I am also having the same issue and posted on GIT but got rejected.
https://github.com/Yoast/wordpress-seo/issues/13619
Copy of the post below:
I recently tried to submit new site to Google Search Console. I have tried everything in this thread ( https://github.com/Yoast/wordpress-seo/issues/10262 ) and could not get a green light on LIVE TEST until I disabled YOAST.
Disabling Yoast – allows the site to be indexed. I get a green ticks on the LIVE TEST in search console.
Enabling Yoast – I get the following error when running live test.
Indexing allowed? No: ‘noindex’ detected in ‘X-Robots-Tag’ http header
Yoast Version 12.2
WordPress version 5.2.3–en_AUSecondary Test with theme twenty seventeen activated and all plugins deactivated except for Yoast SEO – same results.
I don’t want the site indexed without my SEO snippets.
I am hoping support can take another look at this issue as it does not seem to be resolved. ( https://github.com/Yoast/wordpress-seo/issues/10262 )
Thanks in advance
Please dis-regard this.
I did a complete restore of the DB and Files from local dev server to the live server and this fixed the issue.Thanks ; )
Forum: Plugins
In reply to: [Advanced Sidebar Menu] Missing Child page menu itemsHi Mat,
Thanks for responding so quickly.I gave up trying to trouble shoot and deleted the plugin.
Did a fresh install and copied the setting from the other site.
And it worked.I don’t know what the original conflict issue was, but it now resolved.
Thanks.
Thought I’d give something back to the community.
Advanced Side Bar Menu Custom CSS
I have allowed for both left and right hand sidebars.
Only tested on Page Items not Categories.If you wanted to streamline the CSS just delete the /* CATEGORY ITEM */ sections
/*---------------------------------------------------*/ /* ADVANCED SIDE BAR PAGE MENU */ /* Paste this css in your child theme style.css file */ /*---------------------------------------------------*/ /* ORANGE #E96A00 */ /* DARK GREY #393939 */ /* NO BULLET */ .sidebar .advanced-sidebar-menu ul, .sidebar .advanced-sidebar-menu ul li ul { list-style: none outside none; } /* MENU BASE FONT STYLING */ .sidebar .advanced-sidebar-menu { font-weight: normal; line-height: 1.1em; margin: 0px; padding: 0px; } /* ++++++++++++++++++++ 3 LEVEL OF FONT ++++++++++++++++++++ */ /* Parent */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu { font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 20px; line-height:26px; } /* FIRST CHILD FONT */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu { font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; font-weight:600; } /* SECOND CHILD FONT */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children { font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; } /* ++++++++++++++++++++ MENU LI STYLES ++++++++++++++++++++ */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu li, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children li{ -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; clear: both; margin: 0; position: relative; background:none; border-bottom: 1px solid #eeeeee; width: 100%; display: block; padding-right:0px; } .sidebar .advanced-sidebar-menu .parent-sidebar-menu li a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children li a{ text-decoration:none !important; display: block; padding: 6px 6px 6px 6px; } /* ++++++++++++++++++++ MENU 5 LEVELs COLOR INDENT ARROW ++++++++++++++++++++ */ /*#4F5E62 #616E72 #737E82 #858E92 #979EA2 #A9AEB2 #BBBEC2 #CDCED2 #DFDEE2 #F1EEF2 #FFFFFF */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu li a {color:#393939;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li a {color:#393939;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li a {color:#999999; padding-left:15px;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li a:before {content:"\203A"; position: absolute; left: 5px;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li a {color:#BBBEC2; padding-left:30px;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li a:before {content:"\203A"; position: absolute; left: 15px;} .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children li a {color:#DFDEE2} /* ++++++++++++++++++++ MENU HEIERARCHY ANCESTOR - ACTIVE COLOR ++++++++++++++++++++ */ /* PAGE ITEM */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current_page_parent a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current_page_ancestor a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_parent a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_ancestor a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_ancestor .current_page_parent a {color:#E96A00;} /* CATEGORY ITEM */ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current-cat-parent a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current-cat-parent a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current-cat-parent a {color:#000;} /* ++++++++++++++++++++ HOVER STATE ++++++++++++++++++++ */ /*.sidebar .advanced-sidebar-menu .parent-sidebar-menu a:hover,*/ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu a:hover, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children a:hover, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children a:hover, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children a:hover { color:#E96A00; background-color:#f8f8f8; } /* ++++++++++++++++++++ CRURRENT ACTIVE - FONT COLOUR ++++++++++++++++++++ */ /*.sidebar .advanced-sidebar-menu .parent-sidebar-menu .current_page_item a,*/ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current_page_item a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_item a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current_page_item a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current_page_item a, /*.sidebar .advanced-sidebar-menu .parent-sidebar-menu li.current-cat a,*/ .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li.current-cat a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current-cat a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current-cat a, .sidebar .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current-cat a {color:#E96A00;} /* ++++++++++++++++++++ RIGHT SIDE BAR - ACTIVE ++++++++++++++++++++ */ /* PAGE ITEM */ /*.sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .current_page_item,*/ .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current_page_item, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_item, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current_page_item, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current_page_item, /* CATEGORY ITEM */ /*.sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .current-cat,*/ .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current-cat, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current-cat, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current-cat, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current-cat { display:block; left: -56px; padding-left: 56px; width:100%; background-color:#f8f8f8; /*border-top: 1px solid #F9F9F9; border-bottom: 1px solid #E1E1E1;*/ } /* RIGHT SIDE ARROW */ .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li.current_page_item a:before, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li.current_page_item a:before, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li.current_page_item a:before, .sidebar_right .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children li.current_page_item a:before { /* content:""; display:none; */ content:"\2039"; position: absolute; left: 15px; } /* ++++++++++++++++++++ LEFT SIDE BAR - ACTIVE ++++++++++++++++++++ */ /* PAGE ITEM */ /*.sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .current_page_item,*/ .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current_page_item, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current_page_item, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current_page_item, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current_page_item, /* CATEGORY ITEM */ /*.sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .current-cat,*/ .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .current-cat, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .current-cat, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .current-cat, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children .current-cat { display:block; left:0px; right:-56px; padding-right:56px; width: 100%; background-color:#f8f8f8; /*border-top: 1px solid #F9F9F9; border-bottom: 1px solid #E1E1E1;*/ } /* LEFT SIDE ARROW */ .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu li.current_page_item a:after, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children li.current_page_item a:after, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children li.current_page_item a:after, .sidebar_left .advanced-sidebar-menu .parent-sidebar-menu .child-sidebar-menu .children .children .children li.current_page_item a:after { /* content:""; display:none; */ content:"\203A"; position: absolute; right: 15px; }
Forum: Plugins
In reply to: [Collapsing Categories] ERROR get_settings is deprecated since version 2.1Ok so now I have upgraded to WordPress 4.2.1
Kriesi Enfold Theme 3.1.4All Categories are expanded
so the plugin is not working.
I set site to (‘WP_DEBUG’,false);
and have uninstalled and reinstalled twiceplugin still doesn’t work.
Happy to pay a donation to get this working ASAP
Forum: Plugins
In reply to: [Collapsing Categories] ERROR get_settings is deprecated since version 2.1Any update on this…
WordPress 4.1
Kriesi Enfold Theme 3.0.4Activate plugin and WordPress breaks