[ Tag Archive ]
31 Open Source Web Development Scripts
When it comes to Web development, there is a wealth of free information online to help you create a top-notch Web site. A lot of hard work goes in to maintaining these resources, all to help save you time and money. The Open Source community is growing stronger everyday and the scripts are getting more useful and efficient, making it almost impossible to not use a few of them in your project.
Retrieve and Display Images from a WordPress Post
I have already mentioned a few ways to do this but I have discovered a few problems with my old code. I have improved this one quite a bit so I felt that I should just delete my old suggestions and offer you the best technique I have discovered.
Removing Images from a WordPress Post: Redux
I just discovered some issues with this code so I fiddled around and discovered a better way to code it.
Here is a better version to use.
<?php
$content = get_the_content();
$postOutput = preg_replace('/<img[^>]+./','', $content);
echo $postOutput;
?>
Using Bloginfo to Build a Custom Theme for WordPress
When you build a custom theme in WordPress that you would eventually like to share with the WordPress community, you can’t hard code certain elements like the blog’s name or images links. I know most coders use things like <a href="../link.php"> or <a href="images/pic.jpg"> but those might not work properly if your WordPress install is not in the root directory or if you are on a category page.
Embed High Def Video from YouTube
If you have a video blog or post videos on your blog, you have most likely embedded something off of YouTube. Last year, YouTube bumped up the quality of the videos but when you embed a video on your site, it still references the low quality version instead of the available higher quality video. Now, you need to realize that most of the videos on YouTube are still of the lower quality persuasion but newer videos will always have a higher quality version available.





