M
M
MS2015-03-19 22:30:34
Images
MS, 2015-03-19 22:30:34

The logo is not displayed on the page in Wordpress, what is the reason?

The question is: I'm making a WordPress theme (studying) using bootstrap.
In the header file, I made the logo a link and set the path to the image:

<div class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
      <a class="brand" href="<?php echo site_url(); ?>"><img src="wp-content/uploads/logo.png"></a>
    <nav class="pull-right nav-collapse collapse">
      <ul class="nav"> <br>
      <?php wp_list_pages(array('title_li' => '','exclude' => 11)); ?> 
      </ul>
    </nav>
      </div>
        </div>
      </div>
    </div>

Then I made pages to create the menu. But the image-logo itself is displayed only on the main page, and not on the rest. What could be the problem and how to fix it? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2015-03-20
@drugoj

<img src="<?php echo get_home_url() ?>/wp-content/uploads/logo.png">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question