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

WordPress

Wholesome Code > WordPress
C.

Custom conditional statements around your WordPress enqueued stylesheets

June 2, 2017 8:48 amFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments155 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 Comments260 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

H.

How to add items to robots.txt with WordPress

August 17, 2016 9:37 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments256 Views
add_filter( 'robots_text', 'disallow_pdf_index', 0, 2 );

If you wasn’t aware, WordPress auto-generates its own robots.txt file, and that there is a filter that you can hook into to allow you to add your own rules to the file. The filter in question is robots_txt filter. Using this information…

Read more

C.

Contributing to WordPress Core for Absolute Beginners

August 7, 2016 7:30 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments110 Views

This blog post details my first experience of contributing to WordPress Core, and hopefully it will provide a little help for any other budding contributors. Where to Start The WordPress.org website has a fantastic section for contributors, the section I was looking for…

Read more

Posts navigation

Previous 1 2 3 4 5 6

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