I saw this posted on Facebook and felt so compelled to share it, here it is.

Just another WordPress site

I saw this posted on Facebook and felt so compelled to share it, here it is.


Robert recently posted on Google+ about his photowalk with the Lytro camera. It’s amazing to finally see true innovation taking place in digital cameras.

I was asked by Kurt Daradics to photograph the event, and you surely can’t turn down the request from KurtyD.
So here they are, the photos from DFR 2011
[Read more...]

Google’s AdSense product has offered a number of ways to design and customize ad units and styles over the years. Starting with strict HTML embeds of the colors and formats, then moving to a Google-hosted ad unit — allowing you to manage an unit on google.com/adsense.
Google is stepping up the game and allowing publishers to more effectively create ad units that will hopefully convert better — for both publishers and Google.

The ad unit customizer allows you to choose a contrast type, and then customize the colors based on the contrast.

WebdesignLedger.com has some further reading on The Principle of Contrast in Web Design.

WordPress 3.3 is coming soon and I couldn’t be anymore excited for it.
Here are a few of the key highlights:
Here is what the new Media Uploader looks like.

Overall, I’m very impressed with what the WordPress team has put out and they are on-track for continuing to build the best open-source blogging and CMS platform available.
What do you love most about WordPress?


Today, something very big happened. Steve Jobs, CEO of Apple, resigned. He has an amazing 35-year career and made some of the most innovative things of today’s world. Tim Cook has been named the now-acting CEO.
I openly admit that I used to be anti-Apple, but in 2007 that all changed. I was given the opportunity to use my first Mac and my life was changed forever. I am now an iPhone-carrying, Macbook Pro using, Macbook Air owning, Apple fanboy.
So much of what I use today has been hand crafted by this man and the world owes so much to him.
Thank you Steve, you’ve been a true example to all of us on how to innovate.

Over the past five years, I’ve used a number of different bug tracking and project management systems for various projects. Bugzilla, Mantis, Trac, Redmine, and now JIRA.
Bugzilla was complex to initially setup and felt a bit clunky while using it, so we didn’t use it for very long. We tried Mantis and it just didn’t have the chops to get it done [for our needs.] Trac is a great application. It’s great for bug tracking, but not that great for project management. It leaves a lot to be desired from a project management point of view. Redmine is also a great application, but again, lacking in the project management side of things.
(pronounced JEEra or jee-rah)
JIRA, by Atlassian, is an amazing application.
Product planning for the future should be part of any company that has a roadmap beyond their current project. As a Product Manager, I’m constantly coming up with ideas and often, they don’t fit into the current sprint of development (in an agile development environment). So where do those ideas go? Create them as tickets and plan them into future product releases.

A release could be next month or next year, it doesn’t matter — it just matters that you’re able to get the ideas down and then plan them later on.
After using the previous bug tracking applications I listed, one thing I noticed about all of them (except JIRA), is that they are very static. Very black and white when it comes to the user interface. One thing that JIRA does a really good job of is not forcing you to refresh the page on every action. While this may seem like a small feature, having an AJAX-like interface, it provides a much more fluid experience when using the application.
One thing I would really like to see JIRA include in future releases is a better way to plan roadmaps for future sprints by theme. For example, if we’re working on the “Maps” project in August and then “Mobile” in September. Right now, there’s no way to really plan by theme, but hopefully they will add that in the near future.
Overall, having used JIRA for the past six months, I’ve been very happy with it. That’s not to say it’s the perfect solution, it certainly has some features which are lacking that I need. But to date, JIRA has solved many problems which other applications couldn’t.
But what about you? What do you use for project management and/or bug tracking? And what have you found to be useful in terms of features?

It’s obvious that Google wants to succeed with Google+.
There are still a number of features that it needs to add before it can be mainstream like Facebook is with its 500M+ userbase, but it’s getting closer.
Today, Google+ engineer Brett, announced the release of re-ordering circles so they appear in the order you want them in.
This is a great way of Google showing that it’s listening to user feedback and acting quickly to make features available.
In case Google+ is listening to this post, here’s a list of other Google+ Features I’d like ![]()

Chris Brogan broaches the topic of how “WORLDLY” Google+ is. The ability to tap into so many people around the world at any given second of the day.
And as I’ve been posting on Google+, the social network is much more than an update like Twitter is; you can easily have a full conversation with other people. While you can do that on Facebook, I feel Google+ is doing a better job of it.
Here’s what Chris had to say and look at how quickly so many people responded.


