• Resolved fdecicco

    (@fdecicco)


    I know you already addressed this and I totally understand the resource and time issue to add restricting Posts and possibly custom post types like you do for pages.

    Any chance that you may be able/willing to share some directions for me to tackle this myself and not mess things up. Maybe sharing the class(es) or files that you’d change or maybe even the function to change/add. And possibly some design considerations or other tips.
    Nothing big or time consuming, just some direction to cut down reverse engineering time and also to do a decent and reliable job.

    Thank you.

    Frank.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    Hi Frank.

    So sorry for the delay in my reply, the notification was dismissed from my inbox accidentally.

    If you want to use it for regular posts, or CPTs, you could perhaps copy the entire plugin, rename it to a new plugin, and then replace all references to pages with posts (or CPTs). I think this would be simpler than trying to code conditional logic throughout the existing code.

    I put a lot of comments throughout the code which hopefully will help in that regard.

    Hope this helps. I wish I had the time to build some options into this plugin to make it work for posts and CPTs out of the box, hopefully someone will do so one day!

    Thread Starter fdecicco

    (@fdecicco)

    Wow, what a great idea!!
    I wish I would have thought of it or received a bit earlier, I ended up using a plugin called User Specific Content which, although not as flexible as yours, its doing a pretty decent job.

    I am sure that I’ll use your plugin in the future though now that I know what to do.

    Thank you very much for the reply.

    Good luck.

    Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    My pleasure Frank, I am happy to know you found something that works for you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restrict Posts and CPT’ is closed to new replies.