2013-09-24

In StudioPress Minimum Pro theme, by default all pages will show Site Tagline Right widget area’s widgets in the tagline section below header/image. A user mailed me for advice on how a unique site tagline text can be incorporated for every Page in the site.

In this article I provide details on how we can use Advanced Custom Fields plugin to add a custom WYSIWYG content editor for static Pages and have the content of this custom field appear in the tagline’s right area. We will set it up such that if a Page does not have this custom field filled, Site Tagline Right widget area’s widgets will be shown.

Add custom field to Page editor

Install and activate Advanced Custom Fields plugin. Go to Custom Fields > Custom Fields and add a new one like so:



Add the conditional

Edit Minimum Pro’s functions.php and change

to

Make sure to replace custom_site_tagline_right_content with your custom field’s name.

Type your custom tagline right content

Edit the Pages for which you would like to show a unique tagline right content, fill in the custom field and update the Pages.



That’s it!

Now when you visit the Page, you would see something like:



and for Pages that don’t have anything entered in the custom field, it would show the default:

Reference: http://wpsites.net/best-plugins/add-custom-content-outside-the-content-area/

The post How to set up custom site tagline right text for different Pages in Minimum Pro appeared first on Sridhar Katakam.

Show more