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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Change Genesis Site Description – Tagline Conditionally

This code enables you to use any conditional tag to change the site description which some people refer to as the tagline. In this example, the site description is changed on one specific single page named Demo. The slug for this page is demo however you could also use the page id.

Here’s the part of the code which controls which page the site description is modified.

is_page( 'demo' )

You can replace this conditional with any other to target specific pages, posts, archives etc.

Here’s the demo video showing a very simple example of how the site description is modified on the page named Demo.

Demo Video

Shows a custom site description when the demo page is loaded.

Note : The code also enables you to modify the site description on all/any single posts/pages, blog listings page, author, category, search, and tag archive page types. Support for this is included for registered users.

Code Installation

There’s only 1 step :

From the download folder, copy & paste the PHP code to the end of your child themes functions file.

Register or login to access the code in the download folder :

Register for full access

Site Description

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems