In order to continue, you need to have experience with making Wordpress themes.
Implementing NewHaze features on a Wordpress theme is extremely easy. You can use our custom template tags. They are as follows:
Displays an advert on the page.
| Parameter | Description | Default |
| width | The width of the advert to display. | 728 |
| height | The height of the advert to display. | 90 |
| echo | Should the function echo or return the response? (true for echo, false for return) | true |
<?php nh_advert($width,$height,$echo);?>
Displays a ratings and comments widget on the page. Must be placed within the loop.
We recommend either using nh_comments OR the Wordpress comments system. We don't recommend using both.
| Parameter | Description | Default |
| width | The width of the advert to display. | 728 |
| numposts | The number of posts to display. | 5 |
| echo | Should the function echo or return the response? (true for echo, false for return) | true |
<?php nh_comments($width,$numposts,$echo);?>
<?php nh_comments(500,10,true);?>
Displays a favorite button widget on the page. Must be placed within the loop.
| Parameter | Description | Default |
| button_style | The type of button to display. | rounded |
| echo | Should the function echo or return the response? (true for echo, false for return) | true |
<?php nh_favorite($button_style,$echo);?>
<?php nh_comments('square-square',true);?>
You can also use your own code!
You may have noticed our use of get_post_meta() in the above template tags. You can find out more about this function and others by visiting the Wordpress Codex.
If you are using get_post_meta(), you can load the following meta tags added by NewHaze to each post:
Some Wordpress functions you might also find useful are:
© 2012 NewHaze Icons by Pixel Mixer Help