Page 2 of 27

Command Line

Installing and using WordPress Coding Standards with auto fixer from command line on Windows

While coding for WordPress (themes or plugins), one of the most important things is the consistent coding standards. The WordPress core team published the WordPress Coding Standards quite a long time ago and if you are using PHPStorm, you can turn on its support for WordPress (not only coding standards but also hooks and many useful things). However, if you’re using another editor/IDE (Sublime Text for example), it’s hard to auto format the code to match WordPress rules. Is there a way to automatically fix all the PHP files and make them styled beautifully? This article shows you how to install and use a command line tool to check and fix coding standards for all PHP files. As I’m using Windows with XAMPP, the guide focuses on this environment.

Continue reading → Installing and using WordPress Coding Standards with auto fixer from command line on Windows

snippet

Script to update option on all sites in a WordPress multisite

I recently faced a situation where I want to change the footer text on all demos of my TheM theme. Each demo is a child site of a WordPress multisite network. I can do that easily by going to each site and update the theme option. The problem is if I need to update once more time or change another option, I need to repeat the procedure all over again. It takes a lot of time then. So I write this small snippet to update theme option on all child sites of a multisite network. You can use that to update post content or anything.

Continue reading → Script to update option on all sites in a WordPress multisite

Remove Malwares on Hacked WordPress Websites

How to protect your WordPress websites from malware infections

WordPress, being the backbone of millions of websites over the cyberspace, has changed the lives of many. Most of the people are migrating their websites to WordPress due to its simple handling and low cost of operations. But having your website on WordPress has some disadvantages too. The website gets prone to viruses or malware if you do not keep a proper check on the latest WordPress version and plugin updates. Here, we are discussing the causes of malware infections and the ways to protect your WordPress website from the viruses that can prove to be harmful to your website.

Continue reading → How to protect your WordPress websites from malware infections

eightydays-wordpress-travel-themes

26 best WordPress travel themes for travel blogs, travel magazines – New 2016 edition

There are hundreds of thousands WordPress themes on the Internet and finding a suitable theme for your specific purpose is a time-consuming task. So, I create this post to help you find what you need in a handpicked list of beautiful and good WordPress themes. You don’t have to look for in many websites and thus, you can spend more times with your family and friends. Today, I’m going to write about WordPress travel themes for travel blogs, a topic that many people are interested in, especially the travelers who want to share their feelings and experience about the places they visit, who they meet, what they eat, etc.. This is the list of best WordPress travel themes that I manually picked, so check them out!

Continue reading → 26 best WordPress travel themes for travel blogs, travel magazines – New 2016 edition

Felix - WordPress music theme

Introducing FELIX – Beautiful WordPress music theme

It’s been a month since we launched our blog theme and today I’m very happy to announce that my team FitWP has just launched a new beautiful WordPress music theme – FELIX. FELIX took us several months to develop. Most of the time was developing features for a music / band website such as manage artists, albums, or playlist. We’ve learnt a lot from our most popular theme NOISE and applied them into FELIX.

Continue reading → Introducing FELIX – Beautiful WordPress music theme

Keyboard

Top productive keyboard shortcuts for PHPStorm

I’ve been a fan of PHPStorm for several years. Before PHPStorm, I tried many IDEs and editors, including some very popular names like NetBeans, Eclipse or Sublime Text 3 but I chose with PHPStorm for the number of features and support for WordPress. It gets better and better over time. If you’re a Sublime Text user, you might argue that Sublime Text is more lightweight and more productive because of its keyboard shortcuts. I can agree with the “lightweight” term, but not the other. PHPStorm has a very nice list of productive keyboard shortcuts as you can see below.

Continue reading → Top productive keyboard shortcuts for PHPStorm