Jan444
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: can wordpress custom fields have author and date?Ah excellent Joy, much appreciated. I’ll manually add author and date on the note itself then.
Regards,
Forum: Plugins
In reply to: [Max Mega Menu] When I hover an auto-suggest the whole sub-menu disappearsThank you! That’s what I’ll do.
Best regards,Forum: Plugins
In reply to: [WooCommerce] Help with minicartI’m not sure if it was a cache problem, it could be.
The minicart requires the browser cache to be cleared (or it requires to add a new product to it) if you do html changes to overwrite it on a child theme.
Now my code is working and it could be a cache issue as stated, or maybe this code, that I added to functions.php:
function iconic_cart_count_fragments( $fragments ) { $fragments['div.header-cart-count'] = '<div class="header-cart-count">' . WC()->cart->get_cart_contents_count() . '</div>'; return $fragments; if ( ! WC()->cart->is_empty() ) { $fragments['div.header-cart-count'] = '<div class="header-cart-count">' . WC()->cart->get_cart_contents_count() . '</div>'; return $fragments; }else{ $fragments['div.header-cart-count'] = '<div class="header-cart-count">L</div>'; return $fragments; } }
Forum: Plugins
In reply to: [WooCommerce] Custom text on minicart when no item is inI tried this and it works for a second, but something inmediately replaces the custom text for a “0”…
What could be happening?
<div class="header-cart-count"> <?php if ( ! WC()->cart->is_empty() ) { echo WC()->cart->get_cart_contents_count(); }else{ echo "SUPER COOL CUSTOM TEXT"; } ?> </div>
Forum: Plugins
In reply to: [WooCommerce] Custom text on minicart when no item is inHi Andrew, thanks!
One question then, is there a simple IF statement to ask “if there are >0 items in the cart…”?
If you give me that php template tag, I think I can figure it out.
Many thanks,
IgnacioForum: Plugins
In reply to: [WooCommerce] Change minicart “0 items” to some other textHi, after looking through the files, we have discovered the code is pulling this:
woocommerce_mini_cart();
…then we go to functions and we also find this:
echo WC()->cart->get_cart_contents_count();
…but those are WooCommerce template tags right? So it’s not a theme-specific tag… or is it?
We would like to change the “0” when no product have been added for something else (a text, like “empty!”).
Where should we edit the files?
Thanks,
Forum: Plugins
In reply to: [Contact Form 7] Forms disappeared from the admin sideI fixed it following this guidelines here!
– https://wpml.org/forums/topic/cf7-forms-disappeared-after-cf7-multilingual-plugin-was-installed/
Thanks for your plugin Takayuki, using it since 2010 ??
Forum: Plugins
In reply to: [Contact Form 7] Forms disappeared from the admin sideDear Takayuki, we have the follwoing theme + plugins (all latest versions):
– Avada Theme
– Advanced Custom Fields PRO
– Bulk Page Creator
– Contact Form 7 ??
– Contact Form 7 Multilingual (forms do translate well, that specific form with id 2634 is missing on English, the basic language, so we can’t translate it, it is present on the shortcode and the frontend, though)
– Fusion Builder
– Fusion Core
– Post Carousel
– Slider Revolution
– The Events Calendar
– UpdraftPlus – Backup/Restore
– WP Sync DB
– WPML CMS Nav
– WPML Media
– WPML Multilingual CMS
– WPML String Translation
– WPML Translation ManagementDid this problem happen to someone in the past??
Many thanks,Forum: Plugins
In reply to: [Gantry 5 Framework] WordPress Page Content not getting FormattedFound it on the WP Admin Menu:
Gantry Theme (the one you use) > Base Outline > Content > General > wpautop enabled
This framework is powerful but it’s very complicated to use in my view.
I think the settings should be prepared for a more casual user (plug and play) instead of going through the learning curve.
Regards,
Forum: Plugins
In reply to: [Gantry 5 Framework] Submenus missing on main menuI created a new menu and it worked. All sub-menus are showing now.
I suspect this had to do with the Rocket import, the menu on Particles was using some deafult that doesn’t exists anymore.
It may be a small bug so if you want more details please ask!
Regards,
- This reply was modified 6 years ago by Jan444.
Hi Dave, many thanks. I was all day dealing with this. I performed scans with WordFence, removed offending files (some were newly created with strange characters, others were modified with eval injections), and cleaned old themes and plugins.
Re-installed WordPress, removed old installs, updated all plugins and themes everywhere, updated WordPress everywhere, removed lots of un-used themes.
Now the scans are showing all is fine.
I’ll wait and see but I’d say the situation is under control as no other “suspicious file modification” warning has popped up for the last hours, which was the way I noticed the problem.
Thanks for your great plugin!
Cheers,
JanForum: Plugins
In reply to: [Yoast SEO] Twitter card type and WP galleriesThe problem was a plugin called “WP Disable” which messes with the stuff in the
<head>
section.Once disabled, all returned to normal:
– no galleries on strange places
–<title>
tag is backHowever, saving fields on the Social area of the plugin (admin-side) keeps failing.
More on that later,
Forum: Plugins
In reply to: [Yoast SEO] Where can we download older versions than 7.0?Sorry for the desperation, the problem was a plugin called “WP Disable” which messes with the stuff in the
<head>
section.Best regards,
I can confirm my code avobe does work.
Thanks very much for your help guys.Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Bug with Divi BuilderHi Matt, after trying for a while, I could confirm that when I disabled any relevant plugin, the page loaded fine.
So it was a server issue, and I just needed more server-side power.
Best regards, and thanks for the plugin!