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
The topic ‘static site and wordpress help.’ is closed to new replies.