• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Display Genesis Author Box Only If ACF Checkbox Ticked

There’s at least 2 ways you can show the author box on single posts depending on whether a checkbox you have added to all single posts generated by the ACF plugin, is ticked YES as seen in the following image:

acf-checkbox

The solutions in this post, are based on this question from a member of the StudioPess community:

I am trying to setup author box on single pages. What i want to achieve is that the author box will be displayed on only those pages where i manually tick the custom field checkbox generated by ACF Plugin.

The code needed to make this work depends on whether the individual Users > Profile page setting for enabling the author box on this users posts is checked or not.

Both solutions depend on you creating a checkbox using the ACF plugin which can be ticked or unticked.

Demo Video

Here’s both solutions for logged in members:

Register for full access

Related Code Snippets

  • Code to Add Meta Box for Checkbox in Genesis
  • Add or Remove Author Box Only When Custom Field Has Value

Author Box

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.