• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

PHP (502)

Removing the “EDD subscriber” role when unsubscribing from Easy Digital Downloads
Execute an action when a user subscribes to Restrict Content Pro
Using block-based template parts in a classic WordPress theme
Exclude entries from a category in WordPress query loop block
What to do when custom fields are not saved
How to verify your WordPress website on Mastodon
Create custom variations for WordPress blocks
Display the categories ID in a WordPress admin new column
Deactivate WP_Query cache in WordPress
Display entries from multiple CPT in WordPress query loop block
Hiding Jetpack promotion messages on WordPress dashboard
Remove Restrict Content Pro metabox on certain post types
Display the category entry number in a WordPress block theme
Get a list of all custom fields in a WordPress entry
Detect if a WordPress installation is using a classic or block theme (FSE)
Display the blocks name in the frontend of a WordPress page
Load all frontend CSS styles in WordPress block editor
Show only the entries of a certain category that the Restrict Content Pro subscriber has access to
Remove a logo image link on the home page of a WordPress theme
Display the template file name that is loaded on a page in the WordPress administration bar
Customizing breadcrumbs in Genesis Framework
Restore permalinks programmatically in WordPress
Restrict the locking block option to be available only to WordPress administrators
Use UTM parameters to distinguish visits from different web menus
Hide WordPress code editor to non-administrator users
Get a list of all menu locations in a WordPress theme
Adding an item to the “New” menu in WordPress admin bar
Block or limit the modification of WordPress block templates
Adding a custom menu to the WordPress administration bar
Show WordPress customizer in FSE themes
Create a block template for CPT posts in a classic WordPress theme
Create a block template for posts in a classic WordPress theme
Get a list of all registered blocks in a WordPress installation
Hide message to connect the store to WooCommerce.com
Show seniority or loyalty months for a Restrict Content Pro subscriber
Hide order notes in WooCommerce
How to prevent BuddyPress pages from indexing
How to remove WooCommerce checkout fields in a product category
Hide the block patterns from a WordPress plugin or theme
Prevent indexing of WooCommerce product and/or category pages
  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2026

close-icon

Lost your password?