ctmartin2020
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] LS Cache fully purged on Woo Category editManual purges are exactly what I prefer. Thank you.
Forum: Plugins
In reply to: [LiteSpeed Cache] LS Cache fully purged on Woo Category editAhhhh… thank you. That works. Forgot about changing from the default purge-all hooks!
Hmm… when downgrading, why does this look so different:
Plugin Name Current (4.1.3): Google XML Sitemaps
Uploaded (4.1.1): XML SitemapsAuthor Current (4.1.3): Arne Brachhold
Uploaded (4.1.1): AuctolloAuctollo??? Whose plugin is this???
Forum: Plugins
In reply to: [Site Reviews] PHP Fatal ErrorI recently updated it. Maybe there was a problem with the update.
Will you please confirm that I will not lose my reviews if I remove and reinstall? Thank you for the help!
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Problem while notifying BingI’ll start another topic. Same issue, and was trying to tag onto this post. I guess you can’t do that.
- This reply was modified 2 years, 5 months ago by ctmartin2020.
Oh no. Thank you for this heads up, I had not heard about it but yes, my site has been recently hacked.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Add a page to sitemap not on wordpressI used to be able to append to the sitemap using the following function, but it is now not working and serving a fatal error with the latest update. I don’t know what is going on with this plugin, but it doesn’t seem good in this regard. Anyway, here’s what I was able to do prior to the latest revision:
First, create a separate XML sitemap of your own with the pages you want included. Let’s call it “newpages.xml” and place it in the theme directory where your functions.php lives. Then add this to functions.php:
/* add custom sitemap to xml sitemap. */ add_action('sm_build_index', 'addCustomSitemap', 100, 1); function addCustomSitemap($gsg) { $sitemap = __DIR__.'/newpages.xml $sm = new GoogleSitemapGeneratorSitemapEntry($sitemap); $gsg->AddElement($sm); }
That’s it.
However, now with the latest version, I get a PHP fatal error:
PHP Fatal error: Uncaught Error: Call to undefined method GoogleSitemapGenerator::AddElement() in /site-home/wp-content/themes/mytheme/functions.php:84 Stack trace: #0 /site-home/wp-includes/class-wp-hook.php(307): addCustomSitemap(Object(GoogleSitemapGenerator)) #1 /site-home/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /site-home/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /site-home/wp-content/plugins/google-sitemap-generator/sitemap-core.php(1945): do_action('sm_build_index', Object(GoogleSitemapGenerator)) #4 /site-home/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorloader.php(387): GoogleSitemapGenerator->show_sitemap(Array) #5 /site-home/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorloader.php(250): GoogleSitemapGeneratorLoader::call_show_sitemap('params=;html=tr...') #6 /site-home/wp-includes/class-wp-hook.php( in /site-home/wp-content/themes/mytheme/functions.php on line 84
I have this same problem and would really like a solution.
You can set a “rule” with Facebook to rewrite “in_stock” to “in stock” for the availability node. In fact, when Facebook processes your feed, you may see it will actually recommend this rule and write it if you affirm you want it. As an aside, unfortunately, there is no such rewrite capability with Pinterest, which also uses the same Google feed.
Forum: Plugins
In reply to: [Side Cart Woocommerce | Woocommerce Cart] Side cart won’t appearI have a *similar* problem — when the cart opens on my Home page or ANY page besides a “shop-related” page like Product Archives, Products, Cart, Checkout, it is empty. I have not been able to find any fix. Need help…
- This reply was modified 3 years ago by ctmartin2020.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Add custom sitemap?Disregard! IT DOES WORK. Just realized I had copy-pasted this code from elsewhere and it included “fancy” quotes in the add_action function call… can’t have those! So for those who may come across this post — DO NOT COPY-PASTE my code above. Instead, use this:
function addCustomSitemap($gsg) { $sitemap = new GoogleSitemapGeneratorSitemapEntry('my-sitemap.xml'); $gsg->AddElement($sitemap); } add_action('sm_build_index', 'addCustomSitemap', 100, 1);
If I’m understanding your situation correctly… Why would you think Woocommerce should be “hold” status? PayPal has processed the payment… the payment has left the customer’s card or account and is in PayPal’s hands. They are holding the funds from release to you until they can be sure there isn’t a chargeback from the customer. That doesn’t have anything to do with Woocommerce.
Yes, I can’t see how it would be difficult to at least pre-fill the Amelia sign-up credentials with the current logged-in user credentials. All of that can be obtained in the backend.
- This reply was modified 3 years, 4 months ago by ctmartin2020.
Forum: Reviews
In reply to: [If Menu - Visibility control for Menus] Horrible UI/UXWhy are you giving it 5 stars? Is this for real, or are you having a problem with the UI for www.remarpro.com as well? (Sorry, couldn’t help myself. Cheeky, I know… )
Forum: Reviews
In reply to: [If Menu - Visibility control for Menus] Terrible codingCan you be more specific? What about the coding is “terrible”. And forgive me for asking but we live in an age of disinformation: can you please give us a little background as to what makes you qualified to evaluate the code and why we should heed your advice?