DigitalOcean : The uploaded file exceeds the upload_max_filesize directive in php.ini.

February 6, 2019| mbox|

While Uploading Themes or Plugins in DigitalOcean Droplet, You might get this kind of notice/ issue. To solve this you need change the value of “upload_max_filesize” directive in your php.ini file. So where is php.ini file?? I follow your link and I fix it! Thanks because It work for me. Here is my way: using terminal (cmd) and connect to your server via ssh code type cd \ to go root folder type sudo nano /etc/php5/apache2/php.ini add after php.ini file upload_max_filesize = 32M post_max_size = 32M => save your php.ini file type : sudo service apache2 restart After the instruction – go to your WP-admin and Bingo 🙂      

DigitalOcean : Apache WrodPress Could not remove the old Plugin / Themes Issues

January 26, 2019| mbox|

I tried to update the themes and plugins in latest WorddPress 5.0 Gutenberg in DigitalOcean  with Linux 18.XX with Apache . Before I install new plugin and Themes I tried to delete them. But WordPress was unable to processed. I researched and found that its ownership issue. The solve / fix this issue you need to perform following command in your command shell ( putty for Windows 10 in my case ).   chown -Rf www-data.www-data /var/www/html/ chown -Rf www-data.www-data /var/www/example.com/public_html If that doesn’t work, alternatively you can try this command: chown -R apache:apache /var/www/example.com/public_html Replace “/var/www/example.com/public_html” with the path to where you actually have installed WordPress.

Easily Add styles to Gutenberg Block Editor !!!

September 4, 2018| mbox|

A WordPress theme can add stylesheet to change the Gutenberg editor’s appearance. Generally changes done in the visual aspects of the editor like colors, font family and background etc. So that it will look exactly similar to the front of the website. Firstly you need to create a new stylesheet file in your current WordPress theme location. Let us consider the filename to be style-editor.css. Next, load your newly created Gutenberg editor sytlesheet in your WordPress theme by adding following three lines of code.   /** * Enqueue Gutenberg block editor style */ function lightpress_gutenberg_editor_styles() { wp_enqueue_style( ‘lightpress-block-editor-styles’, get_theme_file_uri( ‘/style-editor.css’ ), false, ‘1.0’, ‘all’ ); } add_action( ‘enqueue_block_editor_assets’, ‘lightpress_gutenberg_editor_styles’ ); Lastly change “lightpress” namespace with your own theme name. Thanks

Gutenberg Demo in Action

August 24, 2018| mbox|

Gutenberg is WordPress new Editor plugin that will be integrated into the core WordPress in version 5.0. Project Gutenberg is the most revolutionary change in WordPress core in coming future. Try Gutenberg Demo Want to play with Gutenberg without installing it? Check out Frontenberg, a limited front-end demo of the WordPress Gutenberg editor. VIP Gutenberg Test