Created
July 1, 2016 08:26
-
-
Save richerimage/f94b464560faa95dded2eea647d70f64 to your computer and use it in GitHub Desktop.
Get Content from Post ID
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
| $post_id = 7; | |
| echo apply_filters('the_content', get_post_field('post_title', $post_id)); | |
| echo get_post_field('post_content', $post_id)); | |
| echo get_post_meta($post_id, 'thesis_thumb_height', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment