jQuery to show icon after .hide

I assume the different spellings of .simplelightbox and .simple-lightbox are typos in your question and both are correct in your code. My first thought would be to find the function in the plugin that is fired when the white ‘X’ is clicked (that closes the lightbox) and add your line of code. If you don’t … Read more

Create Biographies

A couple of notes here: You might find a custom post type to be better than using a built-in Page. You would create a post type called something like “players” or “football-players” and with it you’d have an archive. Very similar to how Posts and Categories work: you’ll have one URL for each Post but … Read more

Problem with conditional woocommerce custom checkout field

Ok, I figured it out (finally) Instead of using the code above to add a new custom field, I changed it to this: add_filter( ‘woocommerce_checkout_fields’, ‘custom_override_checkout_fields’ ); function custom_override_checkout_fields ( $fields ) { $fields[‘order’][‘the_script’] = array ( woocommerce_form_field ( ‘the_script’, array( ‘type’ => ‘textarea’, ‘class’ => array(‘extracheckoutinfo form-row-wide’), ‘label’ => __(‘What is the script?’), ‘placeholder’ … Read more

Shows warning when enable “wp_gallery_custom_links” plugin with Themify Builder

I have resolved this issue finally by making changes directly in “/wp-content/themes/themify-ultra/themify/themify-builder/templates/template-gallery-grid.php”. Try to find below lines. $link_before=”” != $link ? sprintf( ”, esc_attr( $image->post_title ), esc_url( $link ) ) : ”; $link_before = apply_filters( ‘themify_builder_image_link_before’, $link_before, $image, $settings ); And replace with, $custom_link = get_post_meta( $image->ID, ‘_gallery_link_url’, true ); $custom_link_target = get_post_meta( $image->ID, ‘_gallery_link_target’, … Read more