Support » Themes and Templates » How to add permanent link

  • Hi guys,

    A friend did the template for me and he did not put anything on the left column except “search” bar. I would like to add:

    Permanent Link

    Can someone help me please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I forgot to include the link:


    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I would suggest installing the Widgets plugin and modifying the theme to support Widgets.

    The Widgets plugin can be found here:

    How to modify the theme can be found here:

    And lots and lots of add-on widgets can be found here:

    AS I do not have experience with php and just learning really event html… the widget got me confused too. LOL.

    Here is code he wrote on my “left sidebar” and he called me menu.

    <!– begin sidebar –>
    <div id=”menu”>

      <li id=”search”>
      <div class=”menutitle”><?php _e(‘Search:’); ?></div>
      <form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
      <input type=”text” name=”s” id=”s” size=”15″ />
      <input type=”submit” name=”submit” value=”<?php _e(‘Search’); ?>” />


    <div class=”clearer”> </div>


    I’d like to add static link and adword codes… please advise me what to do.

    Many thanks.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    If you had actually read the links I gave you, it would be a lot easier for you to understand what it’s talking about. You don’t need to know PHP, you just need to know English.


    Right after “I give in. How do I fix up my theme?”, there is an example that is *exactly* suited to your sidebar code. If you simply implemented that just like it shows you how to do, then you wouldn’t have to expect other people to do things for you.

    And just below that is a bit where it talks about adding four lines to your functions.php file, which is really easy as you probably don’t even have a functions.php file already. So just make a new one and add those 4 lines to it. Simple.

    If you follow both of those steps (add 3 lines to your sidebar and 4 lines to functions.php, all of which it GIVES to you in the example), and then installed the widget plugin, then we wouldn’t have to have this discussion. You’d be done already, happily dragging and dropping any kind of widgets on your sidebar that you wanted to.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add permanent link’ is closed to new replies.