3 Cornerstone plugins for WordPress Modifications

  • Advanced Custom Fields
  • CPT UI
  • Snippets

Targeted for those who want granular control over existing WordPress sites or themes. With these 3 plugins you can customise your WordPress site to be anything you want.

Advanced Custom Fields

Provides you with the functionality to add basic to complex custom fields to any of your WordPress objects. Posts, Pages, Categories, Media, Projects, etc. Plenty of conditionals to tune to each use case.

Has a built-in api for easily creating front end form that’s often overlooked. [ acf_form() ]


Custom Post User Interface. Plugin title speaks for itself. This plugin simplifies creating Custom Post Types in WordPress and doubles as a great management tool if you’re going to have multiple CPTs or even if you just need one. Covers most, if not all, available CPT api provided by WordPress.

Seamlessly integrates with ACF 👍


De-bloats your functions.php.

Lets you add snippets of code directly into WordPress. Has a simple and straight forward dashboard for managing and organising your code. Perfect if you have plenty of small isolated code that you’d probably won’t touch often. Like say enqueuing scripts.

Creating a child theme in WordPress

Create a new directory with any appropriate name in the themes folder and inside create two new files: functions.php & style.css

Theme Name:   <Your-Name> Child Theme
Theme URI:    https://jkristoffer.com
Description:  Child theme, based on <Parent> Theme
Author:       Kristoffer
Author URI:   https://jkristoffer.com
Template:     <parent-theme-directory-name>

It’s important to note that the value of Template field should be the folder name of the Parent theme

  # functions.php
  # Inherits parent theme's CSS
  add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );

  function enqueue_parent_styles() {
    wp_enqueue_style( 'parent-style', 
    get_template_directory_uri().'/style.css' );

Adding custom scripts / css to WordPress



wp_enqueue_script($jsref, $pathToJSFile, $dep, $ver, $in_footer);
wp_enqueue_style($jsref, $pathToCSSFile );

# example from the theme directory
wp_enqueue_script('home', get_stylesheet_directory_uri() . '/js/home.js', array('jquery'), '', true);

# example from a plugin directory
wp_enqueue_style( 'plugin_style', plugins_url('myplugin.css', __FILE__) );


admin_enqueue_scripts – admin backend
wp_enqueue_scripts – frontend

add_action( 'admin_enqueue_scripts', function(){

Enqueuing Scripts from CDN

wp_enqueue_style('font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/5.4.0/css/font-awesome.min.css');
wp_enqueue_script( 'Slick', 'https://cdn.jsdelivr.net/jquery.slick/1.5.9/slick.min.js', null, null, true );