New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Wordpress weblog: add photo/adsense non-widget?


Post Reply New Thread Subscribe

 
Thread Tools
Christopher

 
Christopher's Avatar
 
Member Since: Jan 16, 2007
Posts: 226
Christopher is an unknown at this point

Christopher is offline
Hi. I have a Wordpress weblog hosted at my own website, I've been refining the features and design, and I really like it. I haven't found any other theme yet that I can edit to be as elegant but also as attractive. I like it. It is a modified version of the Sirius theme. I love writing my content, and intend to put some time into blog entries and promotion in the coming months.

My issue is, I want to add an AdSense add in the sidebar, and probably a photo as well... but this theme is not Widgetized. The sidebar is PHP. I can totally include the code if that's helpful to anyone in helping me, but I won't unless someone mentions it (don't want to bore people with it).

My question is: will it be possible to add an adsense ad, and maybe a photo? I know that sidebar Widgets allows you to do this, but I just like this design a lot now.

Tell me please: what will it take to get an adsense ad and maybe a photo in the sidebar code?

Will it be possible after I do this to rearrange the order of sidebar items by rearranging the items in the sidebar code?

Thank you in advance for any help.
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

Did you try the plugin? AdSense-Deluxe WordPress Plugin.

I also know that Flickr has a java-script on their website if you want to add a feed to your WP sidebar. That's good if you use Flickr, of course.
QUOTE Thanks
Christopher

 
Christopher's Avatar
 
Member Since: Jan 16, 2007
Posts: 226
Christopher is an unknown at this point

Christopher is offline
No, never even heard of it! It looks fantastic. I wonder two things: can I use it with Wordpress 2.2? I upgraded.

Can you use it to put an ad in the sidebar also?


This is a great lead though. Thank you! I don't want to give up this theme.
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

To be honest, I never used that plugin at all. But the website says it is compatible with WP 2 so you might want to try it. Just make sure you backup your blog (you should have a backup plugin within your WP installation - it would be under the Manage tab in your WP Dashboard) before changing anything.

And as for the Flickr javascript, you simply copy/paste it into your sidebar .php file.

If it's only a photo you host on the same server as your WP blog, just input the image source URL and resize the photo within the img src tag somewhere in your sidebar .php file once again.



Edited to add:

You might want to doa search in the WP forums to see if there is any problems with the plugin and WP 2.2.

Here's a list of WP 2.2 compatible plugins. As far as I can see this plugin is not in the compatible list but that doesn't mean anything: it could simply be because no one has reported it as working yet. I would search the support forum first to see if anyone is experiencing problems with it.

And if ever you want to change your theme one day, here's a list of WP 2.2 compatible themes.
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

Oh and just found the Flickr badge thing.
QUOTE Thanks
Christopher

 
Christopher's Avatar
 
Member Since: Jan 16, 2007
Posts: 226
Christopher is an unknown at this point

Christopher is offline
MacHeadCase, or anyone else who might know, I have been setting up and studying up on AdSense. I'm all set with Google. My question now is, AdSense deluxe is good for inserting ads within a post. Do you know if it would be possible to use it to add an ad to the sidebar? That is what I want to do. Thanks!


Edit: I figured it out! Just inserted the code in my sidebar php. Quick question though... if I want space between your sidebar items, between blogroll and the AdSense ad, for example, what is the command to insert a line break? I tried <br> but it didn't work. Maybe there is a special one for php code? Thanks!
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

It depends on how your theme is constructed. Mine is pretty big on the the list, ul and div tags (<li> </li> <ul> </ul> <div> </div>) so I looked at how the sidebar .php file was already constructed and reproduced the same sequence as other items in the sidebar that were already there. The <li> and <ul> tags do add space between items. Just be careful to close tags you open.
QUOTE Thanks

Post Reply New Thread Subscribe


« iWeb Question | Secure SMTP connections to Gmail, what does my OSX server need? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Maintidget - a maintenance widget MacHeadCase OS X - Apps and Games 0 01-28-2007 08:49 AM
I want a Fantasy Baseball Widget!!! prostuff1 OS X - Apps and Games 4 06-16-2005 03:52 PM

All times are GMT -4. The time now is 10:57 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?