Adding a Logo & Text to Header

This support request was posted in BBQ by kswaney

Request ID #4384 In Progress
  • Hi There,

    I have uploaded my custom logo and its all working well. What I’d like to do is add some text inside the H1 so that both the logo image and text are displayed on desktop mode (and I’ll use CSS to hide it on iphones etc).

    I’ve looked through the php and am having trouble understanding where to place the code. What i’d like to have is some text that is wrapped in a class, inserted in between the php added H1 tags. Hopefully that makes sense.

    Is that possible? Where do I insert the extra html?

    Thanks!
    Kate

    Juanfra Aldasoro

    Hi Kate,

    I hope you’re doing well today and thanks for writing.

    The logo is displayed with a function that is filterable. The name of the function is nice_logo and it is within the Theme Framework.

    What you can do, is add some php function in your functions.php file in order to alter the default args and set some text for the ‘after_title’ parameter.

    I’ve set an example for you, you can find it here: https://gist.github.com/juanfra/2b01d8cf5762827ab66f

    Best,
    Juan.

    Wow!
    Thanks so much for the fast reply! I’m not very good at php and you totally made it easy for me to do.

    Juanfra Aldasoro

    Awesome 🙂

    I’m happy to help.

    Have a nice day,
    Juan.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server