-
-
Save billerickson/7297bed02f25571ddabe1dd03a3a2700 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
/** | |
* "Small" layout for Display Posts Shortcode | |
* | |
* @package StudyFinds2018 | |
* @author Bill Erickson | |
* @since 1.0.0 | |
* @license GPL-2.0+ | |
**/ | |
echo '<article class="post-summary small">'; | |
echo '<a class="entry-image-link" href="' . get_permalink() . '">' . wp_get_attachment_image( ea_entry_image_id(), 'ea_archive' ) . '</a>'; | |
echo '<h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>'; | |
echo '</article>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment