I want to add a slogan to my web page , preferably on the Welcome page underneath where
I have the logo. How do you do that?
Web page is casual420.com.
You can edit header.php then find this code
Replace it with this
echo "<div id='slogan'>";
Now open your custom.css then add this code
You can edit the slogan on Settings > General > Tagline.
Does anybody know how to add this to a child theme functions file, instead of editing the parent header file?
Try to copy the parent theme header.php into the child theme directory and modify this file. The child theme should load this file instead of the parent theme header.php.
Thanks for your reply Peter Dude.
I’ve found with other sites that I made (with other themes) I get a pretty big bunch of files that need comparisons when upgrades are made.
I’m hoping to find a way within this framework to use function hooks and filters to inject only pieces of code.
Since my experience is really only front-end the Codex is a bit gobbledygook to me, but I’ll search this forum a bit more for any examples.
The topic ‘Add a Slogan on Welcome page’ is closed to new replies.