Title: age-gate-public-display.php
Last modified: August 31, 2019

---

# age-gate-public-display.php

 *  [rhwd](https://wordpress.org/support/users/bguk/)
 * (@bguk)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/age-gate-public-display-php/)
 * I want to change the look of the submit button by adding additional classes but
   obviously every time I update the theme I lose the change.
 * I’m using a child theme but I couldn’t see any documentation how I can add this
   to my functions.php
 * You have:
 * <?php if ($this->restrictions->input_type !== ‘buttons’): ?>
    <input type=”submit”
   value=”<?php echo __($this->messages->submit) ?>” class=”age-gate-submit”> <?
   php endif; ?>
 * I want it changed to
 * <?php if ($this->restrictions->input_type !== ‘buttons’): ?>
    <input type=”submit”
   value=”<?php echo __($this->messages->submit) ?>” class=”age-gate-submit fusion-
   button fusion-button-round button-xlarge button-default”> <?php endif; ?>
 * Look forward to hearing from you Phil.
 * Thanks,
    Richard

Viewing 1 replies (of 1 total)

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/age-gate-public-display-php/#post-11891808)
 * Hi [@bguk](https://wordpress.org/support/users/bguk/),
 * Unfortunately this isn’t possible in the current version of the plugin. I am 
   working of a major release (v3) that will allow custom attributes of pretty much
   anything that won’t interfere with the form functionality.
 * As a work around til then I could add a filter to put additional classes on the
   buttons if that’s any good to you?
 * Cheers
    Phil

Viewing 1 replies (of 1 total)

The topic ‘age-gate-public-display.php’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/philsbury/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/age-gate-public-display-php/#post-11891808)
 * Status: not resolved