Created
July 6, 2020 16:37
-
-
Save danielrosehill/cf62f3cc0a658eba807eb937ddffa6a0 to your computer and use it in GitHub Desktop.
Backup Wordpress archive custom post-byline.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="post-byline"> | |
| <span class="post-date"> | |
| <?php | |
| $date = get_the_date(); | |
| printf( esc_html_x( 'Published %s', 'Published DATE', 'chosen' ), $date ); | |
| ?> | |
| </span><br/> | |
| IN <?php the_field('pubtitle'); ?> | |
| <br/> | |
| <a href="<?php the_field('publishurl'); ?>" target="_blank">ORIGINAL LINK | <a href="<?php the_field('backupcopy'); ?>"target="_blank">LOCAL BACKUP</a> </a> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment