Wholesome Code Wholesome Code
Wholesome Code Wholesome Code
  • Blog
  • Guides
  • Plugins
  • About
  • Contact

WordPress

Wholesome Code > WordPress
B.

Broken React.createClass Component? Let’s Fix It!

January 14, 2019 5:20 pmFebruary 5, 2021By Matt WatsonIn Blog, WordPress0 Comments411 Views
Broken React.createClass and React.propTypes

If you are building WordPress Gutenberg Blocks (or even if you are not) you may be trying to get a third party React Component working in your build. But if it’s an older element, specifically one that uses the deprecated…

Read more

S.

Secure Blocks for WordPress Gutenberg

January 1, 2019 11:00 pmFebruary 9, 2021By Matt WatsonIn Plugins, WordPress0 Comments171 Views
Introducing Secure Blocks for WordPress Gutenberg

Secure your content in the WordPress Gutenberg editor via login or by user role, with Secure Blocks for Gutenberg. Using Secure Blocks you can add any Gutenberg block inside a secure block, and have it render only to logged in…

Read more

C.

Creating a Custom CMB2 Link Picker Control for WordPress

January 1, 2019 11:00 pmFebruary 8, 2021By Matt WatsonIn Plugins, WordPress0 Comments252 Views
Creating a Custom CMB2 Control

In this tutorial I will look at how you can create a custom control to extend the functionality of CMB2 (Custom Meta Boxes 2) by WebDevStudios. I develop websites (and web applications) with the WordPress CMS (Content Management System), and when a new…

Read more

D.

Disable the WordPress Multisite Activation Step

October 10, 2018 9:30 amMarch 4, 2021By Matt WatsonIn Blog, WordPress0 Comments52 Views
Disable the WordPress Multisite (WPMU) Activation Step

So, you’ve created a WordPress Multisite installation, and you come to add your users. Simple right?  Wrong! Multisite introduces additional authentication steps, whereby a user needs to activate their account by clicking a link that has been sent to them….

Read more

A.

Add Select2 as an InspectorControl in WordPress Gutenberg

August 8, 2018 2:36 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments385 Views
Select2 in WordPress Gutenberg

For a project I was working on I wanted to use Select2 as a Gutenberg InpectorControl to allow me apply settings to a block. This tutorial will also give you the foundation you need for getting any third party React Component…

Read more

C.

Custom TinyMCE Editor Formatting in WordPress

January 5, 2018 1:53 pmFebruary 10, 2021By Matt WatsonIn Blog, WordPress0 Comments320 Views
add_filter( 'tiny_mce_before_init', 'matt_watson_tinymce_formatting' );

Sometimes when writing a block of text using the WordPress editor, you need it to look a certain way, we usually do this by adding styles to pieces of text, but we don’t always want our clients to have to…

Read more

C.

Changing your WordPress site language (locale) dynamically

June 16, 2017 8:30 amMarch 8, 2021By Matt WatsonIn Blog, WordPress0 Comments471 Views
add_filter( 'locale', 'matt_watson_redefine_locale', 10 );

There are some fantastic multilingual plugins for WordPress, however for one client project I needed something far more flexible, as this particular client needed to cater for several countries that each spoke several languages. In short the client needed to…

Read more

E.

Enforce Version Control in WordPress to Boost Security

June 7, 2017 8:13 amFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments129 Views
define( 'DISALLOW_FILE_EDIT', true );

If you have spent a long time working on your clients website, ensuring everything is in version control (such as git). Then you would be pretty gutted if your client edits a theme file, or adds a new plugin that lives…

Read more

S.

Stop Clickjacking by preventing your WordPress site from Loading in a Frame

June 6, 2017 9:00 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments479 Views

Clickjacking is a potential security risk caused by someone loading your website inside a frame on another website and making it appear as if the website is legitimate, however they will be hijacking interactions you make with that site, such…

Read more

P.

Prevent XSS (Cross-Site Scripting) by escaping values in your WordPress templates

June 5, 2017 11:00 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments148 Views

If you are developing a WordPress theme or plugin then it is important to make it as secure and robust as possible. One way to do this is to properly escape values that you use in your project so that…

Read more

Posts navigation

Previous 1 2 3 4 5 6 Next

Useful Links

  • About
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Contact

Guides

  • Create a Custom Sidebar with PluginSidebar
  • Add Controls to the Post Sidebar with PluginDocumentSettingPanel
  • Add Controls to the Core and Third Party Block Sidebar with Filters and Higher Order Components

Latest Posts

  • Create a Custom Block Category in the WordPress Block Inserter (Gutenberg)
  • Add a Custom Settings Link to Your WordPress Plugin
  • Extend the WordPress Customizer Using JavaScript
  • Hook into the Save Action for the WordPress Block Editor (Gutenberg)

About

Wholesome Code: Crafting wonderfully wholesome things with WordPress.

Subscribe

© 2019 – 2021 Wholesome Code Ltd.
All rights reserved | Business No: 12196107

Menu
  • Blog
  • Guides
  • Plugins
  • About
  • Contact
Search