What is widget and why do we need it? Part 2

July 13, 2008 by Benjamin Perko  
Filed under blogging tips

In previous part of the widget series I told you something about widgets more generally speaking: where can you find widgets in dashboard, what are they good for and what a widget is.
If you did not see the first part you can follow the link here: Part 1

In this post you will learn how to add video and image to widget.

For images is almost the same. The difference is just in the code you add, which is something like this:

<img src=”link-to-your-picture.jpg”>

Text in the red is always the same, text in black is the URL of the image you want to add.

If you want that your picture is a link to other website it has to look like this:

<a href=”link-to-page”> <img src=”link-to-your-picture.jpg”> </a>

First link is the connection to the page you want your picture to follow when you click on it. The other link is the URL of the image.

What is widget and why do we need it? Part 1

July 8, 2008 by Benjamin Perko  
Filed under blogging tips

Widget is like a mini web application that you can put on your blog and can be easyily edited or modyfied. It provides your readers some information, extra functions.
It is usualy available in so called ready-to-use formats which means it is user friendly and easy to use. It can take a lot of forms like pictures, statistics, random text, actually anything.
If you want some link shows in a widget you just “copy” that code and “embed” it in your widget.

We use widgets in blog because of the easy implentation and when you dont like the spot where it is you just move it somewhere else.

Instructions on how-to use it in wordpress blog

Watch the presentation on widgets where we are going to add calendar widget to the right sidebar of the blog and change the name of it. Easy.

I hope you enjoyed my very first presentation. I am still learning but I am getting there. I have also found some video series on youtube about widgets and here is the first part:

"allowFullScreen":"true","src":"http://www.youtube.com/v/HRAmQ_m2asg&hl=en&fs=1"

Next in the series: Part 2, Part 3, Part 4, Part 5

This is a part one of the widget series.
Part 2 is here