hi
have some beginner questions regarding menus/links.
question 1
my current code for the top nav:
<?php wp_nav_menu(array('menu_id' => 'primary'))?>
Thats all i got, now i want to add fontello icons next to every pagelink, how do I do this? When creating a static site this could look like this: <a href="#><i class=“icon-home”></i>Home</a> … but how can i do this in WP when all i see is the php above?
(im a noob to WP)
question 2
So i got an image on my site, that i want to make a link of. But the static <a href=“imgdir”><img></a> wont work. So the question is… how do i link between pages?
question 3
I have made a template file named news.php with template name “blog”, and I have added this code:
<?php while(have_posts()): the_post()?>
<h2><a href="<?php the_permalink()?>"><?php the_title() ?></a></h2>
<?php the_content();?>
<?php endwhile;?>
The problem is that nothing is shown when i create a new page and use the blog template. The exact same code works fine if i put it on index.php.