---
title: 'Creating user editable shortcodes with Advanced Custom Fields (ACF)'
url: 'https://www.nick-hayward.co.uk/creating-user-editable-shortcodes-with-advanced-custom-fields-acf'
markdown: 'https://www.nick-hayward.co.uk/creating-user-editable-shortcodes-with-advanced-custom-fields-acf.md'
date: '2024-11-05'
description: 'A fairly technical client asked me if he could add WordPress ‘shortcodes‘ for various statistics around his website - it was easier than expected!'
taxonomy:
  category:
    - 'Web Development'
    - WordPress
---

[Home](https://www.nick-hayward.co.uk/) » Creating user editable shortcodes with Advanced Custom Fields (ACF)

 ![acf-custom-post-type-shortcodes.webp](https://www.nick-hayward.co.uk/images/3/8/f/7/e/38f7efc294c08c27f0d949ee21e173a0ec308179-acf-custom-post-type-shortcodes.webp) 

 November 5th, 2024 Posted in [Web Development](https://www.nick-hayward.co.uk/taxonomy?name=category&value=Web%20Development), [WordPress](https://www.nick-hayward.co.uk/taxonomy?name=category&value=WordPress)

# Creating user editable shortcodes with Advanced Custom Fields (ACF)

A fairly technical client asked me if he could add WordPress ‘shortcodes‘ for various statistics around his website. This means the statistic only needs updating in one place and will then display properly around the site, a big time saver. We often set global options but they are not easy to insert to the page editor around the site, and aren’t as flexible as they are part of the theme.

Full article at [Intention web design](https://byintention.co/user-editable-shortcodes-advanced-custom-fields-acf/)

---

## Navigation

- Parent: [Home](https://www.nick-hayward.co.uk/index.md)
- Previous: [WordPress build for Ecofurb retrofit service](https://www.nick-hayward.co.uk/wordpress-build-ecofurb-retrofit-service.md)
- Next: [Narrowboat home automation - basic Aqara setup](https://www.nick-hayward.co.uk/narrowboat-home-automation-basic-aqara-setup.md)

<!-- Added by Intention Header Footer Code plugin -->
<!-- Privacy-friendly analytics by Plausible -->
<script async src="https://plausible.io/js/pa-dVyPIkxnhGVxiRfGP1Cj2.js"></script>
<script>
  window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
  plausible.init()
</script>


<!-- Added by Intention Header Footer Code plugin -->
<style>
h1, h2,h3,h4 {
  text-wrap: pretty;
}
</style>
