[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 |
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 |
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. |
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! |
|
I tried changing the logic code to:
is_page_id=18 but that obviously didn't work |
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. |
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 |
take a look at this post it should point you in the right direction
|
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. :) |
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.
|
Matthew, I'm seeing the image just fine. Dump your browser cache.
|
|
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. |
Oh forgot to mention don't copy and paste, just type it in. It know's your cheating, lol you need a text editor.
|
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.