Skip to content

WPC Knowledge Base

  • Home
  • 2023
  • September
  • 17

Day: September 17, 2023

Uncategorized

Make the Custom Profile Image as the Default in WordPress/Gravatar

by John : September 17, 2023September 17, 2023 UncategorizedLeave a comment

If you’re creating a custom registration form with custom fields including the Profile Image, copy and paste the custom function below to your child theme’s functions.php to set the custom profile image field as the default display picture for user profiles.

Uncategorized

Fixing Persistent Sub-menus

by John : September 17, 2023 UncategorizedLeave a comment

This simple fix will resolve a minor bug with the default Navigation block. Copy and paste the code below in your CSS file. This code prevent sub-menus to appear after opening the link in a new tab.

Uncategorized

Update Cart Count with the Quantity of the Items

by John : September 17, 2023September 17, 2023 UncategorizedLeave a comment

For some unknown reason, the default Mini-cart block hides the cart count on both the Cart page and Checkout page. This JS script allows you to display and sync the number of items with their quantities. Copy and paste the code below to your .js file.

Recent Posts

  • Creating a Search functionality for specific product attributes with autocomplete
  • How to remove the extra fields in the events calendar
  • Enable/Disable Autoplay for media and text block with acf field settings
  • Stop cover block video from autoplaying
  • Custom number of entry selection

Recent Comments

No comments to show.
Copyright © 2026 WPC Knowledge Base | Powered by Knowx WordPress Theme