Title: willnev's Replies | WordPress.org

---

# willnev

  [  ](https://wordpress.org/support/users/willnev/)

 *   [Profile](https://wordpress.org/support/users/willnev/)
 *   [Topics Started](https://wordpress.org/support/users/willnev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/willnev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/willnev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/willnev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/willnev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/willnev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/willnev/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/willnev/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/willnev/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Display Posts - Easy lists, grids, navigation, and more] Displaying In Sidebar](https://wordpress.org/support/topic/displaying-in-sidebar/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/displaying-in-sidebar/#post-17757213)
 * Thank you for your quick response. I’m using the pro version of Astra so I’ll
   open a ticket with them to see if we can determine what’s causing the issue.
 * Thanks again!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Responsive Recent Post Slider/Carousel] Slider No Longer Working](https://wordpress.org/support/topic/slider-no-longer-working-3/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/slider-no-longer-working-3/#post-13256082)
 * I’ve found the issue and corrected it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery Custom Links] Change Link](https://wordpress.org/support/topic/change-link-6/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/change-link-6/#post-13192900)
 * Looks like the issue is with a lightbox plugin I have installed. Once I disabled
   it, I was able to change the link.
 * Do you know if there are any lighbox plugins that might work with this plugin.
   I have a page or 2 on a site where we just have images with no link set and we’d
   like them to open in a lightbox gallery.
 * Thanks for you help on this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Builder - Create highly converting, mobile friendly marketing popups.] “All Popups” in Admin redirects to Page Not Found](https://wordpress.org/support/topic/all-popups-in-admin-redirects-to-page-not-found/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/all-popups-in-admin-redirects-to-page-not-found/#post-12652451)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Builder - Create highly converting, mobile friendly marketing popups.] “All Popups” in Admin redirects to Page Not Found](https://wordpress.org/support/topic/all-popups-in-admin-redirects-to-page-not-found/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/all-popups-in-admin-redirects-to-page-not-found/#post-12652449)
 * Perfect! that fixed the issue. I’m assuming the recent WordPress update must 
   have caused the issue.
 * Thanks for all your help on this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Add Text Field Per Product](https://wordpress.org/support/topic/add-text-field-per-product/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [7 years ago](https://wordpress.org/support/topic/add-text-field-per-product/#post-11613952)
 * Yes! Perfect! Thank you for your quick response!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Display Posts - Easy lists, grids, navigation, and more] Excerpt On Separate Line](https://wordpress.org/support/topic/excerpt-on-separate-line/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/excerpt-on-separate-line/#post-11189604)
 * Perfect!!!!
 * Thank you so much Luis! I really appreciate your help! You’re awesome!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Nav Link Disappears](https://wordpress.org/support/topic/nav-link-disappears/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/nav-link-disappears/#post-10708314)
 * Sorry, I should have been a bit clearer. I’m using your plugin in conjunction
   with Pete’s Login Redirect. My client is looking to direct specific users to 
   specific pages based upon their login. This is working properly using Pete’s 
   Login Redirect. I was then trying to use your plugin to display the login box
   for users to login to. Sorry for the confusion.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Nav Link Disappears](https://wordpress.org/support/topic/nav-link-disappears/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/nav-link-disappears/#post-10708165)
 * I see your point. I have a client who is looking to have 2 pages password protected
   and would like users to be presented with a login box if they attempt to view
   the pages but would like to keep the nav item in place. Any suggestions on how
   I might be able to do that?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] CF7 with “Send File” control enabled does not works from mobile.](https://wordpress.org/support/topic/cf7-with-send-file-control-enabled-does-not-works-from-mobile/)
 *  [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years ago](https://wordpress.org/support/topic/cf7-with-send-file-control-enabled-does-not-works-from-mobile/#post-10391935)
 * Update:
 *  added this to the functions file and it worked:
 * add_filter( ‘wpcf7_load_js’, ‘__return_false’ );
 * I originally tried a copy/paste but noticed that the quote(s) used in the code
   were not being accepted. So I deleted each quote and retyped it in the editor
   and it worked.
 * I hope this helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] CF7 with “Send File” control enabled does not works from mobile.](https://wordpress.org/support/topic/cf7-with-send-file-control-enabled-does-not-works-from-mobile/)
 *  [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years ago](https://wordpress.org/support/topic/cf7-with-send-file-control-enabled-does-not-works-from-mobile/#post-10391894)
 * I’m having the same issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] Custom Field No Longer Working](https://wordpress.org/support/topic/custom-field-no-longer-working/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-field-no-longer-working/#post-10196237)
 * Thanks so much for your quick response!
 * I updated the code with what you have there but the plugin My Custom Functions
   says there a “fatal error” (sound dire -lol).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] Custom Field No Longer Working](https://wordpress.org/support/topic/custom-field-no-longer-working/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-field-no-longer-working/#post-10195701)
 * Hey guys – I made a mistake as to which form I’m having an issue with. It’s actually,
   the form on the home page not the one 1 posted above. I added the code you suggested
   but still receive {referral} in the email confirmation rather than the name of
   the person that is being donated to.
 * The code now looks like this:
 * /**
    * Custom Form Fields * * [@param](https://wordpress.org/support/users/param/)
   $form_id */
 * function give_myprefix_custom_form_fields( $form_id ) {
 *  //Only display for a specific form;
    //Remove “If” statement to display on all
   forms
 *  ?>
    <div id=”give-referral-wrap”> <label class=”give-label” for=”give-referral”
   ><?php _e( ‘Who would you like
 * to donate to?:’, ‘give’ ); ?></label>
 *  <textarea class=”give-textarea” name=”give_referral” id=”give-
 * referral”></textarea>
    </div> <?php
 * }
 * add_action( ‘give_purchase_form_after_personal_info’, ‘give_myprefix_custom_form_fields’,
   10, 1 );
 * /**
    * Validate Custom Field * * [@description](https://wordpress.org/support/users/description/)
   check for errors without custom fields * * [@param](https://wordpress.org/support/users/param/)
   $valid_data * [@param](https://wordpress.org/support/users/param/) $data */ function
   give_myprefix_validate_custom_fields( $valid_data, $data ) {
 *  //Check that we’re validating the proper form
    //Remove if this is a global 
   field if ( $data[‘give-form-id’] !== ‘754’ ) { return; }
 *  //Check for a referral data
    if ( empty( $data[‘give_referral’] ) ) { give_set_error(‘
   give_referral’, __( ‘Who would you like to donate to.’, ‘give’ )
 * );
    } }
 * add_action( ‘give_checkout_error_checks’, ‘give_myprefix_validate_custom_fields’,
   10, 2 );
 * /**
    * Add Field to Payment Meta * * [@description](https://wordpress.org/support/users/description/)
   store the custom field data in the payment meta * * [@param](https://wordpress.org/support/users/param/)
   $payment_meta * * [@return](https://wordpress.org/support/users/return/) mixed*/
   function give_myprefix_store_custom_fields( $payment_meta ) { $payment_meta[‘
   referral’] = isset( $_POST[‘give_referral’] ) ? implode( “n”, array_map(
 * ‘sanitize_text_field’, explode( “n”, $_POST[‘give_referral’] ) ) ) : ”;
 *  return $payment_meta;
    }
 * add_filter( ‘give_payment_meta’, ‘give_myprefix_store_custom_fields’ );
 * /**
    * Show Data in Transaction Details * * [@description](https://wordpress.org/support/users/description/)
   show the custom field(s) on the transaction page * * [@param](https://wordpress.org/support/users/param/)
   $payment_meta * [@param](https://wordpress.org/support/users/param/) $user_info*/
   function give_myprefix_purchase_details( $payment_meta, $user_info ) {
 *  //uncomment below to see payment_meta array
    // echo “
 *     ```
       ";
       	//	var_dump($payment_meta);
       	//	echo "
       ```
   
 * “;
 *  //Bounce out if no data for this transaction
    if ( ! isset( $payment_meta[‘referral’])){
   return; }
 *  ?>
    <div class=”referral-data”> <label><?php echo __( ‘Donation Goes To:’, ‘
   give’ ); ?></label> <?php echo wpautop( $payment_meta[‘referral’] ); ?> </div
   >
 * <?php
    }
 * add_action( ‘give_payment_personal_details_list’, ‘give_myprefix_purchase_details’,
   10, 2 );/* Enter Your Custom Functions Here */
 * /**
    * Get Donation Referral Data * * [@description](https://wordpress.org/support/users/description/)
   Example function that returns Custom field data if present in payment_meta; the
   example used here is in conjunction with the Give documentation tutorials * *
   [@param](https://wordpress.org/support/users/param/) array $tag_args * * [@return](https://wordpress.org/support/users/return/)
   string */ function my_custom_prefix_get_donation_referral_data( $tag_args ) {
 *  $payment_meta = give_get_payment_meta( $tag_args[‘payment_id’] );
    $output =
   __( ‘No referral data found.’, ‘give’ );
 *  if ( isset( $payment_meta[‘referral’] ) && ! empty( $payment_meta[‘referral’])){
   
   $output = $payment_meta[‘referral’]; }
 *  return $output;
    }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] Custom Field No Longer Working](https://wordpress.org/support/topic/custom-field-no-longer-working/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-field-no-longer-working/#post-10149085)
 * Hey guys –
 * Thanks for resposnding!
 * Here’s the code that I’m using. It’s being added by using the PHP Inserter plugin.
 * /**
    * Custom Form Fields * * [@param](https://wordpress.org/support/users/param/)
   $form_id */
 * function give_myprefix_custom_form_fields( $form_id ) {
 *  //Only display for a specific form;
    //Remove “If” statement to display on all
   forms
 *  ?>
    <div id=”give-referral-wrap”> <label class=”give-label” for=”give-referral”
   ><?php _e( ‘Who would you like
 * to donate to?:’, ‘give’ ); ?></label>
 *  <textarea class=”give-textarea” name=”give_referral” id=”give-
 * referral”></textarea>
    </div> <?php
 * }
 * add_action( ‘give_purchase_form_after_personal_info’, ‘give_myprefix_custom_form_fields’,
   10, 1 );
 * /**
    * Validate Custom Field * * [@description](https://wordpress.org/support/users/description/)
   check for errors without custom fields * * [@param](https://wordpress.org/support/users/param/)
   $valid_data * [@param](https://wordpress.org/support/users/param/) $data */ function
   give_myprefix_validate_custom_fields( $valid_data, $data ) {
 *  //Check that we’re validating the proper form
    //Remove if this is a global 
   field if ( $data[‘give-form-id’] !== ‘754’ ) { return; }
 *  //Check for a referral data
    if ( empty( $data[‘give_referral’] ) ) { give_set_error(‘
   give_referral’, __( ‘Who would you like to donate to.’, ‘give’ )
 * );
    } }
 * add_action( ‘give_checkout_error_checks’, ‘give_myprefix_validate_custom_fields’,
   10, 2 );
 * /**
    * Add Field to Payment Meta * * [@description](https://wordpress.org/support/users/description/)
   store the custom field data in the payment meta * * [@param](https://wordpress.org/support/users/param/)
   $payment_meta * * [@return](https://wordpress.org/support/users/return/) mixed*/
   function give_myprefix_store_custom_fields( $payment_meta ) { $payment_meta[‘
   referral’] = isset( $_POST[‘give_referral’] ) ? implode( “n”, array_map(
 * ‘sanitize_text_field’, explode( “n”, $_POST[‘give_referral’] ) ) ) : ”;
 *  return $payment_meta;
    }
 * add_filter( ‘give_payment_meta’, ‘give_myprefix_store_custom_fields’ );
 * /**
    * Show Data in Transaction Details * * [@description](https://wordpress.org/support/users/description/)
   show the custom field(s) on the transaction page * * [@param](https://wordpress.org/support/users/param/)
   $payment_meta * [@param](https://wordpress.org/support/users/param/) $user_info*/
   function give_myprefix_purchase_details( $payment_meta, $user_info ) {
 *  //uncomment below to see payment_meta array
    // echo “
 *     ```
       ";
       	//	var_dump($payment_meta);
       	//	echo "
       ```
   
 * “;
 *  //Bounce out if no data for this transaction
    if ( ! isset( $payment_meta[‘referral’])){
   return; }
 *  ?>
    <div class=”referral-data”> <label><?php echo __( ‘Donation Goes To:’, ‘
   give’ ); ?></label> <?php echo wpautop( $payment_meta[‘referral’] ); ?> </div
   >
 * <?php
    }
 * add_action( ‘give_payment_personal_details_list’, ‘give_myprefix_purchase_details’,
   10, 2 );/* Enter Your Custom Functions Here */
 * /**
    * Adds a Custom “Referral” Tag * [@description](https://wordpress.org/support/users/description/):
   This function creates a custom Give email template tag * * [@param](https://wordpress.org/support/users/param/)
   $payment_id */ function my_custom_prefix_add_sample_referral_tag( $payment_id){
   give_add_email_tag( ‘referral’, ‘This tag can be used to output the custom referral
   field’, ‘my_custom_prefix_get_donation_referral_data’ ); }
 * add_action( ‘give_add_email_tags’, ‘my_custom_prefix_add_sample_referral_tag’);
 * /**
    * Get Donation Referral Data * * [@description](https://wordpress.org/support/users/description/)
   Example function that returns Custom field data if present in payment_meta; the
   example used here is in conjunction with the Give documentation tutorials * [@param](https://wordpress.org/support/users/param/)
   $payment_id * * [@return](https://wordpress.org/support/users/return/) string
   |void */ function my_custom_prefix_get_donation_referral_data( $payment_id ) {
 *  $payment_meta = give_get_payment_meta( $payment_id );
    $output = __( ‘No referral
   data found.’, ‘give’ ); if ( isset( $payment_meta[‘referral’] ) && ! empty( $
   payment_meta[‘referral’] ) ) { $output = $payment_meta[‘referral’]; }
 *  return $output;
    }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conditional Fields for Contact Form 7] Conditional Field Not Changing](https://wordpress.org/support/topic/conditional-field-not-changing/)
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/conditional-field-not-changing/#post-10090964)
 * OK, great! Thank you for your help and this awesome plugin!

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/willnev/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/willnev/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/willnev/replies/page/2/?output_format=md)