WordPress: Allow users to upload images by role without a plugin
If you allow guest blogging on your WordPress installation, or you want someone to act as a contributor to your site – by contributor I mean create post for review adding images and files at the same time – some WordPress roles have restriction on file uploads. The most obvious solution is to install a roles […]
WordPress Security tips: Avoid getting your site hacked
Here is a check list for your next WordPress installation to improve the changes of the site begin hacked. Change your database prefix “wp_” Don’t use the username “admin” Use a strong password 8+ characters symbols letters and numbers Change the wp_settings.php file permissions to 0644 Whenever possible move the wp_settings.php file one directory up. Install the Login LockDown […]
IOS: Adding icons to mobile-ready websites
When creating a new WordPress responsive themes or any mobile website for that matter, there is one thing you shouldn’t forget, that is to add mobile icons for the iOS devices. This is important for brand consistency and is better way for the user to distinguish the bookmark from other sites. Add the following code within the <header> tag. Notice that we […]
WordPress: Completely hide comments by content type
This code can be very useful if you are using a theme in your site that doesn’t have an option to completely remover comments from a post or page. The code will allow you to remove the comments by content type. Modify the code (array) to suit your needs. Like always add the code in […]