Firefox just updated itself to 5.0.1 and it came with a new feature. App Tabs.
I like them so far. Since I usually have 10-20 tabs open at any given time, this will help create a more minimalistic interface for me to use.
What are App Tabs?
App Tabs allow you to always keep your favorite web apps like Facebook, Gmail and Twitter open and just a click away. App Tabs are small, can’t be closed accidentally and open automatically when you start Firefox. This article goes over the features of App Tabs and will show you how use them.

You can read more about it on the FAQ.

Google+ is awesome. But it’s not perfect. This is Google’s first real take at creating their own social network to compete with Facebook and Twitter. Let’s be honest, MySpace isn’t much competition these days.
Over the past week, I’ve been seeing things that Google should do to be a better platform.
Circles should update faster. When I first joined, it took 3-4 days to update…I’ll give them some slack that it was probably just a bug
Overall, Google has done an amazing job on a product they can be proud of. Plenty of room to grow, but they’ve come a really long way in such a short time.

Google+ is actually pretty awesome. I got my invite just a few days ago and so far, it’s great.

What’s so great about it?
It’s clean. Even cleaner than Facebook.
Let’s rewind back to 2004. Facebook was “TheFacebook.com” and the site required you to be at a college that it had registered on the site. The school I was attending, Azusa Pacific University, finally got added to the site. I was ecstatic. I joined immediately and was probably one of the first 500,000 people on the site (there are now over 750M users on Facebook.)
MySpace was also in the race for becoming the social network of choice. MySpace sold out to News Corp and Facebook held tight on the reigns.
Facebook won my attention because it was cleaner than MySpace. You could customize all the pages on MySpace and that drove me absolutely nuts. Add Friend and every button click was somewhere different on every page — I hated this.
Facebook, it was always in the same spot, every page, everywhere. This, I did love.
Facebook today still holds this true. While a photo can be longer or wider, a link is going to be where I’m expecting it to be.
Welcome Google+ to the stage.
Google is taking social networking to the next level.
Twitter-like “lists” as Circles and “fixing” the privacy problems that Facebook has, Google+ is taking the best of both worlds and pushing them into a single experience.
The first problem I have with Google+ is that I’ve invested 7+ years into Facebook. I feel…”stuck” on Facebook. My entire social graph is there. I have over 900 friends on Facebook.
A large number of my friends are not tech-savvy folks, so they probably won’t care enough to fully switch from Facebook to Google+. That’s the battle that Google is facing right now: “How do we get everyone people to switch over and delete their Facebook account?”
Ideally, Google wants people to delete their Facebook account and switch to Google+, and I admire that goal (presumption on my part.)
As one of my friends [who works for Google], puts it:
I’ll be deleting this facebook account soon and moving to Google+. Let me know if you want an invite.
There’s one. Now just 749,999,999 to go.
The feature that I really love the most about Google+ is the ability to put friends into Circles. I then have the ability to share an update just to a particular Circle. You can..sort of do this with Facebook, but it’s really difficult to manage a List on Facebook. Google+ made it easy to manage circles, +1 for Google on that.
Comments are so much cleaner than Facebook. The crispness in the design and layout is so much better. You can also edit a comment after the fact, where in Facebook you must delete the update and recreate it. +1 for Google on that.
You aren’t forced to be mutual friends with someone. I can add someone to a circle of mine, but it doesn’t have to be mutual. Kudos to Google for creating this Twitter-like environment. That way I don’t have to share all my information to people I don’t necessarily know, but they want my public updates.
The list just keeps going about what I love more about Google+ than Facebook.
I’m just a few days into using Google+ and so far, I’m absolutely in love with it.
I’m not deleting my Facebook account [yet], but maybe one day I will.
Until next time, find me on Google Plus.

The next generation of WordPress has been released into the wild.

Here are a few highlights:
One thing that was really focused on for this release, is speed. As you begin to use the interface more and more, you’ll notice how much faster the interface really is.
But one feature in particular that I’m very interested in, is the new Streams functionality. There is a much-needed upgrade to how updates and installs are handled for plugins and the overall WordPress installation.
PHP4 support was also dropped, in addition to making MySQL 5.0.15 a minimum requirement. This is a huge step to drop PHP4 support and can only help make the code better (not having to support legacy functions.)
Overall, I’m very pleased with this release and am eagerly looking forward to the next release of WordPress.
Click here for full details on WordPress 3.2

