
Lloyd Budd
WordPress Digital Entomologist, WordPress.com VIP Hosting Services Lead, Open Source and Free Culture Participant
Tag Archives: wp-content
wp-content in Code is a Tell for Common WordPress Coding Mistakes
Regularly while reviewing themes and plugins, I’ll see URLs or paths that include ‘wp-content’. This is a often a hint of a WordPress coding mistake. Consider this simple example: <link rel=”stylesheet” href=”http://example.com/wp-content/themes/default/style-ie.css” type=”text/css” media=”screen” /> If as part of a … Continue reading
Posted in WordPress
Tagged Absolution Paths, ABSPATH, bloginfo(), Duane Storey, get_stylesheet_directory(), get_stylesheet_directory_uri(), get_stylesheet_uri(), Mark Jaquith, php, Plugin Development, Relative Paths, STYLESHEETPATH, TEMPLATEPATH, URLs, Will Norris, WordPress, WordPress Plugin Checker, WordPress Theme Development, WordPress.com, wp-content, WP_CONTENT_DIR
1 Comment