Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeremy Green

    (@endocreative)

    You could replace the site description in your theme file with the random content shortcode and have it pull from different site descriptions within Random Content.

    Thread Starter krobs

    (@krobs)

    Which theme file?

    Plugin Author Jeremy Green

    (@endocreative)

    Wherever the site description is being output. Usually that’s in your header.php file, but not always.

    Thread Starter krobs

    (@krobs)

    Does not work. It shows the random content shortcode.

    Please show me. This is the line:

    <h2 class=”site-description”><?php echo esc_html( $description ); ?></h2>

    Plugin Author Jeremy Green

    (@endocreative)

    You’ll need to use the do_shortcode function to use it in the file.

    Thread Starter krobs

    (@krobs)

    It’s the “Twenty Fourteen” theme.

    Thread Starter krobs

    (@krobs)

    It works!

    Thank you! 😀

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Random site description’ is closed to new replies.