Google has tried time and time again to get into the social networking space. They have failed, until now .. maybe.
Google+ launched yesterday. This is Google’s first real attempt at competing with both Twitter and Facebook. So far, people have been positive to the clean layout and they are enjoying not having 500 invites to Farmville in their inbox.
I’m still waiting for my invite to get in.

Here are some related stories.

Yet another reason why I’m ready to leave California.
Besides the expensive living, high sales tax, and high income tax, this is just one more thing to add to the list.
I’m not looking forward to this new tax and it gives me just one more reason to move out of California.
Governor Brown of California has announced he has secured enough votes to pass his budget, including the Affiliate Nexus Tax and 2 related nexus bills: AB 153, AB 155 and SB 234. The law will go into effect immediately upon signing, and he must sign before July 1st, 2011. – PMA

Here is a very interesting video of Steve Jobs talking about the plans for a new Apple Headquarters in Cupertino, CA.
A few of the features of the building include underground parking, online power plant, planting new orchards, and converting 20% landscape on the land into 80% landscape.
The building is set to be completed and ready for move in by 2015.

Today is IPv6 Day. Today is the first of a number of test days for converting the world over to IPv6.
Why IPv6?
Whenever you type a URL such as Google.com into your browser, that address is converted into a series of machine-readable numbers called an Internet Protocol (IP) address. IP addresses (IPv4) currently look like something like this: 70.42.185.10 (one of Google’s many IP addresses).
The problem is the IPv4 address space will run out later this year, which could cause limited functionality and other problems later on down the road. To solve this problem, the Internet has to move to IPv6, which has an address space that is four billion times bigger than IPv4. Long form IPv6 addresses look like this: 2620:0000:0e50:0002:0000:0000:0000:0001.
You can test your connection to see if you’re IPv6 ready.


Apple’s WWDC was held yesterday. A lot of great announcements. iOS 5, OS X Lion, iCloud, and plenty of other facts came out of the event.
Here are just a few of the interesting things that came out of the event.
So much more was announced, but these are just a few of the things I found relevant to my day to day activities.
What do you think of all the announcements? Let me know in the comments.


I ran into this issue while trying to get the page’s top level parent, no matter who deep the child page was.
Here is the example structure: Parent -> Child -> GrandChild.
And here is the code which lets you get at the Parent name or ID, when you’re on either Child or GrandChild.
You could throw this into your functions.php file if you want to use it in your theme:
function get_top_level_parent_title() {
global $post;
if ( empty($post->post_parent) )
{ the_title(); }
else {
$ancestors = get_post_ancestors($post->ID);
end($ancestors);
echo get_the_title($ancestors[0]);
}
}First use the global $post; to properly get the post data for the current page you’re on.
Secondly, ensure you’re on a page that is not the parent, which is:
if ( empty($post->post_parent))
Thirdly, run through the code after you know you’re on a Child or GrandChild page, using get_post_ancestors(). This function works like a charm. It returns all the pages above it. The function will then return an array, even if it’s just one value, that has the top level parent as the last value.
So then use end() to grab the last value in the array, which is the top level parent.
You’ll then have the ID of the top level parent and if you want to grab the title, use the code above and grab value of the (first and only) item in the array, using [0].
Questions or feedback, leave ‘em in the comments ![]()

I am a long time Windows users. Starting out with DOS, then moving to Windows 95, to Windows 98, to Windows 2000, to Windows XP, to now running Windows 7.
Windows 7, I admit, is awesome. I skipped Vista because of all the nightmares I heard about and experienced with it, while using it. I’m glad I did skip it. Windows 7 got right, what Microsoft missed in Windows Vista.
I’m not normally one to promote the Windows operating system, but Microsoft is finally getting it.
Below is a “first look” at what Microsoft is code naming “Windows 8.”
Click here to watch the video

Facebook has the “Like” button and Twitter has the “Tweet” button, Google felt left out and has now launched their “+1” button.
Here’s a video of what it looks like. You can test it out on the left hand side of this post, I’ve already added it.

It all makes sense now!
When Microsoft acquired Skype, the whole industry was responding with a “huh? why?”
But it makes sense. Microsoft didn’t really want to spend the time to develop really good video chat software and they needed a way to expand their existing market share of “messenger” users, going beyond MSN Messenger.
Skype is that “expansion.”
[Read more...]


Google Chrome is an awesome browser. It’s extremely light-weight, easy to use, and doesn’t get in your way. Great security features, such as sandboxing each tab, and a bunch of other great features.
To give you some context into my daily browsing habits, here is the list of extensions I currently have installed and activated.
You may notice a trend of SEO among my extensions, and you would be right. I certainly love SEO and everything revolving around SEO, so SEO extensions for Chrome are very important to me.
You can also read my Firefox Extensions Roundup, where I discussed the extensions I use in Firefox.

