Style the page header

This commit is contained in:
Kelly Dwan 2019-10-25 14:32:05 -04:00
parent 5d6cb25232
commit 85b8b38ed0
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
6 changed files with 114 additions and 6 deletions

View file

@ -18,12 +18,16 @@ get_header(); ?>
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Pledges', 'wordpressorg' ); ?></h1>
<a href="/for-organizations/" class="button"><?php esc_html_e( 'Pledge your company', 'wordpressorg' ); ?></a>
<div class="page-header-callout">
<a class="button" href="/for-organizations/" >
<?php esc_html_e( 'Pledge your company', 'wordpressorg' ); ?>
</a>
</div>
<div class="page-header-controls">
<form method="get" action="<?php echo esc_url( get_post_type_archive_link( CPT_ID ) ); ?>">
<label for="pledge-sort"><?php esc_html_e( 'Sort pledges by', 'wordpressorg' ); ?></label>
<select id="pledge-sort" name="order">
<select class="custom-select" id="pledge-sort" name="order">
<option value="" <?php selected( $_GET['order'], '' ); ?>>
<?php esc_html_e( 'All Pledges', 'wordpressorg' ); ?>
</option>