Tips and tricks

WordPress: Where to modify maximum upload size for media

Make sure that in php.ini or .htaccess settings, you have this upload_max_filesize set If you have a WordPress network, go to Network Settings, and you will find this field you can also go to individual site settings, and try to find the relevant space setting
Best practices when setting up a wordpress site

Speed Use W3 Total Cache or Litespeed Optimise images – you can use squoosh Security Install a ssl certificate Make sure that wp-content/uploads -> directories inside have 0755 permissions, and files 0644 permissions SEO Install a SEO Plugin
Useful git commands

To have this happen automatically for branches without a trackingupstream, see ‘push.autoSetupRemote’ in ‘git help config’.
How to add a plugin to the WordPress repository

Install the svn via homebrew or from their website brew install svn Update the plugin cd /Users/raduh/Dropbox/hosts/devsite/wpenabledebug/svn2 svn co https://plugins.svn.wordpress.org/your-plugin/ cd your-plugin svn add trunk/* svn ci -m 'Adding first version of my plugin' svn cp trunk tags/2.0 svn ci -m "tagging version 2.0" useful tips: you can use to resolve conflicts svn update svn

Continue reading

Install npm packages globally on mac without sudo

For that we will follow these steps: 1. Create a directory for global packages 2. Tell npm where to store globally installed packages 3. Ensure npm will find installed binaries and man pages Add the following to your .bashrc / .zshrc: i. check config with: npm config get
Create a local dev Apache Mysql PHP Setup on Mac OS X - Add Virtual Hosts

How to create a local dev Apache Mysql PHP Setup on Mac OS X ‣ Digital Zoom Studio also, remember to allow vhost_alias_module You can add unlimited virtual hosts just like MAMP adds them. You can just access /private/etc/apache2/httpd.conf and add: <VirtualHost *:80> ServerName devsite DocumentRoot "/Users/123/Dropbox/hosts/devsite" Protocols h2 h2c http/1.1 <IfModule xsendfile_module> XSendFilePath "/Users/123/Dropbox/hosts/devsite"

Continue reading

{"type":"main_options","images_arr":"'#ffffff'","enable_ajax":"off","soundcloud_apikey":"","bg_isparallax":"off","bg_slideshow_time":"0","bg_transition":"slidedown","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","blur_ammount":"26","width_column":"50","width_section_bg":"","width_gap":"30","border_width":"0","border_color":"#ffffff","translate_cancel_comment":"Cancel reply","translate_leave_a_comment":"Leave a comment","translate_leave_a_comment_to":"Leave a comment to","is_customize_preview":"off","width_blur_margin":"30","gallery_w_thumbs_autoplay_videos":"off","content_enviroment_opacity":"30","menu_enviroment_opacity":"70","base_url":"https:\/\/digitalzoomstudio.net"}
{"type":"darkfull"}