You just have to watch this video (and click the link at the end.) Dreamworks and YouTube put together an amazing promotion for the upcoming video.


WordPress 3.2 Beta 1 is out in the wild, so I decided to download svn trunk and see what it’s all about.
First glace, the admin interface is very different — but a good different.
The are new links in the admin bar, which I like. And from what I can tell, the default theme’s font type was changed. It’s actually using the Twenty Eleven theme now, instead of Twenty Ten (for obvious reasons.)
Here are the main items mentioned as part of this next major release:
- Performance improvements like you wouldn’t believe. What’s that mean? Things are faster!
- Distraction-free Writing. The visual editor’s full-screen composing experience has gotten a major overhaul, and is now available from HTML mode, too. More than ever, WordPress allows you to focus on what matters most — your content.
- Admin UI Refresh. The last major redesign of the WordPress admin was in 2008. This isn’t a major redesign, just a little facelift to keep us feeling young. WordPress turns 8 later this month, you know.
- New Default Theme. Introducing Twenty Eleven, based on the popular Duster theme. Rotating header images, post format support, and more.
- Browse Happy. WordPress is made to work with modern browsers. If you visit your Dashboard using an outdated web browser, we’ll let you know there’s a newer version available.
- Admin Bar. We’ve added more links to the admin bar to make it even more useful.
Faster? We all like faster ![]()
One thing that’s really been bugging me lately is the speed of the interface, so it’s really good to see the core devs are paying more attention to that.
Now I just wish they would fix all the deprecated functions that still exist in the interface. If you turn on WP_DEBUG, you’ll see what I’m talking about. Looks like they’ve even cleaned up all the deprecated function usage in previous builds of WordPress
Awesome!
Click here to download the beta.
But all in all, I’m pleased with this next release and will upgrade as soon as it’s available.

An interesting post on Mashable this morning brings up the rumor that Google may begin leasing Chrome laptops, including hardware and online services, for $20/mo; being geared towards students.

Something to think about, is that, to run Chrome OS (or Google services), all you really need is some low-key hardware, a [fast] Internet connection, and some memory.
Everything would be operated, stored, and done, in the cloud.
Google Docs, Google Maps, Google Voice, Google GMail, and all the other services that Google offers, is pretty much all summed up into what others call GDrive.
We already know that Google designs its own servers, so it’s not out of the question to consider Google building their own laptops too, specifically targeted at having Google Chrome as the operating system.
UPDATE: Forbes has confirmation from a Google executive that the rumors are true.
UPDATE #2: Something I didn’t realize is that these laptops have Wi-Fi and 3G built into them. The 3G service is set to work with the Verizon network. Here is an excerpt from the Chrome OS website:
Integrated Wi-Fi for home and work, and 3G for all the places in between. 100MB of free 3G data every month* on the Verizon Wireless network. Affordable data plans with no commitment required.
Which means, Google is serious about having an always-connected machine and allowing users to always be connected, no matter where you are.
It’s a little weird that they have this specification on the Chrome OS website, rather than a laptop page – but hey, they’re doing it for a reason.
Update #3: Official Google post about it.

