• Resolved dummeditte

    (@dummeditte)


    I’m trying to add a logo to the navigation menu.

    Google led me to this snippet:

    add_action('generate_inside_navigation','generate_navigation_logo');
    function generate_navigation_logo()
    {
    ?>
    	<div class="site-logo">
    		<a href="https://sytex.dk/"><img src="https://sytex.dk/wp-content/uploads/2018/01/logo.png" alt="" /></a>
    	</div>
    <?php
    }

    but when entered in Code snippet, it has no effect.

    Am I doing something wrong – or is karma just a bitch?

    • This topic was modified 6 years, 10 months ago by dummeditte.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add_action has no effect’ is closed to new replies.