John P.
RSS Feed
Get OMB via e-mail:
Feedburner Subscribers
Join John P. on: View John P's profile on LinkedIn LinkedIn John P. on Facebook Facebook or Follow John P. on Twitter Twitter.

One Man's Blog

Specialization is for Insects.

adobe fireworks cs3 tutorial free. Adobe Fireworks CS3 9.0 | Buy your software cheap and easy .adobe fireworks cs3 practice adobe fireworks cs3 and tutorials. Adobe Fireworks CS4 10 | Buy your software cheap and easy .tutorials adobe fireworks tutorial adobe fireworks slideshow. Adobe Fireworks CS4 10 Multilingual | Buy your software cheap and easy .adobe fireworks tools adobe fireworks not explosive fireworks. Adobe Buy Cheap Software Online Software Store .adobe fireworks how to

Fixing Image Alignment in WordPress 2.5 +

0

If you are using WordPress with the built in image uploader, and the image align characteristics are not working for you, the fix is a simple modification to your theme’s Stylesheet.css file.

In the Admin control panel just navigate to Design | Theme Editor and over on the right side of the list of files select your Stylesheet to edit. It will usually say: Stylesheet (style.css)

Add the following lines anywhere you want within the stylesheet and then save the document and you should be good to go.

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

If your Stylesheet is not editable, you may have to use your FTP client to go in and change the permissions on the files.

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineRedditLinkedInYahoo! BookmarksSphinn It!Hyves

WordPress: Homepage Ads ONLY After The First Article

0

Have you ever wondered how to show Google ads on your WordPress blog’s home page, but only after the very first article? Well, here is how you do it. And don’t worry, it’s quite simple, and you can’t permanently damage anything by giving it a try. ANYONE can do this!

  1. In the PRESENTATION menu, under THEMES EDITOR, find the theme file called “Main Index Template” (index.php).
  2. FIRST: Copy and paste everything you see here into a blank text file and save it. This way if you screw something up you can revert back to the original without hurting anything.
  3. Find a line of code that looks much like the following: <?php the_content('Read the rest of this entry »'); ?>
  4. Immediately after that, paste the following: <?php if ($count == 0) : ?> ENTER YOUR AD CODE HERE <?php endif; $count++; ?>
  5. Save the document and refresh your page. You should see the ad ONLY after the first article on the homepage.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineRedditLinkedInYahoo! BookmarksSphinn It!Hyves

The Nice Person Freeware License

0

While creating a couple of plugins and themes for Wordpress I became confused, disillusioned and disenchanted with the various copyright licenses found around the net. I didn’t want anything so “legal-y” because, well frankly I’m not going to have the time, energy or patience to actually enforce it. Plus, I’m giving these things away for free!

So I decided to create my own licence as follows. Feel free to use / link to it if you feel it meets your needs, and suggestions for improvement are welcome.
Read the rest of this entry »

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineRedditLinkedInYahoo! BookmarksSphinn It!Hyves