Archived topic
Custom site title text on mobile menu
4 replies · Started by Paul on June 4, 2020
i've used some code found on this site (thank you) to do some custom text for the site title (needed some html in it). works great.
however i don't see a way to do same on the mobile menu output. is there a way?
i have:
mobile header: on
branding type: site title
i tried an element tied to inside_mobile_menu hook, but that just adds content before the stock title.
maybe there's a filter for the title text?
Hi there,
there is the generate_site_title_output
You can see its defaults here:
https://docs.generatepress.com/article/generate_site_title_output/
Thanks David. Link didn't work, but this does.
https://docs.generatepress.com/article/generate_site_title_output/
Aah - oops posted the wrong link - glad you found it,
Great thing about what you pointed me to is I no longer have to use Elements or other hooks... that one hook works on desktop and mobile, so THANKS.