Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter leonbax

    (@leonbax)

    I have seen those demos. That doesn’t answer my question. Please read the question carefully.

    Again, in summary, I want to create multiple galleries that all open in one video placeholder at the top. Also, which shortcode would create the video place holder and which shortcodes would create the galleries?

    Thread Starter leonbax

    (@leonbax)

    Hi Suzie,

    Thanks for the swift reply. That’s not really an option because all plugins I am using at the moment are essential. Do you perhaps have some CSS code that forces the use of a specific version of font awesome for that specific graphic that is flashing? The issue is that the plugins that use font awesome not always use the same version. I have seen this before, that’s why I know. The author of another plugin gave me some CSS code that forced the use of a specific version. Can you help me with that for this specific flashing graphic? Or all graphics in your plugin?

    Thanks!
    Leon

    Thread Starter leonbax

    (@leonbax)

    OK, it’s not the dollar sign, it’s the combination of dollar sign and the POST command:
    $POST works
    _POST works
    $_POS works
    $_POST throws 404 error

    Thread Starter leonbax

    (@leonbax)

    Hi! I figured out a little more but no solution yet.
    The URL is this:

    https://2mynds.org/wp-admin/admin.php?page=edit-snippet&id=11&result=updated

    If you need access to the site, let me know. It’s locked behind a maintenance screen still, but I can give you access (although I’d prefer not to make the access method public).

    Anyway, I found that if I remove the $_Post string that it saves. Actually, I can just remove the $ sign and there no longer is an error. Does that give you any ideas?

    So this saves:

    function wooc_extra_register_fields() {
    
        <p class="form-row form-row-first">
        <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?> <span class="required">*</span></label>
        <input type="text" class="input-text" name="billing_first_name" id="<?php if ( ! empty( _POST['billing_first_name'] ) ) esc_attr_e( _POST['billing_first_name'] ); ?>" />
        </p>
    }
    
    add_action( 'woocommerce_register_form_start', 'wooc_extra_register_fields' );

    and this doesn’t:

    function wooc_extra_register_fields() {
    
        <p class="form-row form-row-first">
        <label for="reg_billing_first_name"><?php _e( 'First name', 'woocommerce' ); ?> <span class="required">*</span></label>
        <input type="text" class="input-text" name="billing_first_name" id="<?php if ( ! empty( $_POST['billing_first_name'] ) ) esc_attr_e( $_POST['billing_first_name'] ); ?>" />
        </p>
    }
    
    add_action( 'woocommerce_register_form_start', 'wooc_extra_register_fields' );
Viewing 4 replies - 1 through 4 (of 4 total)