So you have been working on your new WordPress theme and all of the sudden either all or some of your scripts and/or styles that normally appear in the <head> element start appear below the <body> element. A very frustrating, yet often common, issue that can occur with WordPress. In this WordPress Tutorial post we are going to review two reasons this can occur and how to resolve them. File Encoding The most common reason this occurs is for some unknown reason when you saved the file you were working on the encoding type changed. Your files should be saved a UTF8-without-BOM. In most cases your files should normally be saved this way, but if you make a change or copy a file from another location it could lead to a change in the encoding. Not to fret, this is a simple fix. To resolve the issue simply open the file in Notepad, or the text editor of your choice, go to Save As and change the encoding to UTF8-without-BOM. You may just see an option for UTF8 and … [Read more...] about WordPress Tutorial: Scripts and Styles Appear within Body Tag not Header
wordpress tutorial
WordPress Tutorial: How to create a custom WordPress search form
Building a custom WordPress template can be a daunting task. I should know, I am currently working on building out the theme you see on this blog with the features and styles I want. At the same time I am also working to make the blog search engine friendly while maintaining the integrity of the underlying code. So with so many themes available why develop one myself? The answer to this is two-fold. First, I wanted to do it and at the same time improve my skills with developing using the WordPress code base. More importantly though, many of the themes out there are packed with features and bloated code that I just don't need for this simple blog. Simply put, I wanted a theme that was effective without all the hassle of a thousand different options and plugins to install. Side Note:Improve your site performance and receive phenomenal support at the same time. For discounted hosting services visit Bluehost.com. Developing a custom theme can present many challenges. One of these … [Read more...] about WordPress Tutorial: How to create a custom WordPress search form