.

Allow wordpress to upload any mime type

modify your wp-config.php file and add the following line:

define('ALLOW_UNFILTERED_UPLOADS', true);

You can also edit you wp-includes/functions.php file as follow:

define('ALLOW_UNFILTERED_UPLOADS', true);
function get_allowed_mime_types() {
        static $mimes = false;

        if ( !$mimes ) {
                // Accepted MIME types are set here as PCRE unless provided.
                $mimes = apply_filters( 'upload_mimes', array(
                'jpg|jpeg|jpe' => 'image/jpeg',
                'gif' => 'image/gif',
                'png' => 'image/png',
                'bmp' => 'image/bmp',
                'tif|tiff' => 'image/tiff',
                'ico' => 'image/x-icon',
                'asf|asx|wax|wmv|wmx' => 'video/asf',
                'avi' => 'video/avi',

Nice dynamic menu (wordpress)

#menu {
    background: #222; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#252525, #0a0a0a);
    background: -o-linear-gradient(#252525, #0a0a0a);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
    background: -webkit-linear-gradient(#252525, #0a0a0a);
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    clear: both;
    display: block;
    float: left;
    margin: 0 auto 6px;
    width: 100%;
}
#menu ul {
    font-size: 13px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
}
#menu li {
    float: left;
    position: relative;
}
#menu a {
    color: #eee;
    display: block;
    line-height: 3.333em;
    padding: 0 1.2125em;
    text-decoration: none;
}
#menu ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    top: 3.333em;
    left: 0;
    width: 188px;
    z-index: 99999;
}
#menu ul ul ul {
    left: 100%;
    top: 0;
}
#menu ul ul a {
    background: #f9f9f9;
    border-bottom: 1px dotted #ddd;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px 10px;
    width: 168px;
}
#menu li:hover > a,
#menu ul ul :hover > a,
#menu a:focus {
    background: #efefef;
}
#menu li:hover > a,
#menu a:focus {
    background: #f9f9f9; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    color: #373737;
}
#menu ul li:hover > ul {
    display: block;
}
#menu .current_page_item > a,
#menu .current_page_ancestor > a {
    font-weight: bold;
}

 

 

<div class="menu_wrapper">
    <div id="menu">
        <ul class="ddsmoothmenu">
            <li class="page_item page-item-167"><a href="http://127.0.0.1:4001/wordpress/">Home</a></li>
            <li class="page_item page-item-2"><a href="http://127.0.0.1:4001/wordpress/services/">
                Services</a></li>
            <li class="page_item page-item-156"><a href="http://127.0.0.1:4001/wordpress/portfolio-3/">
                Portfolio</a></li>
            <li class="page_item page-item-20"><a href="http://127.0.0.1:4001/wordpress/support/">
                Support</a></li>
            <li class="page_item page-item-24"><a href="http://127.0.0.1:4001/wordpress/contact-us/">
                Contact Us</a>
                <ul class='children'>
                    <li class="page_item page-item-28"><a href="http://127.0.0.1:4001/wordpress/contact-us/our-location/">
                        Our Location</a></li>
                    <li class="page_item page-item-79"><a href="http://127.0.0.1:4001/wordpress/contact-us/articles/">
                        Competition</a></li>
                </ul>
            </li>
            <li class="page_item page-item-26 current_page_ancestor current_page_parent"><a href="http://127.0.0.1:4001/wordpress/news/">
                News</a>
                <ul class='children'>
                    <li class="page_item page-item-13"><a href="http://127.0.0.1:4001/wordpress/news/our-company/">
                        Our Company</a></li>
                    <li class="page_item page-item-15"><a href="http://127.0.0.1:4001/wordpress/news/our-staff/">
                        Our Staff</a>
                        <ul class='children'>
                            <li class="page_item page-item-30"><a href="http://127.0.0.1:4001/wordpress/news/our-staff/employment-opportunities/">
                                Employment Opportunities</a></li>
                        </ul>
                    </li>
                    <li class="page_item page-item-111 current_page_item"><a href="http://127.0.0.1:4001/wordpress/news/archives/">
                        Archives</a></li>
                </ul>
            </li>
        </ul>
    </div>
</div>

Fatal error: Call to undefined function on line 15

SIMPLE SOLUTION

At the end of the day, it was as simple as adding these 2 lines…

define('WP_SITEURL', 'http://blog.bitlinkit.com/');
define('WP_HOME', 'http://blog.bitlinkit.com/');

…into my wp-config.php file