WordPress.org

Ready to get started?Download WordPress

Forums

How to add permanent link (5 posts)

  1. Bibliophile
    Member
    Posted 7 years ago #

    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
    Adwords

    Can someone help me please?

  2. Bibliophile
    Member
    Posted 7 years ago #

    I forgot to include the link:

    http://www.discounted.ca/read

    Sorry

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

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

    The Widgets plugin can be found here:
    http://automattic.com/code/widgets/

    How to modify the theme can be found here:
    http://automattic.com/code/widgets/themes/

    And lots and lots of add-on widgets can be found here:
    http://widgets.wordpress.com/

  4. Bibliophile
    Member
    Posted 7 years ago #

    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']; ?>">
      <div>
      <input type="text" name="s" id="s" size="15" />
      <input type="submit" name="submit" value="<?php _e('Search'); ?>" />
      </div>
      </form>

    </div>

    <div class="clearer"> </div>

    </div>

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

    Many thanks.

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

    Again:
    http://automattic.com/code/widgets/themes/

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags