Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter marcmus

    (@marcmus)

    Alright. I did some more research. This is what I get in the console when I click the manually placed edit button:

    TypeError: editor.create_form is not a function
    [Break On This Error]

    …ref=this.data.values;for(value in _ref){if(!__hasProp.call(_ref,value))continue;…

    Thread Starter marcmus

    (@marcmus)

    Does the manual button use a different javascript function to call the thickbox?

    Thread Starter marcmus

    (@marcmus)

    That’s possible. Does the manually placed edit button do anything different than the default one? I just removed the stuff that was blocking the default one from working to test it and the default one works fine, but the manual button still doesn’t work.

    Thread Starter marcmus

    (@marcmus)

    The image is the default header image for the theme, but it allows you to switch it to a new one. It works great with the non-manually positioned button, but the problem is that those <div>’s at the bottom are gradients that fade out the outside of the image to black. So when I move my mouse to the edge it rolls over those gradient divs and then it’s not hovering the main image so the default edit button disappears.

    Thread Starter marcmus

    (@marcmus)

    Here’s the code:

    <aside id="background">
    	<?php if(current_user_can('manage_options')) : ?><div class="fee-group">
    		<div class="fee-buttons"></div><?php endif; ?>
    		<?php
    				// Check to see if the header image has been removed
    				$header_image = get_header_image();
    				if ( $header_image ) :
    					// Compatibility with versions of WordPress prior to 3.4.
    					if ( function_exists( 'get_custom_header' ) ) {
    						// We need to figure out what the minimum width should be for our featured image.
    						// This result would be the suggested width if the theme were to implement flexible widths.
    						$header_image_width = get_theme_support( 'custom-header', 'width' );
    					} else {
    						$header_image_width = HEADER_IMAGE_WIDTH;
    					}
    					?>
    			<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
    				<?php
    					// The header image
    					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
    					if ( is_singular() && has_post_thumbnail( $post->ID ) &&
    							( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) ) ) &&
    							$image[1] >= $header_image_width ) :
    						// Houston, we have a new header image!
    						echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    					else :
    						// Compatibility with versions of WordPress prior to 3.4.
    						if ( function_exists( 'get_custom_header' ) ) {
    							$header_image_width  = get_custom_header()->width;
    							$header_image_height = get_custom_header()->height;
    						} else {
    							$header_image_width  = HEADER_IMAGE_WIDTH;
    							$header_image_height = HEADER_IMAGE_HEIGHT;
    						}
    						?>
    					<?php editable_image(
    	'headshot', get_header_image(), array(
    		'width' => $header_image_width,
    		'height' => $header_image_height,
    		'alt' => 'My Headshot'
    	)); ?>
    				<?php endif; // end check for featured image or standard header ?>
    			</a>
    			<?php endif; // end check for removed header image ?>
    		<div id="background-top"></div>
    		<div id="background-right"></div>
    		<div id="background-bottom"></div>
    		<div id="background-left"></div>
    		<?php if(current_user_can('manage_options')) : ?></div><!-- .fee-group #background --><?php endif; ?>
    	</aside><!-- #background -->

    I am having the same problem. I have Contact Form 7 on multiple sites. Maybe it has something to do with the upgrades? I don’t know. Not in spam and all other email goes through great.

    Does anyone have another contact form plugin to suggest?

    Thread Starter marcmus

    (@marcmus)

    I’ve tried a ton of things including upgrading, readding the Thickbox files tweaking some things, but I’m still getting this problem.

Viewing 7 replies - 1 through 7 (of 7 total)