This is close to what I want, but I am wondering how to setup a custom field in the site tagline left area for different pages. Much the same as you posted about the right tagline area, but I don’t think I can do exactly the same thing in changing the code.Thanks
In this article I show how we can replace Site Tagline (description) text with value of a custom field in static Pages in Minimum Pro. If the custom field's value is empty, site tagline will appear.
A static Page with the default site tagline text:
Another static Page with custom text in place of the site tagline text:
Install and activate Advanced Custom Fields. Add a Custom Field Group like so:
In functions.php replace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|printf( '<div %s>', genesis_attr( 'site-tagline-left' ) );|
|printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) );|
To view the full content, please sign up for the membership.
Already a member? Log in below or here.