Quick Tip: MAMP Pro – Apache Failed to Start on OS X Yosemite FIX

For those of you who run a local server using MAMP or MAMP Pro to develop WordPress themes or plugins, or just have a local version of your site to test before making any changes on a live environment (which I highly recommend), after installing OS X Yosemite, the application might throw an error stating that it failed to start Apache.

Thers is an easy fix for that. Just go to your Applications -> MAMP -> bin -> apache2 -> bin folder, find envvars file and rename it to _envvars.

You can now start MAMP and there should be no issues starting Apache.

Why should you run a local web server if you are not a developer? You just don't wanna mess with your live site by testing out new themes, styles or plugins. The installation of a local server is simple and you can have a clone of your site locally so you can make sure that any changes you make will not have a negative impact on your website. Don't know how to do it and need a tutorial for this? Just let me know in the comments section below and I'll prepare one for you.

Cheers!

Drag & Drop WordPress Theme based on Startup Famework

wordpress drag and drop startup framework theme

The guys over at designmodo created a very intuitive WordPress Theme build on top of their very successful Startup Framework. The theme is calles Startup Framework for WordPress and lets you easily build a 100% custom page layout via a front-end drag and drop interface and also edit the block contents (text, images, icons, slides, etc) from a front-end inline editor.

Check out the theme here.

Here are some of the theme features:

  • Front-end drag and drop interface builder.
  • Front-end inline content editor.
  • Unlimited customization options
  • Hundreds of custom built page sections for Header, Content, Footer, Pricing Tables, Project Pages, etc

WordPress Distributed Denial of Service Attack (DDoS) Security Plugin

You may have heard about the WordPress security issue found out by the guys from Sucuri team. If not, long story short, over 162,000 WordPress sites were used for Distributed Denial of Service Attack (DDoS) trough a security whole. The WordPress team knows about the problem but it is not expected to be solved as it’s a default feature of WordPress, they state. WPshed.com is one of the sites that have been hit. You can check out if your site is being used to attack others here.

I wanted to address this issue immediately so I updated WP Sanitize, a security plugin I wrote a long time ago but still using it today. You just need to install and activate the plugin and amongst other security patches and daily database cleanup, the current DDoS problem is solved as well.

Click here to download the plugin.

Please note that the above link will be updated. Why?

This plugin is part of the assets I've sold together with VibeThemes.com so at this point they are the official owners of the plugin. I've sent them an email with the update for the DDoS security patch and I'm sure they will update the official WordPress repository where the plugin is hosted. Until then, I highly recommend you to update your version to this one or install the plugin if you don't have it installed yet.

Speaking of VibeThemes.com, I know for a fact that they are like me, beside the site design, very interested in speed and security which as you can see, it is a very important factor for your website success. Check out their themes here.

Note to ones I manage their websites. Because you are awesome and chosen wisely, your websites are already protected from this DDoS security whole so you don't have to do anything ;)

Control Each Post in the WordPress Loop

wordpress loopThe Loop is PHP code used by WordPress to display posts. It is how the loop is described in the WordPress Codex. Any HTML or PHP code in the Loop will be processed on each post, it is also stated in the same page. But is this 100% true? Do all posts need to look the same or have the exact same elements in the loop? No it doesn't. And in fact, any custom HTML or PHP can be rendered individually in the loop quite simple.

But why would you want to do this? Let's say you want to display an advertisement (an Adsense Ad for example) only after the third post in the loop. Or, you want to have a custom featured image for the first post, a different image size for the second and third post and, another image size for the rest of the posts. This is what I did in this WordPress theme. Of course, each type of posts have custom HTML IDs and different CSS styling. [Read more...]

WestHosts. Suspended Account For NO Reason!

westhost account suspendedI host most of my websites at Hostgator, even though many people are saying that Hostgator is not what it used to be. I even posted a tutorial on how to install WordPress multisite on Hostgator and is one of my most appreciated post. However, lately, I did experienced some problems with them regarding the page page load time. I did contacted the support (which was outstanding until now) and they suggested me to disable some plugins. I know for a fact that those WordPress plugins are not causing the problem and they are not the reason for the 1500-1600 average millisecond response time on the server. On the other hand I decided to focus more on WPshed.com. [Read more...]