Category Archives: Geekery

Discount Lowest Price Viagra

Discount lowest price viagra Spent then tail part of my Saturday watching hockey and coding.  I’m sure Jamie would be proud.  And likely doing the same thing.

Discount lowest price viagra It’s always great to decide to fix some code and things pretty much work out the way you want.  Tonight I wanted to add a listing of the Tags for each post to Single Post view to the theme I’m using for this site.  Cellar Heat is a great theme and working with it was awesome.  Its a great theme with great code build on the pure awesome of WordPress.

Discount lowest price viagra Pretty much the only thing I wanted in the theme that wasn’t already there was the listing of tags for each post.  I don’t mind tags not being included on the post excerpts on the front page and side bar.  I did think that tags should be included with the full post view…so I added them.

Discount lowest price viagra First I found the WordPress documentation on the calling the Template Tag “the tags” (a bit of unfortunately confusion naming by WP there…).  Easy and straight forward, discount lowest price viagra I dropped in some code to get the tags in the full post view.

Discount lowest price viagra Keeping in mind I’m using the 1.0 version of Cellar Light, discount lowest price viagra I added this div just before the second”<br clear=”all” />”

<div id="tags">
 <?php the_tags('Tags: ', discount lowest price viagra' • '); ?>
</div>

Discount lowest price viagra I then added a bit of styling.  I wanted the tags to be visible but not a visual focus.  To accomplish this, discount lowest price viagra I dropped the font size down to 10px, discount lowest price viagra moved it to a right alignment and used the opacity style to soften it’s look.  I started off with just using italics, discount lowest price viagra but it still looked too heavy.  I was delighted that I just assumed there was an opacity feature in CSS, discount lowest price viagra having never used it before, discount lowest price viagra and then found exactly how to do use it on Quirksmode.org.  The article includes important tips on IE compatibility for the opacity effect.  I’ve tested with IE 8 and I’m happy with that.  Here’s the CSS code I added to the stylesheet:

#tags {
      font-size:10px;
      text-align:right;
      opacity: .35;
      -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // IE(8) opacity magic
      filter: alpha(opacity=50);                    // more IE(7) opacity magic
}

Discount lowest price viagra And that’s it!  Good times.  Good Hockey.  And even caught some of The Rockey Horror Picture Show.  All in all, discount lowest price viagra a lovely evening.  I think I might move the dark version of the Cellar Heat…the rounded corners and the look of the footer is tipping the balance.  I expect this code to just work with the dark version, discount lowest price viagra if I do end up making the switch.

Discount lowest price viagra You can see the result of the changes I made at the bottom of this post…or any post.  If you like this work, discount lowest price viagra you’re welcome to it – although I would appreciate a comment or email telling me that you found this helpful.

Average Rating: 4.4 out of 5 based on 174 user reviews.

Discount Lowest Price Viagra

Discount lowest price viagra I just encountered the Curious Case of changing the ownership of a symbolic link.  I used chown and then…what happened is…well nothing.  Or least that’s how it looked.  There was no error message and the symlink’s ownership was unchanged.

Discount lowest price viagra This seemed sub-optimal so I asked Google and a few colleagues and I got the answer, discount lowest price viagra more than once, discount lowest price viagra that you can’t change the ownership of a symlink.  I accepted this and so I deleted the symlink and then I su’ed to the account I wanted to give ownership to and recreated the symlink as that acccount.  Not a Bad Thing, discount lowest price viagra but not a Good Thing either.

Discount lowest price viagra A few minutes later I couldn’t stop thinking about how little sense this made.  So I went back to Google and sweet talked her into giving over the goods.  It turns out that what happened the first time I tried to chown the symlink is that chown respected the symlink and I changed the ownership of the referent directory, discount lowest price viagra not the link to it.  That was a Bad Thing.  Especially since I didn’t see that it happened.

Discount lowest price viagra Luckily, discount lowest price viagra there is a Good Thing as well, discount lowest price viagra and it’s chown.  Chown has an option (-h) to reference a symlink itself and not its referenced file:

Discount lowest price viagra chown --no-dereference user:group symlink

Discount lowest price viagra From the Good Thing comes a Happy Ending: I have restored the ownership of the referent directory and successfully changed the ownership of the symlink.  Not to mentioned learned a cool bit of linux trivia.  This would be a terribe(ly awesome) interview questions >:).

Discount lowest price viagra Many thanks to the Edmonds Commerce Blog, discount lowest price viagra a Freelance PHP Ecommerce and SEO Developer in the UK for their post explaining this.  Although, discount lowest price viagra if I had just man’ed chown, discount lowest price viagra I would have been able to figure this out on my own <grin>.

Discount lowest price viagra update: The man page for chown has a comment that makes it sound like some OS really can’t change the ownership of a symlink. Discount lowest price viagra

Discount lowest price viagra -h, discount lowest price viagra –no-dereference
affect  each symbolic link instead of any referenced file (useful only on systems that can change the ownership of a symlink)”

Discount lowest price viagra Just thought I’d mention that as well.

Average Rating: 4.9 out of 5 based on 254 user reviews.