Need help customizing my sidebar on wordpress

Status
Not open for further replies.

oksk89

New member
Jun 18, 2009
239
1
0
So I have a theme I like and I'm trying to use the sidebar to put in a screenshot of the offer page, as well as a small section with User Testimonials.

Now, the sidebar has all the usual stuff, like a search box, and all the other default things you'd expect on an untampered sidebar.

I've deleted some of the parts that I dont need but I have no idea how to get the screenshot I took to show up there. I don't know the code.

I also don't know how I'd approach customizing it and putting in user testimonials to replace the links that are normally there.

Any input would be GREATLY appreciated!
 


If you are using widgets in your side bar you can use a text widget and enter the html code to simply display the image you want.
 
Open up sidebar.php, It will be under wp_content >> themes >> your theme >> sidebar.php

Okay now make sure you copy this code and paste & save in a separate notepad file in case you fuck something up and need to revert.

Okay copy this in and it will create an image that also is clickable to your offer:

<div id="sidebar">

<a href="your_affiliate_link_goes_here" target="_blank"><img src="YourDomain.com/images/picture.jpg" width="150" height="150" border="0" /></a>

<p>Text you want goes here....</p>
<?php wp_meta(); ?>

</div>

Just insert all your shit in there. For the image you need to <img src="yourdomain"> Is just the file path that your picture is located at. Change 150's to the size you want. You might not have an images folder, it just depends where you upload it at.

Learn some code, at least some basic html. It will help you TONS.
 
Wow, thank you so much skeletor! You've helped me so much I can't thank you enough.

I have been learning html, googling stuff to figure out how to code stuff, but I only know the basics, like centering stuff, bolding stuff, adding links, but nothing too advanced yet.

Again, thanks a lot! :D
 
damn.. the code works and all, but the image won't show. im sure the source is 100% correct, but it gives me the outline of the would-be image, with a smaller blue box and a white ? mark inside of it.
 
OHH there we go.. it's cuz i didn't put the entire "http://www." part

problem solved

thanks themliteguy!
 
Status
Not open for further replies.