This is how i set my content directory in wp-config.php
// ========================
// Custom Content Directory
// ========================
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/somedir' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/somedir' );
Related Posts:
- Custom theme folder
- How to run WordPress from other location on the same domain
- FTP + Unable to locate WordPress content directory (wp-content)
- Theme folder doesnt exist
- Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?
- Woocommerce single product image blurred and small. Actual image is big
- How to change WordPress theme outside of admin? Can’t access dashboard
- How to change background color in the Notepad++ text editor?
- What are all the available parameters for query_posts?
- How do I change the header image height in Twenty Seventeen?
- Is it OK to remove theme credits from footer? [duplicate]
- How to create a new theme from scratch?
- What theme is good for posting code? [closed]
- Difference between stylesheet_directory and template_directory
- How to see files in directories in “Edit Themes” screen
- WordPress generating 404 on .mp4 file in theme folder
- Why are my widgets not saving when being added to a sidebar?
- Building useful features into your theme
- How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?
- How can I check for malware in a Theme? [closed]
- Editing theme files and access to the Code pages only to super-admin?
- Edit theme wp_head
- Current theme broken – after server and domain migration
- Enqueue different stylesheets using IE conditionals
- Categories for Pages Not Saving in Admin with Custom Categories Metabox?
- Switch Theme Through Options Panel
- Why do Trackbacks/Pingbacks not appear below my posts/pages?
- Extra themes – ok or bad?
- WordPress AJAX in header.php
- Theme Customizer – How to create a sub panel
- Setting a static home page and blog page without using the settings
- Can’t Install Child Theme “The parent theme is missing. Please install the “Default” parent theme.”
- Use a different template/theme if mobile only on home page
- Can i have a single wordpress site to have two themes ( one for pc other for mobiles)
- Translated my theme (translation not showing up)
- How to use get_page_by_title() with qTranslate?
- Changing $before_widget for certain widgets
- wp theme.. Could not create directory
- Multi-level page hierarchy
- How to conditionally display widgetized areas in theme customizer?
- How prevent someone from opening my theme directory
- loss of theme options while site deployment in production
- How to install WordPress theme and configure it? [closed]
- How do I get rid of or change the footer in my child theme?
- How can I make some themes usable only by admins?
- Categories gone after changing theme / demos [closed]
- Angular integration with homepage
- WordPress site periodically goes down
- Own Theme Customizer displays error message when saving, saving still works
- 1 Database for multiple WordPress themes
- Page has a parent and $post->post_parent returns 0
- How to create different navigation for registered users in WooThemes Canvas?
- Selected template is not respected for home page in WordPress
- WordPress without a theme – help!
- How to restore file or theme?
- A /proc folder in wp-content?
- how do i in ignore/disable/delete a javascript call from parent in child theme?
- How to install themes with the demo content?
- Jetpack CSS .screen-reader-text breaks mobile menu [closed]
- Error when using ‘continue reading’
- How to update theme to specific version
- Child theme’s stylesheet cannot load [closed]
- can’t see aditional themes in control panel
- Configure new installed WordPress in live server
- What’s the default order used by WordPress to load CSS files?
- Where does WordPress get the theme name from to check for updates?
- Hi everybody, I have a problem of search box
- Changing an image in header.php
- Updating WordPress Theme Files
- Display Pointer only once?
- Multiple sub directories for theme template pages
- How to get the theme directory URI?
- From where wp ecommerce is loading plugin theme files?
- Making first post wider than other posts on home page(default)
- My blog suddenly can’t find my stylesheet?
- Twenty Ten Theme: Replace the Logo by a picture without moving the code
- How to fix Scrape key check failed on WordPress VPS?
- How to use my .mo file in the Divi child theme instead of file in a parent /builder directory?
- How to fix Gutenberg with SiteOrigin page builder deleting content when editing
- TwentyFourteen Theme : Changing grid layout
- Edit a template while still keeping a Landing Page on the main address
- How to allow users to switch to the child theme from front end without plugin?
- Change whole theme depending on resolution
- post_prev & post_next within same category
- Costum Theme template directoy url problem
- How to remove the option data of a theme when that theme is removed?
- How to find out which template the HTML content comes from?
- What is the general cut-off date for reviewed themes in the WordPress.org repository?
- Convert theme to be based on Bootstrap?
- Include root files into header files
- Commenting in CSS (//) equals “none”? [closed]
- Static posts page is not working
- Cannot use some themes within Managed WordPress of Go Daddy [closed]
- How to track your theme usage on the internet?
- How to add Company Logo to Chosen Theme
- What security risk is not having “default” theme?
- Help with Divi logo not appearing for 10s
- How to clone a theme template from within WordPress? [closed]
- Disabling Full Site Editor (FSE)
- get_post_meta() doesn’t allow email