Melriks - melriks.com
General Information:
Latest News:
WordPress – 10 Things to Make WordPress a Better CMS 11 Aug 2013 | 06:56 pm
These ten items will make working with WordPress easier and better for you and your clients. Add the Slug to your Pages View When you have a lot of pages, it's convenient to show the slug of the page ...
WordPress – Pages in Pages 11 Aug 2013 | 04:53 am
To include a page in a page, use this php code on your template. <?php $include = get_pages('include=120'); $content = apply_filters('the_content',$include[0]->post_content); echo $content; ?> WordPre...
Magento – Default Settings 8 Aug 2013 | 04:26 am
There are many options you'll want to change before launching your store, but the default settings aren't always in the configuration section. Use these tips to modify Magento's default settings. Chan...
Prestashop – Creating a Multistore 5 Aug 2013 | 12:51 am
One of the new features in Prestashop 1.5 was the option to create a multistore or multi-shop set-up where you could share products among eStores. Awesome. Magento has had this ability for some time s...
Joomla – Useful Template Snippets 29 Jul 2013 | 07:23 pm
Add unique id to the body tag <?php $menu = &JSite::getMenu(); $active = $menu->getActive(); ?> <body id="<?php print $active->alias; ?>"> Joomla Forums The post Joomla – Useful Template Snippets app...
htaccess – Useful Code Snippets 25 Jul 2013 | 06:14 pm
Turn PHP on for HTML Documents #Turn php on for html documents #AddType application/x-httpd-php .htm #AddType application/x-httpd-php .html AddHandler application/x-httpd-php5 .html .htm The post hta...
JQuery – Useful Plug-ins and Code Snippets 25 Jul 2013 | 05:58 pm
Hello World There's nothing more frustrating than wondering if your code is working. Worry no more. Add in a quick hello world to verify that Jquery is loading. Yes, there are fancier ways to code in ...
Adding Customers to Constant Contact 23 Jul 2013 | 10:45 pm
Constant Contact is one of the many email services available to you. If you've been collecting email addresses, you may be wondering how to transfer them to Constant Contact. The geniuses at Constan...
WordPress – Essential Function Additions 16 Jun 2013 | 12:04 am
If you are using WordPress as a CMS, here are some essential additions to your theme's functions.php file. Create shortcode to theme directory /** * Get stylesheet directory for images * Add [path] to...
WordPress – Template Snippets 15 Jun 2013 | 07:52 pm
Here are a handy collection of php snippets to use on your WordPress templates or Genesis hooks. Copyright Date © Name of Company Add IE Only Style Sheet Add this to your Genesis Simple Hooks wp_hea...