-
Notifications
You must be signed in to change notification settings - Fork 15
/
page-home-landing.php
executable file
·99 lines (83 loc) · 3.91 KB
/
page-home-landing.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
/**
* The template for displaying the Code Reference landing page.
*
* Template Name: Home
*
* @package wporg-developer
*/
get_header(); ?>
<div id="primary" class="content-area">
<div class="home-landing">
<div class="handbook-banner section blue clear color">
<div class="inner-wrap two-columns">
<div class="widget box box-left transparent">
<h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
<p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p>
<a href="#" class="themes-go get-started go button"><?php _e( 'Get Started ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
</div>
<div class="widget box box-right transparent">
<h3 class="widget-title"><div class="dashicons dashicons-admin-plugins"></div><?php _e( 'Plugins', 'wporg' ); ?></h3>
<p class="widget-description"><?php _e( 'Ready to dive deep into the world of plugin authoring?', 'wporg' ); ?></p>
<a href="#" class="plugins-go get-started go button"><?php _e( 'Get Started ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
</div>
</div>
</div><!-- /topic-guide -->
<div class="code-reference-banner section gray clear color">
<div class="inner-wrap">
<div class="widget transparent">
<div class="code-ref-left">
<h3 class="widget-title"><div class="dashicons dashicons-editor-alignleft"></div><?php _e( ' Code Reference', 'wporg' ); ?></h3>
<p class="widget-description"><?php _e( 'Everything in one spot for finding things fast', 'wporg' ); ?></p>
</div>
<div class="code-ref-right">
<a href="#" class="codex-go go button"><?php _e( 'View The Codex ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
</div>
</div>
</div>
</div><!-- /new-in-guide -->
<main id="main" class="site-main section" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="home-primary-content">
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'wporg-developer' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'wporg-developer' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
</div><!-- #post-## -->
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
<div class="search-guide section light-gray clear">
<div class="inner-wrap three-columns">
<div class="widget box">
<h4 class="widget-title"><?php _e( 'Need Help?', 'devhub' ); ?></h4>
<ul class="unordered-list no-bullets">
<li><a href="#">WPHackers Mailing List</a></li>
<li><a href="#">WordPress Stack Exchange</a></li>
<li><a href="#">Core Contributor Handbook</a></li>
</ul>
</div>
<div class="widget box">
<h4 class="widget-title"><?php _e( 'More Resources', 'devhub' ); ?></h4>
<ul class="unordered-list no-bullets">
<li><a href="#">Intro To WordPress Development</a></li>
<li><a href="#">Setting Up Your Development Environment</a></li>
<li><a href="#">WordPress Coding Standards</a></li>
</ul>
</div>
<div class="widget box">
<h4 class="widget-title"><a href="#"><?php _e( 'Help Make WordPress ', 'devhub' ); ?><div class="dashicons dashicons-arrow-right-alt2"></div></a></h4>
</div>
</div>
</div><!-- /search-guide -->
</div><!-- /home-landing -->
</div><!-- #primary -->
<?php get_footer(); ?>