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

Blog

Wholesome Code > Blog
H.

How to Write a Personal Social Media Strategy

January 27, 2018 11:28 pmFebruary 8, 2021By Matt WatsonIn Blog, Business, Systems0 Comments83 Views
How to write a personal social media strategy

There are lots and lots of social media channels out there, and people use each of them in different ways. If you tried to post to all the social networks without automating everything, you wouldn’t have time left in the…

Read more

C.

Custom TinyMCE Editor Formatting in WordPress

January 5, 2018 1:53 pmFebruary 10, 2021By Matt WatsonIn Blog, WordPress0 Comments147 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

H.

How to make Responsive Web Design (RWD) Background Images

July 28, 2017 7:50 pmFebruary 4, 2021By Matt WatsonIn Blog0 Comments64 Views
data-default-bg="http://www.fillmurray.com/1024/576"

I work with Dave Green on a daily basis at our WordPress focused web development agency Make Do. Responsive Web Design (RWD) is a service that comes as standard with all of our products.

Read more

C.

Changing your WordPress site language (locale) dynamically

June 16, 2017 8:30 amFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments235 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

C.

Code Clinic – WordPress Sheffield June 2017

June 14, 2017 3:46 pmMarch 4, 2021By Matt WatsonIn Blog0 Comments7 Views
Code Clinic - WordPress Sheffield June 2017

I have an aim to help grow and support the WordPress community as a whole. Along with my code and plugin contributions to WordPress, I have also supported the WordPress Sheffield community group. To cater to a wide verity of interests,…

Read more

E.

Enforce Version Control in WordPress to Boost Security

June 7, 2017 8:13 amFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments66 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 Comments223 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 Comments65 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

C.

Custom conditional statements around your WordPress enqueued stylesheets

June 2, 2017 8:48 amFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments81 Views
add_filter( 'style_loader_tag', 'matt_watson_style_loader_tag', 10, 2 );

You may be aware that you can add conditional statements around your WordPress enqueued CSS styles (such as <!–[if gt IE 7]><link …/><![endif]–>) to load the script for certain versions of Internet Explorer. As handy as this is, it doesn’t cater for all…

Read more

P.

Prevent users from sharing login credentials in WordPress

June 1, 2017 10:36 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments124 Views
WP_Session_Tokens::get_instance( get_current_user_id() );

As any Information Governance expert will tell you, sharing usernames and passwords is bad! Fortunately we can boost your WordPress security with this tip. Although nothing is as good as educating your users as to why they shouldn’t be sharing their…

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 Custom Meta Boxes Using the WordPress Block Editor (Gutenberg)
  • Using Post Meta Fields to Store Attributes in the WordPress Block Editor (Gutenberg)
  • Using PHP to Render a Block in the WordPress Editor (Gutenberg)

Latest Posts

  • update_post_meta WordPress Block Editor (Gutenberg) Equivalent is editPost
  • wp_get_attachment_image WordPress Block Editor (Gutenberg) Equivalent is getMeta
  • get_post_meta WordPress Block Editor (Gutenberg) Equivalent is getEditedPostAttribute(‘meta’)
  • WP_Query WordPress Block Editor (Gutenberg) Equivalent is getEntityRecords

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