Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_dashboard_setup', 'custom_dashboard_widgets');
- function custom_dashboard_widgets(){
- wp_add_dashboard_widget('my_custom_widget_id', 'Ice Climbing Issue', 'my_custom_widget');
- wp_add_dashboard_widget('my_custom_widget_id_second', 'Issue #8', 'issue_8');
- wp_add_dashboard_widget('my_custom_widget_id_third', 'Issue #7', 'issue_7');
- wp_add_dashboard_widget('my_custom_widget_id_fourth', 'Issue #6', 'issue_6');
- wp_add_dashboard_widget('my_custom_widget_id_fifth', 'Issue #5', 'issue_5');
- wp_add_dashboard_widget('my_custom_widget_id_sixth', 'Issue #4', 'issue_4');
- wp_add_dashboard_widget('my_custom_widget_id_seventh', 'Issue #3', 'issue_3');
- wp_add_dashboard_widget('my_custom_widget_id_eight', 'Issue #2', 'issue_2');
- wp_add_dashboard_widget('my_custom_widget_id_nineth', 'Issue #1', 'issue_1');
- }
- function my_custom_widget() {
- echo '<p><a href="http://bit.ly/ice-issue-2012" target="_blank">Click here for Climberism Magazine Ice Climbing Issue</a></p>
- <p><a href="http://bit.ly/ice-issue-2012" target="_blank"></a><a href="http://bit.ly/ice-issue-2012" target="_blank">Click here for the iPhone and iPad version</a></p>
- <p><a href="http://bit.ly/ice-issue-2012" target="_blank"></a><a href="http://bit.ly/v4WS3O" target="_blank">PDF Version of Other Mobile Devices</a></p>
- <p><img src="../../wp-content/uploads/2011/12/cover-236x300.jpg" alt="" /></p>';
- }
- function issue_8() {
- echo '<p><a href="http://content.yudu.com/Library/A1u6ux/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F415888%2FClimberism-Magazine-Issue--8" target="_blank">Click here for Climberism Magazine Issue #8</a> </p>
- <p><a href="http://bit.ly/nHh0hY" target="_blank">Click here for the iPhone and iPad version</a></p>
- <p> </p>
- <p><img src="../../wp-content/uploads/2011/10/cover-231x300.jpg" alt="" width="231" height="300" /></p>';
- }
- function issue_7() {
- echo '<p><a href="http://content.yudu.com/Library/A1t78x/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F373051%2FClimberism-Magazine-Issue--7" target="_blank">Click here for Climberism Magazine Issue #7</a></p>
- <p><a href="http://bit.ly/issue-7" target="_blank">iPhone and iPad version</a></p>
- <p><a href="http://content.yudu.com/Library/A1t78x/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F373051%2FClimberism-Magazine-Issue--7">
- <p> </p>
- <img src="../../wp-content/uploads/2011/07/cover-smaller.jpg" alt="" width="231" height="300" /></a></p>';
- }
- function issue_6() {
- echo '<p><a href="http://content.yudu.com/Library/A1s582/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F330737%2FClimberism-Magazine-Issue--6" target="_blank">Click here for Climberism Magazine Issue #6</a></p>
- <p><a href="http://bit.ly/k0Jupx" target="_blank">iPhone and iPad version</a></p>
- <p><a href="http://content.yudu.com/Library/A1s582/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F330737%2FClimberism-Magazine-Issue--6" target="_blank">
- <p> </p>
- <img src="../../wp-content/uploads/2011/05/COVER-issue-6-231x300.jpg" alt="" width="231" height="300" /></a></p>';
- }
- function issue_5() {
- echo '<p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">Click here for Climberism Magazine issue #5</a></p>
- <p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">
- <p> </p>
- <img src="../../wp-content/uploads/2011/03/issue-5-cover-231x300.jpg" alt="" width="231" height="300" /></a></p>';
- }
- function issue_4() {
- echo '<p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">Click here for Climberism Magazine issue #4</a></p>
- <p><a href="http://content.yudu.com/Library/A1qoiq/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F274429%2FClimberism-Magazine-Issue--4">
- <img src="../../wp-content/uploads/2011/01/cover.jpg" alt="" width="231" height="300" /></a></p>
- <p><a href="../../category/issues/">For all other issues click here.</a></p>';
- }
- function issue_3() {
- echo '<p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">Click here for Climberism Magazine issue #4</a></p>
- <p><a href="http://content.yudu.com/Library/A1qoiq/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F274429%2FClimberism-Magazine-Issue--4">
- <img src="../../wp-content/uploads/2011/01/cover.jpg" alt="" width="231" height="300" /></a></p>
- <p><a href="../../category/issues/">For all other issues click here.</a></p>';
- }
- function issue_2() {
- echo '<p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">Click here for Climberism Magazine issue #4</a></p>
- <p><a href="http://content.yudu.com/Library/A1qoiq/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F274429%2FClimberism-Magazine-Issue--4">
- <img src="../../wp-content/uploads/2011/01/cover.jpg" alt="" width="231" height="300" /></a></p>
- <p><a href="../../category/issues/">For all other issues click here.</a></p>';
- }
- function issue_1() {
- echo '<p><a href="http://content.yudu.com/Library/A1rg2r/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F304005%2FClimberism-Magazine-Issue--5">Click here for Climberism Magazine issue #4</a></p>
- <p><a href="http://content.yudu.com/Library/A1qoiq/ClimberismMagazineIs/resources/index.htm?referrerUrl=http%3A%2F%2Fwww.yudu.com%2Fitem%2Fdetails%2F274429%2FClimberism-Magazine-Issue--4">
- <img src="../../wp-content/uploads/2011/01/cover.jpg" alt="" width="231" height="300" /></a></p>
- <p><a href="../../category/issues/">For all other issues click here.</a></p>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement