how to add a page

The code you have pasted has errors – the get_header() is fine but then you have HTML code in PHP code areas. Also you have included the header twice. Check this code out http://pastebin.com/mH2tn3Qw The header code should be placed in header.php if you are using the get_header() call

Admin new order email customization

You can change the contents of all emails by overriding the templates from your (child) theme. Read the documentation on Template Structure for more information on where all the files are located and how you can override them. For example, say you would like to override the admin order notification, copy: the templates/emails/admin-new-order.php file from … Read more

Explode Array from Repeatable Custom Field

This is more of a PHP question than a WordPress question. Try to replace $temp = explode( “|”, $am ); with $temp = explode( “|”, $am[0] ); since $am is an array. You should also consider using isset() to check if the array items exists. Here is one idea: <?php $affman = get_post_meta( $post->ID, ‘affiliatemanager’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)