Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

How to add a Blog feed to a certain part of a page? #275

Closed
dfill opened this issue Mar 15, 2015 · 2 comments
Closed

How to add a Blog feed to a certain part of a page? #275

dfill opened this issue Mar 15, 2015 · 2 comments

Comments

@dfill
Copy link

dfill commented Mar 15, 2015

Hey all,

I'd like to set up a specific row in my front-page.php file to simply contain a blog feed. So when a client posts, the blog feed will show up (I'd say probably 2-3 posts).

Is there a certain PHP snippet that I need to integrate in order to make this happen?

Any help would be appreciated!

@FlatspinZA
Copy link

Set up a new WP_Query. You can look at the solution I provided here for an idea on how to do this: #265.

OFC, WP provides documentation: http://codex.wordpress.org/Class_Reference/WP_Query

@dfill
Copy link
Author

dfill commented Mar 15, 2015

I will look into this. Thank you @FlatspinZA !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants