Looking for free PHP, ASP, HTML, JavaScript, or CSS code? Well, here you go. And feel free to make requests for additional code samples.
Web Design and Development


Looking for free PHP, ASP, HTML, JavaScript, or CSS code? Well, here you go. And feel free to make requests for additional code samples.
If you’ve ever wondered how to display both Next/Previous and Number links on your multi-page posts, here’s how. Roll up your sleeves and dig in your functions.php file for this quick tutorial on extending WordPress’ wp_link_pages function.
Read ArticleNot all areas of WordPress area easily themed via template files. The comment error page is a good example of one page that cannot be directly modified via template. In this article, we show you how to modify this page and set up a new theme file just for it.
Read ArticleWith .htaccess files, setting up 301 redirects is very simple. However, if your url has spaces, you might run into a problem. Read this article to see how to setup a 301 page redirect for a url that contains spaces.
Read ArticleJust about everyone who uses PHP has encountered the popular PHP mail() function which enables email to be sent from a server. Unfortunately, when using the mail() function, your emails are more likely to be marked as spam. Fortunately, there are some simple fixes that can help you avoid spam filters.
Read ArticleIf you are integrating WordPress into a preexisting site that already has its own homepage, or if you are developing a new WordPress website that is hidden behind a Coming Soon page, you will run into one frustrating problem. If you try to access the WordPress installation by visiting the index.php file, you won’t be able to see it. Here is a small code sample to turn off WordPress URL redirection.
Read ArticleThe popular Smarty Template Engine is full of great features, but is not the most intuitive system for developers to learn to use. And it doesn’t help that the documentation is a bit scanty. So here is the simplest and most complete tutorial you will find on writing a custom function for your Smarty templates.
Read ArticleIn the ideal scenario, what works on one browser will work on another. Unfortunately, this is never the case. In reality, all browsers have their own little bugs which cause them to behave differently. In this bug report, we highlight a little issue that popped up with Firefox 2.0 on Macs.
Read ArticleIn this brief 3 step tutorial, you’ll find out how to create a favorites icon for your website. We also list a few reasons why your website NEEDS to have one.
Read ArticleContact us today for a quote. Click here to submit details regarding your project.
If you are making a general inquiry, send an email to info@velvetblues.com