Writers Building Websites

Writers Building Websites

Add a Book Price Field to Your Author Website

Learn how to create a custom Book Price field in WordPress. Display book prices from your preferred retailer to improve user experience on your author website.

Last Updated: 10 December 2024

Introduction

Displaying the price of your book directly on your author website is a simple but effective way to improve the user experience. In this lesson, you’ll learn how to create a custom Book Price field using Advanced Custom Fields (ACF). By showing the cost of your book upfront, you reduce friction for visitors, provide transparency, and streamline the path to purchase—all without turning your website into an ecommerce platform.

Book Price Custom Field

Even though this author website is NOT an ecommerce site it’s still worth posting the cost of your book from your preferred sales channel.

Visitors will be looking for it and it’s better to answer the question right away than attempt to force them to click through to your retailer of choice to find out the price.

From the WordPress admin Sidebar go to ACF > Field Groups and edit the Books Field Group

General Settings

  • Add a new field
  • The field type is number
  • The field label is Book Price
  • Accept the default field name

Validation

I’ll make this a required field

Presentation

I’ll give this the following instruction to display as an aid to filling out the field.

  • The cost of the book from your preferred online retailer. The currency symbol will be added in the Book Custom Post Template.
  • Step size is 0.01 to handle currency values like 3.99
  • Click Save changes

Update Book Post

And we will jump back to the draft book post for Adventure danger and price this book at 3.99.

Summary

In this lesson, you created a custom Book Price field linked it to your Books Custom Post Type. This feature allows you to display book prices from your preferred retailer directly on your site, improving visitor satisfaction and encouraging engagement. By making the price readily accessible, you enhance user experience while maintaining a professional and user-friendly author website.

Stephen Gordon
Stephen is the founder of Writers Building Websites and brings over a decade of experience as a freelance marketer specialising in publishing. He is also an author.

Index

Copyright © 2024 Writers Building Websites | All Rights Reserved.