Tag: Code

  • Spelling WordPress Always Correctly

    Sometimes it happens that you have misspelled WordPress in your article because you were in a rush. Since WordPress is a registered trademark, it should be natural to write WordPress the correct way. As Lorelle mentioned on her blog, Matt wrote a script, which forces WordPress into WordPress across all of the 5 million plus…

  • WordPress – Return URL

    I already talked in my article Determine Path To Plugin and Content Directories about the possibilities how to keep functions in themes or Plugins free from error if you rename a folder, for example wp-content. Since version 2.6 you can also solve this problem pretty easy with another function.

  • Determine Path To Plugin and Content Directories

    If you like to write a Plugin and you want to keep it downward compatible, then check beforehand the constants, because since WordPress version 2.6 you can rename the folder wp-content and this will also change the path to the Plugin folder. Just a few lines of code are enough and you can work with…