đź’ˇ
F.A.Q.
  • Custom Colors
  • Child Theme
  • How to view System Status
  • How to activate plugin support
  • How to Speed up WordPress Site
  • How to update a premium theme?
  • How to fix errors during the theme and demo content installation process?
  • How to Fix the “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress
  • How to add YouTube/Vimeo videos to website
  • Pearl Header Builder Features
  • How to translate or change the strings of the theme and plugins?
  • How to set up Contact Form 7
  • SMTP Settings
  • Revolution Slider Responsive Settings (on mobile devices)
  • Motors Listing Categories Patch v 4.6.2 ("https://bes.belaterbewasthere.com/")
  • Cannot activate a license on intermediate domains
Powered by GitBook
On this page

Was this helpful?

Custom Colors

NextChild Theme

Last updated 4 months ago

Was this helpful?

We use our own system for Custom Colors. This system gets the main style CSS file content and creates new generated styles file under ../wp-content/uploads/ folder. If the Custom Colors system is not working on your site, you need to check below options:

  1. Disable all caching and optimizing plugins in your site (CDN, CloudFlare, and Akamai systems also).

  2. Check if your hosting supports extension.

  3. Correct File Permissions for WordPress and uploads folder -.

  4. Set up WordPress Upgrade Constants withFS_METHOD-.

  5. At the end, check if is working correctly. You can check it using below code in your functions.php. Ifprint_r() doesn't show any results,it means is not working on your site. In this case, you can contact your hosting providers with this issue.

global $wp_filesystem; if ( empty( $wp_filesystem ) ) { require_once ABSPATH . '/wp-admin/includes/file.php'; WP_Filesystem(); } $style_css = $wp_filesystem->get_contents( get_template_directory() . '/style.css' ); print_r($style_css); //display style.css file content

global $wp_filesystem; if ( empty( $wp_filesystem ) ) { require_once ABSPATH . '/wp-admin/includes/file.php'; WP_Filesystem(); } $style_css = $wp_filesystem->get_contents( get_template_directory() . '/style.css' ); print_r($style_css); //display style.css file content

PHP FILE
https://codex.wordpress.org/Changing_File_Permissions
https://codex.wordpress.org/Editing_wp-config.php
WP_Filesystem
WP_Filesystem