WordPress.org

Ready to get started?Download WordPress

Forums

Age Verify
Custom Template (5 posts)

  1. mattmahrer
    Member
    Posted 1 year ago #

    The plugin works great, but when I set the require validation to only specific content, and I check the require validation for a page with a custom template, the page loads as normal without the validation. I believe this may be caused by the custom template querying multiple posts from a category. Any workarounds?

    http://wordpress.org/extend/plugins/age-verify/

  2. Chase Wiseman
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin uses the 'wp_footer' action to display the validation, and that action is triggered inside the wp_footer() template tag. Do you have the wp_footer() template tag near the end of that custom template?

  3. NHL23
    Member
    Posted 1 year ago #

    Can you just Shortcode the function to display in the page? Thanks

  4. Chase Wiseman
    Member
    Plugin Author

    Posted 1 year ago #

    Not entirely sure what you mean, NHL23.

    If you mean you'd like to use a shortcode to show the Age Verify form then no, that is not a planned feature for the plugin.

  5. wilsonxyz
    Member
    Posted 1 year ago #

    Mr Wiseman,

    Good job on such a wonderful plugin, completely serves my needs! I'm very thankful!

    I am having a small problem here also, your plugin was working perfectly for me in my initial theme. However I needed to change my theme and when I set to this new theme the plugin doesn't show up. I'm using the King Size premium theme, and I don't know what it has to do with the wp_footer() and how to trigger it.

    Do you have any idea? Please help! Thanks a lot!!
    My site: http://www.winetalent.asia

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic