Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How do I add an image to the left sidebar? (http://forum.bytesforall.com/showthread.php?t=3899)

Matthew Krichbaum Oct 15, 2009 08:54 AM

[SOLVED] How do I add an image to the left sidebar?
 
Hello BFA World,

Thanks to all for a wonderful WP theme. I'm just starting out on this website adventure and I really appreciate this great theme. I'm starting slow as I'm very new to this.
www.srkllp.com/wordpress

I'd like to add a picture on certain static pages only on the left sidebar.

Any advice would be greatly appreciated.

Thanks!

Matthew

juggledad Oct 15, 2009 09:03 AM

add a text widget
Put in the HTML code to show the image
get WIDGET Logic plugin - install and activate it
set the logic to only display on the page you want, like - is_page('33') - where 33 is the page id

Matthew Krichbaum Oct 15, 2009 09:11 AM

Thanks for your help.

I did add the plugin and activate it and think I see how to limit it to particular pages.

How do I get the HTML image in the text widget?

The image is here:
http://srkllp.com/wordpress/wp-conte...0/Matthew2.jpg

It is saved in the media library of the website.

Thank you.

Matthew Krichbaum Oct 15, 2009 09:29 AM

I used FTP client to save the image in the atahualpa image folder and then used the following code:
<img src="/wp-content/themes/atahualpa/images/Matthew2.jpg" alt="Matthew2" />

The page now seems like it found the link in the right spot but it doesn't display:
http://srkllp.com/wordpress/?page_id=18. Maybe the image is too big???

Also, the code I tried in the logic plugin hasn't worked yet.

Thanks!

Matthew Krichbaum Oct 15, 2009 09:38 AM

Now I'm getting into trouble:
http://srkllp.com/wordpress/?page_id=18

Big error message.

Matthew Krichbaum Oct 15, 2009 09:39 AM

I tried changing the logic code to:
is_page_id=18

but that obviously didn't work

Matthew Krichbaum Oct 15, 2009 09:42 AM

Ok - this code did fix the logic page limiting feature:
is_page(18)

Thanks! All set on that but I still can't get the image to display. It is finding the link but not displaying. It is a .jpg file.

Matthew Krichbaum Oct 15, 2009 01:02 PM

Hello Again -

I tried changing the picture to a .gif file.

I tried different names in the text code and ended up with a simpler file name:<img src="/wp-content/themes/atahualpa/images/matthew.gif" alt="matthew"/>

Unfortunately, I still can't get the picture to show:
http://srkllp.com/wordpress/?page_id=18

It seems like it is finding the link but for some reason it isn't showing.

Thanks in advance for any suggestions.

Matthew

juggledad Oct 15, 2009 02:34 PM

take a look at this post it should point you in the right direction

Athena Oct 16, 2009 09:52 AM

Hi,
Which post? I would like to know the answer to that question also. I'm trying to put an image link in the bar1 and also get the link, but no image. Thanks. :)

paulae Oct 16, 2009 10:08 AM

Section Widget plugin is much easier to use than the text widget + widget logic, because it does the same thing, in plain English. You paste in your code (for an image or just text) and then tell it where to appear. Very nifty.

paulae Oct 16, 2009 10:15 AM

Matthew, I'm seeing the image just fine. Dump your browser cache.

juggledad Oct 16, 2009 10:55 AM

Athena, sorry about that see

http://forum.bytesforall.com/showthr...=callofthemuse

Athena Oct 16, 2009 11:47 AM

Thanks. :)
I figured it out before I came back, wow! I think I have read and reread every post here and tried everything!!! 6 weeks I've been at this messing around with my %logo %bar %image %bar %pages. I remembered that header images are ftp loaded and other images are uploads=
http://siteurl/wp-content/uploads/2009/10/imagename.gif
per media library edit image see it's url. I'd excuse myself so I could jump around in excitement only I'm so exhausted all I can do is breath a huge sigh of relief, ahhhhhhhh.

Athena Oct 16, 2009 11:49 AM

Oh forgot to mention don't copy and paste, just type it in. It know's your cheating, lol you need a text editor.

Athena Oct 16, 2009 11:52 AM

Double Oops!
On your image url no www. just http://sitename.com/uploads..........
okay I think I'm done.


All times are GMT -6. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.