• 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bibliophile

    (@bibliophile)

    I forgot to include the link:

    https://www.discounted.ca/read

    Sorry

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

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

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

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

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

    Thread Starter bibliophile

    (@bibliophile)

    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.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com 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.

    Again:
    https://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.

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