How to remove, block, filter google analytics spam

Learn more about what it is: http://www.optimizesmart.com/geek-guide-removing-referrer-spam-google-analytics/   Instruction on how to set up the filter. https://support.google.com/analytics/answer/1034823?hl=en...

Creating a custom template page for theEventsCalendar display

So I needed to integrate the way theEventsCalendar plugin was display the events with my template. Because the plugin works independently, meaning the plugin has its own way of displaying data or in this case events I could not leverage on the template’s inbuilt page builder. Instead I have to manually build the page. So First step was to create a separate template for this purpose. Again I could not leverage on the single purpose page method because it is not a typical page it is the plugins own page. So I just duplicated the default page.php template and gave it a unique name [SOURCE] [SOURCE2] I named it theEventsCalendar custom 001  and file name is  theEventsCalendar_custom_001.php Looked at the output that I wanted from other normal pages that was built by the template builder. Copy the generated HTML and paste it in the correct location. For me it is where the title was so i disabled the title and paste my html codes.    ...
Increasing WordPress upload limit in digitalocean

Increasing WordPress upload limit in digitalocean

Server : Ubuntu WordPress on 14.04 –  automatic wordpress install by digitalocean ACTIVITY Was exporting posts from old site and importing into new site, few things I learned: WordPress exports in xml format images link are included So when you import on the new site it will automatically download the images with url provided in the xml export PROBLEM There was a memory limit in uploading it was just 8mb but my file was 8.7mb. SOLUTION So solution was to increase the limit. [1] Login to your digitalocean server, if you dont know how easiest way is to access the webconsole by digitalocean Vim ../etc/php5/apache2/php/ini to find your php.ini refer here.[3] (VIM cheatsheet) 1. Try adding this line to your wp-config.php file: define('WP_MEMORY_LIMIT', '64M'); 2. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 64M: memory_limit = 64M ; Maximum amount of memory a script may consume (64MB) post_max_size = 64M; upload_max_file_size = 64M; 3. If you don't have access to PHP.ini try adding this to an .htaccess file: php_value memory_limit 64M 12345678910111213  1. Try adding this line to your wp-config.php file:define('WP_MEMORY_LIMIT', '64M'); 2. If you have access to your PHP.ini file, change the line in PHP.iniIf your line shows 32M try 64M:memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)post_max_size = 64M;upload_max_file_size = 64M; 3. If you don't have access to PHP.ini try adding this to an .htaccess file:php_value memory_limit 64M  Remember to restart the apache server sudo service apache2 restart REFERENCE [1] https://wordpress.org/support/topic/importing-blog-larger-than-8mb-from-wordpresscom-to-wordpressorg [2] https://www.digitalocean.com/community/questions/php-memory-limit-wordpress-xml-rpc-and-large-files [3] http://stackoverflow.com/questions/8684609/dude-wheres-my-php-ini/24342463#24342463...
Checking if your website is down for you and from other countries

Checking if your website is down for you and from other countries

So recently I had a problem with a website not working from another country but it worked fine for me. So I started a few routine checks. First try to see if its down just for you or also a US server “: Is it up or just me” : http://www.isup.me/ Net you can try a proxy : https://hide.me/en/proxy to see if your ip was blocked   Last you can try this online ping that allows one to check ping from many multiple other countries.: https://cloudmonitor.ca.com/en/ping.php Now if you want to consistently making sure your site works for all other countries as well you can use pingdom....