Query custom post types – WortGepresst



STARTSEITE MULTIMEDIA WORTGEPRESST FAMILIENBANDE BOOKMARK PRIVACY


Query custom post types

Let’s say our custom post type is named “books”. Here is how to create a list of posts from the books custom post type:

PHP

 

This code is designed to work in any of WordPress theme files, preferably in a location that makes sense.

Font Resize
Contrast
Zur Werkzeugleiste springen