Articles Tagged 'pre_get_posts'

Very short trick: WordPress, exclude pages and search by post

The internal engine of WordPress exploited for research (the standard one without the addition of plugins) performs low-level a classic query_post() . The search is dapperttutto, without exclusion. This feature can be however controlled allowing, for example, to carry out a search on everything except that in particular categories, pages, or post.

More ...


Stop SOPA