Jan 10
By default, embedded YouTube videos are 425 pixels wide, which is wider than the content column on Choking on Popcorn. To be able to easily resize and add cool videos to that site I copy-pasted together a very basic plugin for WordPress. It allows you to simply use something like “["youtube ]xxxxxxxxx”["/youtube"]” to embed the video. The ‘xxxxxxxxx’ bit needs to be replaced with the actual video’s ID of course. I know there are tons of plugins that do similar things and are vastly superior, but this one suits my needs perfectly.
The output is valid XHTML, and you can adjust the display size by editing the plugin a bit. The entire thing is only a few lines so you’ll have no trouble finding the dimensions in the code. Simply use the options panel under Options -> Youtuber.
Feel free to download it and play around with it a bit. If you make improvements or can think of a cooler name for the plugin, please let me know.
Installation
- Download the zip file and unpack the file inside.
- Upload this file to the wp-content/plugins folder on your server.
- Activate it on WordPress’s ‘plugins’ tab.
To embed a video using the plugin, follow these steps:
- Find the video on YouTube.
- Extract the ID fromthe video page url. These look something like: http://youtube.com/watch?v=Krhl2o_uwdc. The bit I put in bold type is the ID.
- Type “["youtube "]“Krhl2o_uwdc”["/youtube"]“ anywhere in your post. Leave out the space in the first tag.
- Save and publish the post.
To change the display resolution for the videos:
- Go to Options -> Youtuber and type in the values that work for your blog.
Aug 22

I had to migrate my Wordpress blog to another host recently and was trying to find a way to do it. I found a few pages on this topic but some of it requires shell access. Others seemed to be using words from Planet Zurich or too simplified I did not know what to do. This guide is actually my documented work while migrating my own blog.
Aug 21

Ok, now that you’ve gone through this eBook, I can guarantee you that you know more than 99% of all webmaster’s online. You now know how to completely smoke your competitors in the search engine war and you’re virtually GUARANTEED success if you follow all of the advice taught in this course.
As I said in the beginning of this eBook, it is absolutely critical that you take this advice seriously and actually put into action EVERYTHING you’ve learned. Some of it may seem simple, and some might seem a bit complex, but just take everything 1 step at a time.
EVERTHING I’ve taught you works, and works extremely well, so now you have no excuses for
grabbing that top ranking for whatever keyword you choose! Don’t be that 99% of webmasters
that are too lazy to actually do anything with what they learn and get out there and start
dominating those search engines!
Aug 07

The goal of this title is to explain the basic steps of creating a WordPress theme. This book focuses on the development, creation, and enhancement of WordPress themes, and therefore does not cover general ‘how to’ information about WordPress and all its many features and capabilities. This title assumes you have some level of understanding and experience with the basics of the WordPress publishing platform.
The WordPress publishing platform has excellent online documentation, which can be found at http://codex.wordpress.org. This title does not try to replace or duplicate that documentation, but is intended as a companion to it.
My hope is to save you some time finding relevant information on how to create and modify themes in the extensive WordPress codex, help you understand how WordPress themes work, and show you how to design and build rich, in-depth WordPress themes yourself. Throughout the book, wherever applicable, I’ll point you to the relevant WordPress codex documentation along with many other useful online articles and sites.
I’ve attempted to create a realistic WordPress theme example that anyone can take the basic concepts from and apply to a standard blog, while at the same time, show how flexible WordPress and its theme capabilities are. I hope this book’s theme example shows that WordPress can be used to create unique websites that one wouldn’t think of as ‘just another blog’.
Recent Comments