Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Separate post formats in WordPress Re: Separate post formats in WordPress

#125706
tomrogers123
Member

Although I’ll have time to write a more detailed post later – with some example code – the quick answer is that you will need to run a custom loop to get only links as the default only outputs posts. In order to do this, there are several routes you can take: using [query_posts()](http://codex.wordpress.org/Function_Reference/query_posts “”) ([screencast](https://css-tricks.com/video-screencasts/91-the-wordpress-loop/ “”)) or initializing a new instance of the [WP_Query()](http://codex.wordpress.org/Class_Reference/WP_Query “”) class.