# codingfix > Fixes and tips, from a learner to learners ## Posts - [Assign a User Role per specific products.](https://codingfix.com/assign-a-user-role-per-specific-products/) - [Add a custom user role](https://codingfix.com/add-a-custom-user-role/) - [Register a custom taxonomy](https://codingfix.com/register-a-custom-taxonomy-2/) - [Limit the number of revisions (brutal)](https://codingfix.com/limit-the-number-of-revisions-brutal/) - [Redirect to checkout after add to cart](https://codingfix.com/redirect-to-checkout-after-add-to-cart/) - [Change “Add to Cartˮ text](https://codingfix.com/register-a-custom-taxonomy/) - [Custom Post Types](https://codingfix.com/custom-post-types-taxonomies/) - [Show current template file (on frontend)](https://codingfix.com/show-current-template-file-on-frontend/) - [Log things to debug-custom.log](https://codingfix.com/log-things-to-debug-custom-log/) - [Disable embeds (and save HTTP requests)](https://codingfix.com/disable-embeds-and-save-http-requests/) - [Remove junk from head](https://codingfix.com/remove-junk-from-head/) - [Disable XML-RPC](https://codingfix.com/disable-xml-rpc/) - [Change login error messages](https://codingfix.com/change-login-error-messages/) - [Disable file editing in dashboard](https://codingfix.com/disable-file-editing-in-dashboard/) - [Automatically add target="_blank" to external links](https://codingfix.com/automatically-add-target_blank-to-external-links/) - [Add 'nofollow' to external links](https://codingfix.com/add-nofollow-to-external-links/) - [Custom login logo](https://codingfix.com/custom-login-logo/) - [Remove WordPress version number](https://codingfix.com/remove-wordpress-version-number/) - [Force back-end language for all users](https://codingfix.com/force-back-end-language-for-all-users/) - [Limit the number of revisions per post type](https://codingfix.com/limit-the-number-of-revisions-per-post-type/) - [Disable emoji script (to improve performance)](https://codingfix.com/disable-emoji-script-to-improve-performance/) - [Add a class to the body if it is a child page](https://codingfix.com/add-a-class-to-the-body-if-it-is-a-child-page/) - [The child-pages in WordPress](https://codingfix.com/the-child-pages-in-wordpress/) - [Hide the admin bar for non-admins](https://codingfix.com/hide-the-admin-bar-for-non-admins/) - [3 easy methods to add custom CSS in WordPress](https://codingfix.com/3-methods-to-add-custom-css-in-wordpress/): Why would I need to add custom CSS in WordPress? In the vast landscape of WordPress, the ability to mold and shape the appearance of your website is a superpower every site owner should wield. While WordPress themes offer a plethora of customization options, sometimes you crave a touch of uniqueness that goes beyond the defaults. This is where the magic of custom CSS comes into play, allowing you to precisely tailor your site’s style. CSS is a great way to improve the look & feel of your web pages. They allow you to put more emphasis on some elements, […] - [Unlock Creative Freedom: learn 4 ways to add a custom CSS class in WordPress and do the magic!](https://codingfix.com/how-to-add-a-custom-css-class-in-wordpress/): Introduction: In the dynamic realm of WordPress design, the ability to customize elements with precision is a cornerstone for creating websites that captivate and engage. One powerful tool in the designer’s arsenal is the addition of custom css classes – a versatile feature that allows for fine-tuned styling of individual elements. Learning how to add a custom css class in WordPress can prove crucial when creating a website in WordPress. If you don’t know how to write custom CSS rules in WordPress you might want to read this article Custom classes play a pivotal role in dictating the look and […] - [Announcing Red Eyes Froggy Buttons plugin](https://codingfix.com/announcing-red-eyes-froggy-buttons-plugin/): With Red Eyes Froggy Buttons plugin you can easily add css3 hover effects to your buttons, links etc. It\’s up to you to set which elements will be affected by the plugin.The Settings page is divided into two main sections. The General section In the General section of the Settings page you can choose if In addition you can even exclude one or more classes Alternatively, you can just use shortcode and insert your button where you want. You can even put different shortcodes with different effects in the same page. The only limit is your taste. The Effect section […] - [Announcing Chat Everywhere plugin](https://codingfix.com/announcing-chat-everywhere-plugin/): Chat Everywhere allows you to make any element in your website be able to open a WhatsApp or a Telegram chat just adding a class to it. Using Chat Everywhere you will be able to build a rich contact page adding two popular chat apps to your contact options. There are already a few of great plugins which allows you to put a floating button in your website to allow your visitors to contact you through WhatsApp or Telegram and they offers a lot of customization, but sometimes it happened to me to find useful to use a simple, normal […] - [Announcing Language Switcher for Transposh plugin](https://codingfix.com/announcing-language-switcher-for-transposh-plugin/): As many other developers, when I discovered Transposh plugin I immediately fell in love with it! It allows automatic translations out of the box but it also gives you a granular control on the translated text, allowing you to edit every single phrase.Okay, you already know that so it’s not necessary for me to repeat here why we all love Transposh so much. But I have to confess something: I was not happy with the language switcher widget. I develop small websites and usually I need to use from 2 to 4 different languages. Building non-WordPress websites, I used to […] - [How to develop locally a Laravel app using Laragon](https://codingfix.com/how-to-develop-locally-a-laravel-app-using-laragon/): In this article I’ll show you how to develop locally a new Laravel app using Laragon.In the far 2017 I wrote an article about how to setup Laravel Homestead: the process is not as quick and easy as you can wish but following each step you can end up with a working development environment for Laravel. At that time, Laragon was already 2 years old but I never heard anything about it. And other 2 years should go by before I see the Laragon light.As you can read in Laragon repo, Laragon is a portable, isolated, fast & powerful universal […] - [How to use a custom language switcher with Transposh to build a multi-language Wordpress website](https://codingfix.com/how-to-use-a-custom-language-switcher-with-transposh-to-bulid-a-multi-language-wordpress-website/): In this article you’ll learn how to use a custom language switcher with Transposh to build a multi-language website with WordPress totally free. - [Installing phpDocumentor issues solved!](https://codingfix.com/installing-phpdocumentor-issues-solved/): Installing phpDocumentor should be easy. At least, I read here and there in the Internet, besides of course in the official website,  that you have many options to install it, one easier of the previous one! So I was absolutely confident that in a bunch of minutes I’d have been able to run phpDocumentor and create the documentation for my new Php class. Do you know? I was wrong. This is what happened. phpDocumentor.phar The first thing I tried it has been to use the .phar file. I know the first way they suggest is to use PEAR, but I […] - [Improving page speed: optimizing images](https://codingfix.com/improving-page-speed-optimizing-images/): Optimizing images for your web page images is a very important and strategically crucial task to improve the average page speed. Image size affects your page speed in several ways and we have to take care of different techniques to optimize page. Resize your images First, we have to take care about images’ size, that is their width and height. If you’re lazy, like I am ;), you’re likely to let css do the job for you: you just upload your image and then you write a bunch of css rules to resize it (or maybe you still even set […] - [Improving page speed: prioritizing content](https://codingfix.com/improving-page-speed-prioritizing-content/): Every web developer knows how important it is to optimize his websites’ performances to offer the best user experience to our visitors. And probably almost every web developer knows what Google PageSpeed Insights is and how many aspects of our website we have to monitor and adjust to get the maximum loading speed from our server. This is the first of a series of articles where I want to explain you in detail how to improve your page performance. In this first article we’ll see how to increase the page loading speed prioritizing content. When you test your web page […] - [Anatomy of a Cordova application navigation system (part IV): the secondary views](https://codingfix.com/anatomy-of-a-cordova-application-navigation-system-part-iv-the-secondary-views/): Secondary views, the subject of this fourth part of the article dedicated to a navigation system for a Cordova application, are not actually strictly related to the navigation system. I realized too late that secondary views would have deserved a new specific article for them only. But since in the first part of the article I had promised to tell you about them, well, I want to keep my promise. And after all, users must be able to navigate to secondary views as well, so, even if our top bar is not directly involved, we’ll see that our sidebar menu […] - [Anatomy of a Cordova application navigation system (part III): the side menu](https://codingfix.com/anatomy-of-a-cordova-application-navigation-system-side-menu/): Until now we have seen how to manage our views putting them within the Bootstrap carousel: this allows us, with the help of some plugin, to swipe our fingers to switch between views. Actually we have used a standard web image slider to build our app structure and get the swiping effect. In the second part of the article we have added a navigation top bar with some buttons in order to provide the user with an alternative way to switch between our views, which we’ve called main views. But, as we all already know, a mobile app has tons […] - [Reset Windows 10 to factory settings: my personal adventure with ASUS X541UV](https://codingfix.com/reset-windows-10-to-factory-settings-my-personal-recent-adventure-with-asus-x541uv/): In this small article I want totell you my little adventure trying to reset Windows 10 in my ASUS notebook X541UV to its factory settings. Perhaps this story be not interesting for anyone but me, but if someone among you have got into this issue trying to reset Windows to factory settings, this article might give him some help. At least I hope. A small backstory After having downloaded and installed the famous Fall Creator Update in my dual boot Asus X541UV, I have realized the new Windows version was eating too much of my RAM. In addition, I have […] - [Anatomy of a Cordova application navigation system (part II): the top navigation bar](https://codingfix.com/anatomy-of-a-cordova-application-navigation-system-the-top-navigation-bar/): In this second part of the tutorial about the navigation system in a Cordova mobile application we’ll se how to create a fixed top bar which will allow our users an alternative way to navigate between main views. First of all we have to install material icons by Google. They are great icons to use in a mobile app and we’ll use them to build our top bar. Open your CLI in your project directory and type the following command: npm install material-design-icons You can find some alternative ways to install material icons here. This command will create a new […] - [Anatomy of a Cordova application navigation system (part I): swiping gesture](https://codingfix.com/anatomy-of-a-cordova-application-navigation-system-swiping-gesture/): Hey there! Wellcome to this tutorial about how to build a reliable and effective navigation system for a Cordova mobile application. The little app we’re going to build won’t do anything: no form submission, no database browsing nor picture’s uploading nor sharing functions. Absolutely nothing: its pages will be just empty blank pages, with only a heading tag with the title, just to give us a basic feedback of what’s happening. What I want to focus on are the tecniques we can use to build an application which supports navigation through its views using gestures (tap and swipe) and hard […] - [Basic Cordova application setup](https://codingfix.com/basic-cordova-application-setup/): Wellcome to this intrductory tutorial about the basic Cordova application setup. You won’t find in this tutorial nothing really interesting. I just wrote it because here I describe the indispensable first steps to setup a new Cordova project in order to follow the various tutorials you can find in my blog. Instead to repeat the same things starting each new tutorial, I thought it was better to put everything in a single quick article and link it at the start of my articles for those who need it without boring more frequent readers with things they already know. Obviously, I […] - [How to save your database to Dropbox (and how to restore it) from within a Cordova application - Android only (part 3)](https://codingfix.com/save-database-to-dropbox-account-within-cordova-application-3/): In this third part of our tutorial article about how to save your database to Dropbox (here abbreviated to DBX, in uppercase) from within a Cordova mobile application for Android devices, we’ll concentrate on the specific steps needed to this can be useful if our user has uninstalled our application or if for some reason the local backup file has been lost or corrupted. Creating a Dropbox app The first thing we have to do is to create an app in the Dropbox dashboard in order to successfully login using Oauth2. A very good tutorial can be found here and […] - [How to save your database to Dropbox (and how to restore it) from within a Cordova application - Android only (part 2)](https://codingfix.com/save-database-to-dropbox-account-within-cordova-application-2/): Wellcome to the second part of my tutorial about how to save your database to Dropbox from within a Cordova mobile application. Here we’ll see how to manage backup and restore of a database using a helpful plugin: SQLite Porter by Dave Alden. The plugin is fantastic, it works great and let me share with you I’m proud indeed to have joined the contributors group fixing a small bug which prevented to successfully use exportDbToSql() and importDbFromSql(). SQLite Porter plugin SQLite Porter allow you to export and import a database using just a few lines of code. You can export […] - [How to save your database to Dropbox (and how to restore it) from within a Cordova application - Android only (part 1)](https://codingfix.com/save-database-to-dropbox-account-within-cordova-application-1/): Some time ago, I was developing a hybrid mobile application for Android using Cordova. In that application, I needed to save the whole local database built with WebSql to Dropbox. So I started to learn how to use Dropbox API, how to integrate it with Cordova, which plugins I had to install and I have also found a couple of tricks to get everything to work. So I now want to share what I did to get the job done. Important: Though this tutorial is focused on developing an app for Android, almost everything should work even for Ios. If […] - [Laravel: how to setup Homstead in Windows and Linux](https://codingfix.com/laravel-setup-homstead/): Introduction When I started to learn Laravel, I have choosen to use Homestead, the “pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine.” Actually, I already had Php installed on my machine, as well Apache server and MySql, but I thought it would have been a good opportunity to learn something new. Though the official documentation is quite complete, I needed some more help: I didn’t know anything about Vagrant, I didn’t use Composer, nor Git (I use Mercurial). So I […] - [Using Handlebars precompiled partial templates](https://codingfix.com/using-handlebars-percompiled-templates/): Handlebars Handlebars is a great piece of software which allows us to keep the frontend of our web application separated by the underlying logic. In fact, Handlebars is a logicless templating engine which compiles our templates on the fly and serves the resulting web page fullfilled with our data. And it’s terribly easy to learn it and to integrate inan existing project! If you don’t know Handlebars or if you want to know it better, please refers to the official documentation page. Compile or precompile, this is the question… Actually, is not a so difficult question to answer to: precompile […] - [Phreeze: how to get it set up and running](https://codingfix.com/phreeze-build-basic-crud-application/): Phreeze is an amazing application generator which allows to have an entire database management application built just in minutes. Sometime ago I was working for a customer who, for reasons I couldn’t know, didn’t want give me a full access to his hosting provide control panel. That’s was not a big issue: in fact I could do the most part of work just using an FTP client. But the database management was difficult having to always give sql dump files to my customer and then wait that he performed the queries against the database. I couldn’t even use a remote […] - [Sending an email using Ajax from CodeIgniter](https://codingfix.com/sending-email-using-ajax-codeigniter/): In this small article I’ll show use how to send an email from your CodeIgniter website without submitting a form and reloading the page, but using Ajax to call a controller method and get instantly the response in your page. Setting up CodeIgniter part. If you are reading this, I suppose you already know what CodeIgniter is and how it works (otherwise you can start to learn here). I assume also you have your own domain and a CodeIgniter application already installed. In this small tutorial we’re going to use a bunch of files: the controller Main the views start_view […] - [The simplest jQuery Accordion ever!](https://codingfix.com/simplest-jquery-accordion-ever/): Accordion: what’s that? Accordion, as we all know is an ancient musical instruments used to play folk music in some countries like Italy, Germany… Okay, I was joking, I like to play. Let’s restart. We all know what an accordion is: an amazing, comfortable way to display a lot of options (usually, menu items) in our html pages without cluttering them. Here’s what Wikipedia says: The graphical control element accordion is a vertically stacked list of items, such as labels or thumbnails. Each item can be “expanded” or “stretched” to reveal the content associated with that item. There can be […] ## Pages - [Terms and Conditions](https://codingfix.com/terms-and-conditions/) - [My account](https://codingfix.com/my-account/) - [Checkout](https://codingfix.com/checkout/) - [Cart](https://codingfix.com/cart/) - [WP SnipTips](https://codingfix.com/wp-sniptips/) - [Odds And Ends](https://codingfix.com/odds-and-ends/) - [Wordpress](https://codingfix.com/wordpress/) - [Cordova](https://codingfix.com/cordova/) - [Home](https://codingfix.com/) - [Install Multiple WordPress Plugins at Once: The Fastest Bulk Plugin Installer.](https://codingfix.com/bulk-install-wordpress-plugins/) - [Grazie](https://codingfix.com/grazie/): Grazie. Torna al quote builder - [Preventivo online](https://codingfix.com/preventivo-online/) - [Language Switcher for Transposh: just another WordPress plugin](https://codingfix.com/language-switcher-for-transposh-just-another-wordpress-plugin/) - [Chat Everywhere](https://codingfix.com/chat-everywhere/) - [Cookie Policy (EU)](https://codingfix.com/cookie-policy-eu/) - [Cookie Policy](https://codingfix.com/cookie-policy/): Cookie policy This Cookie Policy explains what cookies are and how we use them. You should read this policy to understand what cookies are, how we use them, the types of cookies we use i.e, the information we collect using cookies and how that information is used and how to control the cookie preferences. For further information on how we use, store and keep your personal data secure, see our Privacy Policy. You can at any time change or withdraw your consent from the Cookie Declaration on our website. Learn more about who we are, how you can contact us […] - [Privacy Policy](https://codingfix.com/privacy-policy/): Privacy Policy Effective date: August 20, 2017 Codingfix by Marco Gasi (“us”, “we”, or “our”) operates the http:\/.codingfix.com website (the “Service”). This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms […] - [Contacts](https://codingfix.com/contacts/) - [About me](https://codingfix.com/about-me/): Hey there! My name is Marco Gasi. Coding is fun! I love fighting everyday with new problems and find the better solution to go ahead with my projects. I love making my code to work. And I like to help other programmers (and especially the novices, who can be often embarassed in the tons of different answers they can find to the same question). So I have decided, besides actively participating in Q&A webistes as Experts-Exchange, to devote some my time to this my personal blog. Here I want to share with you what I daily learn from my experience, […] ## Products - [Pluginer Premium](https://codingfix.com/product/fast-install-of-plugin-lists-with-pluginer/): Create and manage multiple plugin lists, Selectively install only the plugins you want from a list, Generate lists based on the plugins currently active on your site. Take your WordPress workflow to the next level with Pluginer Premium! [comment]: # (Generated by Hostinger Tools Plugin)