physaux Posted August 3, 2010 Share Posted August 3, 2010 Hey guys so I'm trying to write a wordpress plugin. But nothing I do is working!! I'm not sure even how I should approach this problem, which filter hooks to use and how. I've been searching everywhere for help, but to no avail. /whining Anyways, here is what I want to do: Create a plugin for Wordpress that does the following: -prevents posts from category [some X] from being displayed- EXCEPT if the post ID is [some Y] Any idea how to do this? I'm thinking of editing the WP query but I'm not sure how to do that... Quote Link to comment https://forums.phpfreaks.com/topic/209687-wordpress-plugin-coding-filter-hooks-need-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.