Discussion in 'Content Management Systems' started by julian, Jul 30, 2014.
Anyone know of a hack to stop wp out putting all images or posts by default when page loaded.
Depends what you want it to output. Assuming you're using the default loop i.e. your theme doesn't override this with a query_posts() call?
The default query can be modified easily enough by using the pre_get_post action. There's a few around the same vein to modify wp_query directly as well.
Separate names with a comma.