• i have some default pages created uppon theme activation.

    i am using wp_insert_post & update_post_meta while creating
    the pages and would like to know how can i attach a “exclude”
    meaning uncheck the check box…

    Can i update meta value? (Tried but no luck..)

    Could you please help mate? ??
    thanks a bunch for this plugin – i love it!

    https://www.ads-software.com/extend/plugins/exclude-pages/

Viewing 2 replies - 1 through 2 (of 2 total)
  • [email protected]

    (@dxritchiegmailcom)

    Did this ever get resolved. I have a script that is parsing a text file and building pages based on # of ids in the text file. I need these pages to not show up under the parent page but they still need to be accessible from a user who is not logged in. So private pages will not work for me. Is there a way to make them hidden by default and or add this to my wp_insert_post & update_post_meta statements?

    You’ll need to update the ‘ep_exclude_pages’ option in the options table to do this.

    Have a look at the plugin’s code to see which functions are available. They are not contained in a class, so they are all available in the global namespace.

    Oh.. and don’t forget to check whether a WP particular install actually has the exclude_pages plugin installed in your code!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Exclude Pages] Exclude Spcific page when using wp_insert_post’ is closed to new replies.