Site logo

Archived topic

Support for sitename in customiser footer copyright

4 replies · Started by Ivan on March 29, 2019

Viewing posts 1–5 of 5

The copyright textarea in customiser supports %current_year% and %copy% as placeholders. It would be useful to support %site_name% (or equivalent) as well.

That's a good idea :)

For now, you can create a shortcode quite easily:

add_shortcode( 'site_name', function() {
    return get_bloginfo( 'name' );
} );

Then you can use [site_name] in there.

Thanks for the suggestion!

I support this too. Currently, I am using code <a href="/">Sitename</a>

Tom, Where would this PHP to create the shortcode be placed? I'm not a WordPress or PHP developer, I'm a website builder.

This archived topic is closed to new replies.