Archived topic
adding class to logo text
3 replies · Started by sg on May 27, 2018
Viewing posts 1–4 of 4
HI , i need to add a class="site_logo" for my a text
i found this. how do i go about adding a class for the pls
thanks.
echo apply_filters( 'generate_logo_output', sprintf( // WPCS: XSS ok, sanitization ok.
'<div class="site-logo">
<a href="%1$s" title="%2$s" rel="home">
<img %3$s />
</a>
</div>',
Hi there,
See the first example here: https://docs.generatepress.com/article/generate_logo_output/#examples
thanks.
No problem!
This archived topic is closed to new replies.