• Your code in the footer generates this:

    /wp-content/themes/codium-extend/images/arrow.png

    without the subdirectory prepended to the front of it such as /blog or /wordpress

    How do I change this code to fix it?

    <div id=”accessmobile” class=”mobileon”>
    <?php wp_nav_menu(array(‘link_before’ => ‘<img src=”/wp-content/themes/codium-extend/images/arrow.png”>’, ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary-menu’,)); ?>
    </div><!– #accessmobile –>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Skews Me

    (@skews-me)

    I manually inserted the subdirectory to the src= link, but that’s just a kludge to get it to work.

    The quick fix is to delete the opening / from the src link:

    <img src="wp-content/themes/codium-extend/images/arrow.png">

    This change should be done in a child theme, although hopefully the next theme update will fix this bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘arrow.png wrong URL – 404 error’ is closed to new replies.