I’ve been a FileZilla user for a few years. I switched over to FileZilla away from Fugu and Cyberduck for reasons I can’t recall.
FileZilla has served it’s purpose, despite it’s bi-monthly updates (that get quite annoying.) It’s a simple app, you can connect via FTP, FTP over SSH, and then a few SSL options. I mainly use it for SFTP (FTP over SSH) because it’s more secure than FTP. If you know anything about Internet security, you’ll know FTP isn’t exactly the safest thing in the world.
Welcome to my life, Cyberduck.
Cyberduck has some killer features which might come in handy for me.
It offers browsing Amazon S3 (over HTTPS), browsing of Google Storage (maybe it will eventually be termed GDrive, RackSpace Cloud Files, and eventually I would love if it offered MaxCDN/NetDNA browsing functionality (even though I use pull, not push, for my CDN.)

Overall, it has an easy to use, “explorer” type interface, and is also just a simple app to use.

If you’re looking for a new FTP app, check out Cyberduck.


It was announced last night that Microsoft is set to acquire Skype for $8.5B.
Hold the phones. Really? $8.5 BILLION DOLLARS?
Just six years ago, eBay bought Skype for a measly $2.6B. Now eBay sells off that division for more than three times what they paid for it, just six years later?
That’s insane. Why on earth is Microsoft willing to pay $8.5B for a service that will probably never generate $8.5B in sales, let alone even $1B in sales.
What is Microsoft’s play here? To expand their messaging market base beyond MSN Messenger? Maybe integrate the service somehow into Live.com err Bing.. err I don’t know what they call them now, accounts? Maybe even into Xbox live?
Whatever Microsoft does have in store for Skype, they were willing to pay a pretty penny for it, topping Google’s bid of $4B.
And according to Wired Magazine, this is Microsoft’s largest acquisition ever, followed by the acquisition of aQuantive for $6B back in 2007.

And in other news…Amazon’s EC2 service went down today.

Who was impacted? Quora, Reddit, and Foursquare, just to name a few big players.
According to EC2′s service health, they are still experiencing issues.
For kicks, let’s include the website is down video again ![]()
Just two days ago, Media Temple went down. It’s been a bad week for the web.

(mt) nameservers are currently down. Our Twitter feed & phone lines are both jammed, so please bear with us as we work to communicate. ^SCless than a minute ago via CoTweet
Favorite
Retweet
Reply
mediatemple
mediatemple
A very sad day in MediaTemple’s history today. I don’t personally host with them, but I know of quite a few folks who do.
Reminds me of this classic video.

Gmail announced the always-secure feature last year, and now Facebook has finally got around to adding it as well.
This account feature will allow users to use https whenever possible, making it a more secure experience.

You can access this feature by going Account » Account Settings » Browse Facebook on a secure connection (https) whenever possible
The Firefox extension Firesheep, has brought to light many concerns about security on social networks such as Twitter. It’s great to see Facebook being proactive about making the experience more secure.

There’s one major reason I love Verizon FiOS. It’s fast. Really fast.

I can get speeds up to 2.8mb/s and that’s simply blazing fast.
The TV service we also get is really good. We don’t use the phone line we get through the triple-play package, but the Internet for me is the most important.
We have the 15mbit/5mbit package and it gets the job done, and more. We’ve had the 25mbit/25mbit package, but it was just “too much” for us. We simply didn’t use the 25mbit upload, so I didn’t think it was worth the additional charges.
At the end of the day, I’ve been extremely happy with my service and their customer support has been superb too.
I would definitely recommend Verizon FiOS service to my friends.

I’ve been trying out Apple’s iTunes Ping social network, and for the most part..it’s alright. Nothing special beyond the ability to follow your favorite artists and stay up to date with what they’re doing.
It’s generally a bad experience because of how sluggish iTunes is (both Mac and Windows). That said, I don’t use it very much. If it were on a website instead, I would probably use it more often.
But here’s a bummer. You can’t like tracks that aren’t listed in the iTunes store.
This can both good…and bad. iTunes has a lot of songs for sale, but it doesn’t have all of them.
Last.fm let’s you favorite any track, no matter what, which is awesome. iTunes Ping, not so much.
Looks like I’ll be going back to Last.fm for fav’ing the best tracks I listen to.


I’ve been thinking about it, and I’d like to start tracking which Firefox extensions I have installed. I may do some other lists, but I want to start putting out content that shows valuable extensions which I use. [Read more...]

A PRD (Product Requirements Document) is the most critical stage of a product. It’s where conception, ideas, and features get shaped and formed. You should always remember that a PRD is ever-changing and evolving, but the initial phase is always the most important one.
Get ideas down on paper; actually, get more ideas than you really need.
It is far better to have too many details in a PRD, then not enough.
In this instance, I’m going to describe how I took a PRD, wrote it, shaped it, and detailed out use-cases extensively to create a thorough PRD.
First, set the objective of the PRD. Describe what you want the product to do. Do not dig too deep into how you want it to function, but more about how you want the end-result to function. Be brief, again, not too deep.
Second, dive into the user interface requirements. What kind of options does the user have? How will they be navigating the product? Is it a dropdown or a radio button? What is the flow of how you want the user to interact? This is very important because this is going to begin the structure of how you want the service to work. Talk about specifics, be very specific; be descriptive.
Third, talk about administration or moderation. How are the administrators going to interact? Will your company be the only administrators or will you allow end-users to have a master account and control their own userbase within. Talk about reporting, archiving, how you want the delete button to work, or how you want a specific function to translate on the page. Do not talk about design yet. Design is not part of the PRD. This document is purely for the requirements of the product, not the design of it.
Fourth, talk about use-cases. Talk about a specific scenario where you can see a user coming to the product, interacting, how the administrator would interact – whether it’s real-time or not, and give a detailed outline for what the experience would feel like. Remember, I said feel, not look (keep design out of this still).
Lastly, include a wireframe or two..or three, or however many you want. A wireframe of what you envision being the layout for the product. Maybe it’s just boxes arranged in a simple manner. But include a wireframe, to give a general idea of what you envisioned. Note, this is still not design, design will be in a later document and a completely separate process.
After you’ve followed these steps, you will have your first version of your PRD.
The next step now is to go through it and read it. Hash it out, talk about it, and really think through the words and ideas you put on paper.
This is a simple step by step guide, a real brief top-overview, of how to write a PRD.

There is still much to be desired within WordPress when it comes to dealing with parent and children pages. The core code is there, and it’s usable, but there’s not a lot “out of the box” to play with.
We’ve developed a bit of code to help make your life a little easier.
Adding the code below to your functions.php file will let you remove the other children pages while on the parent page.
add_filter('wp_list_pages_excludes', 'remove_others_children');
function remove_others_children($excludes = array()) {
$all_pages = get_pages();
$all_children = (array) get_page_children(true, $all_pages);
foreach ( $all_children as $child )
$excludes[] = $child->ID;
if ( ! is_page() )
return $excludes;
global $post;
$this_heirarchy = (array) $post->ancestors;
$this_children = (array) get_page_children($post->ID, $all_pages);
foreach ( $this_heirarchy as $ancestor )
$this_children = array_merge($this_children, (array) get_page_children($ancestor, $all_pages));
foreach ($this_children as $child)
$this_heirarchy[] = $child->ID;
return array_diff($excludes, $this_heirarchy);
}Here are some examples of what it would like without the code, then with the code.

A huge thanks goes out to Matt Martz for working with us on helping get this code ready.

This tutorial will guide you step by step on how to setup your server so you can install new plugins and upgrade existing plugins using an SSH2 layer in PHP and WordPress.
What is WordPress?
WordPress started in 2003 with a single bit of code to enhance the typography of everyday writing and with fewer users than you can count on your fingers and toes. Since then it has grown to be the largest self-hosted blogging tool in the world, used on hundreds of thousands of sites and seen by tens of millions of people every day.
What is SSH[2]?
SSH (Secure Shell) is a protocol allowing a secure channel to be established between a web server and a client’s local machine. Many web hosting companies now offer SSH for greater security.
[Read more...]

What is Openx
OpenX is, in my opinion, the most efficient and hands-free open source ad server on the web today. It’s flexible, easy to use, and best of all, free.
What is WordPress
WordPress is one of the leading platforms in blogging on the web today. Whether you are self-hosted (using wordpress.org) or being hosted on Automattic servers (using wordpress.com), WordPress is an amazing blogging platform which makes blogging easy and fun.
This OpenX and WordPress tutorial will outline how to more effectively use the targeting features of OpenX utilizing the built-in features of WordPress. It will explain how to do this by using WordPress tags and OpenX source parameters, both built-in features to WordPress and OpenX, respectively.
OpenX Solution Used: Hosted OpenX (http://hosted.openx.org/)
WordPress Version: 2.6.2
For this tutorial, I will be using tags are the “source” for OpenX.
<?php
while ( have_posts() ) : the_post();
$fsm_oxtags = get_the_tags();
if ($fsm_oxtags) { foreach ($fsm_oxtags as $tag) {
$taglist .= $tag->name . '|';
}
$taglist = rtrim($taglist, '|');
$oxtags = rawurlencode($taglist);
}
endwhile;
?>I have these in the top of my single.php file within WordPress. This only creates the variable of $oxtags so it can be echo’d elsewhere.
Details of Step 1: The first bit of code will create the loop. then it will go through each tag and set it as “tag |” because I am using pipes to separate each tag for OpenX. Next, it will trim off the last pipe because it’s not needed, creating something like… “tag 1|tag 2|tag 3|tag 4″ … and like I just mentioned, it will strip off the last pipe. Lastly, it will put that string, “tag 1|tag 2|tag 3|tag 4″ … into a raw encoded URL string which we will be able to echo later in the page. Note: this is only being set at $oxtags so it can be used elsewhere, nothing is echo’d in this part of the script.
[Read more...]
Just a guy that loves the web and everything that interacts with it. Mobile, video, Location-based Services, and more. [Read More …]