Saturday, 1 June 2013

How to add any link in static pages menu

LESSON NR. 6:

As we learned last time about how to put multiple posts in a static page, now we'll learn about how we can add any link in a static pages menu



This year Blogger had introduced the option of creating static pages and tie them in a menu. The fact is the menu may not be related only create static pages, as there is an option to put a link to a stranger link or some of the blog post.



As blogger gives us access html code of the blog, there is a way to put a link in the menu that is not static pages.

Update:

Here's what to do to put a foreign link in the menu:

1. Enter the Design and then Edit HTML.
2. Make a copy of the template for any eventuality.
3. Check the box to extend the template code. (Important).




4. With the combination of keys Ctrl + F search for the next word:

    PageList1

You will find a group of code like this:

<b:widget id='PageList1' locked='false' title='Pagini' type='PageList'>
<b:includable id='main'>
   <b:if cond='data:title'> <h2> <data:title/> </ h2> </ b: if>
   <div class='widget-content'>
     <ul>
       <b:loop values='data:links' var='link'>
         <b:if cond='data:link.isCurrentPage'>
           <li class='selected'> <a expr:href='data:link.href'> <data:link.title/> </ a> </ li>
         <b:else/>
           <li> <a expr:href='data:link.href'> <data:link.title/> </ a> </ li>
         </ b: if>
       </ b: loop>
Put here your link code:
     </ ul>
     <b:include name='quickedit'/>
   </ div>
</ b: includable>
</ b: widget>

5. As you can see, in this group of code is written by me a line with this text: Put here your link code. 
Put your link code right there and the link will appear after the existing static pages.
Code should be like this:

<li> <a href="Link-ul vostru"> link name </ a> </ li>.

Relate article:

How to put multiple posts in a static page.

No comments:

Post a Comment