Remove www in url For SEO reasons, you might always remove (or use) the www prefix in your urls. The following snippet will remove the www from your website url and redirect any url with the www to the non-www version. RewriteEngine On RewriteCond … [Continue reading]
WordPress Cheat Sheets
<?php the_content() ?> ..... Displays the content of the post/page <?php the_excerpt() ?> ..... Displays the excerpt of the current post/page <?php the_time() ?> ..... Displays the time of the current post/page <?php … [Continue reading]
WooCommerce – Fix Accept Terms position
If you want to display the “accept terms and conditions” on the left side you can use following code: #payment .terms { text-align: left !important; } If you want to increase the font size, adjust the font weight, etc. use: #payment .terms { … [Continue reading]
Create Invoices using Genesis, Gravity

Article wroted by Ron Ventura at engagewp.com All the code snippets bellow are to be used in functions.php Things you’ll need for this tutorial include a Gravity Forms Developer license (includes the payment gateway add-ons needed to accept p … [Continue reading]
Change EDITORS rights
Allow editors to edit MENUS: // get the the role object $role_object = get_role( 'editor' ); // add $cap capability to this role object $role_object->add_cap( 'edit_theme_options' ); Also, if you want to give access to a certain … [Continue reading]