Title: static site and wordpress help.
Last modified: August 20, 2016

---

# static site and wordpress help.

 *  [apratherjr](https://wordpress.org/support/users/apratherjr/)
 * (@apratherjr)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/)
 * Hi guys, I am not sure if this is right place to ask… but here
 * I just revamped my static site by changing the theme and etc, and I just added
   blog page along with it as subdomain (not sure if that’s the right way to call
   it but I have set up one like this –> www . mydomainname / blog. I just only 
   want to use this page for blogging and comments.
 * With less knowledge in WP or PHP, i have collect and followed numbers of tutorials
   carefully, I am able to flow along with it without problem such as succeeding
   added “wp-theme” that looks exactly as rest of my static pages. I have included
   CSS3 coded animinated-navigation menu bar on each pages and they work flawless
   inside wp template.
 * Now I have few problem… maybe problems…
    I am unable to obtain logo image inside
   the template folder that is attached inside template folder. I have converted
   html into php such as…
 * HTML CODE:
    `<div id="logo"><img src=/images/logo.png" alt="logo"/></div>`
 * into…
 * PHP CODR:
    `<div id="logo"><img src="<?php bloginfo('template_url');?>/images/
   logo.png" alt="logo"/></div>`
 * i have also tried….
 * `<div id="logo"><img src="<?php bloginfo('template_directory');?>/images/logo.
   png" alt="logo"/></div>`
 * both codes didnt work, the image logo image didnt show up.
 * Secondly, How can I write a code that can tell which link can direct to static
   page from blog page such as in html…
 *     ```
       <nav>
            <ul id="menu">
       	<li><a href="index.html">home</a></li>
       	<li><a href="portfolio.html">portfolio</a></li>
       	<li><a href="blog.html">blog</a></li>
       	<li><a href="aboutme.html">about me</a></li>
             </ul>
       </nav>
       ```
   
 * FTI: Home. Portfolio and about me is static sites….
 * Perhaps, is there any tuts that explain how to build blog site along with static
   sites?
 * your help is appreicated

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/#post-2651863)
 * Is the static website wordpress?
 *  Thread Starter [apratherjr](https://wordpress.org/support/users/apratherjr/)
 * (@apratherjr)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/#post-2651873)
 * I am not sure I understand you….Maybe I can clear this one up
 * I have three static pages (Home, Portfolio, and About me) using HTML/CSS codes.
   guess its called static site.
 * Blog is the only dynamic page that join along with static pages set as subdomain
   which is www. mydomain . com / **blog**
 * and I am using “blog” page only as blog journal and get some comments from repliers.
 * hope that’s helpful??
 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/#post-2651880)
 * The reason I asked is that you can set it all up with wordpress so that you can
   have same look and theme for whole website rather then having two different looks.
 *  Thread Starter [apratherjr](https://wordpress.org/support/users/apratherjr/)
 * (@apratherjr)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/#post-2651898)
 * Well, as I stated… My WP theme has exactly same look as static page.
    so I don’t
   have problem with theme. Its all good….
 * The only two problems I have is…
 * WordPress PHP codes i typed as I labeled earlier from the first post
 * `<div id="logo"><img src="<?php bloginfo('template_url');?>/images/logo.png" 
   alt="logo"/></div>`
 * to find image inside the image folder of the template folder doesn’t work….
 * and…
 * I am not be able to know how to add PHP codes for Nav links where I want to label
   pages that can go direct back to static pages. i.e.
 * `<li><a href="index.html">portfolio</a></li>`
    in HTML
 * how do could you covert that in PHP??
 * Yes, maybe its better to convert entire HTML into WP… but not at this time for
   me… Maybe in the future.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘static site and wordpress help.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [apratherjr](https://wordpress.org/support/users/apratherjr/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/static-site-and-wordpress-help/#post-2651898)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
