orangjul
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Keywords from All in one SEO Pack did not importI think I can mark this as resolved…will experiment more with other sites!
Forum: Plugins
In reply to: [Yoast SEO] Keywords from All in one SEO Pack did not importOk so I am learning that meta keywords and the focus keyword are not the same thing (sorry, new to this plugin). I figured out you have to turn on display keywords to make them display with the source code – do you have to do this BEFORE importing from AIO SEO? Or is there another way to ensure the keywords get imported from AIO SEO?
Forum: Plugins
In reply to: [WP Supersized] WP 3.5 and plugin 3.1.5 not workingI am also having the same problem and have tried all of the suggested fixed without any results. I am super frustrated as I’ve got this on a site that is supposed to launch next week…the client is NOT happy.
Hello,
I never was able to figure this out months ago. The site is now ready to go live, other than this problem. I have upgraded all plugins and we are running WP 3.5. I still get the same errors as listed in my initial post, and the galleries do not appear and say [Gallery Not Found].When I added the code above, I get this on my page:
Array ( [0] => Array ( [ngg_id] => 11 [ngg_form] => gallery ) ) [Gallery not found]
I am not very well versed in PHP…what does this mean?
Forum: Plugins
In reply to: [WP Supersized] Template code?Never got any answers on this…still wondering??
Forum: Plugins
In reply to: [WP Supersized] showing up on homepage in mobile theme – WP TouchI tried tying it to a page template, but the slideshow didn’t show up at all that way.
Forum: Plugins
In reply to: [WP Supersized] showing up on homepage in mobile theme – WP TouchIs there a way to include the slideshow within my theme, instead of using the display settings? Is there template code I could use instead of checking one of the boxes in the settings?
Forum: Fixing WordPress
In reply to: How to replace header-image with featured-imageThank you, I was looking for this info a couple weeks ago and trying to write the code on my own and couldn’t quite manage it or find anything. This helped me!
Forum: Plugins
In reply to: [WP Supersized] showing up on homepage in mobile theme – WP TouchStill haven’t found a solution for this ??
Forum: Fixing WordPress
In reply to: Featured Image for 3rd level pagesI think I figured it out:
<?php // Check if this is a post or page, if it has a thumbnail (featured image), 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 ), 'post-thumbnail' ) ) && $image[1] >= HEADER_IMAGE_WIDTH ) { // Display featured image echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); // If there is no featured image selected, the page is a child page, and the parent page has a featured image } else if((get_the_post_thumbnail('post-thumbnail') == '') && ($post->post_parent != '0') && get_the_post_thumbnail(array_pop(array_merge(array($post->ID), get_ancestors($post->ID,'page'))),'full') != '') { // then show the parent page's featured image ?> <?php echo get_the_post_thumbnail(array_pop(array_merge(array($post->ID), get_ancestors($post->ID,'page'))),'full'); ?> <?php } else { //Display default header image selected in Appeance > Header ?> <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /> <?php } ?>
Forum: Fixing WordPress
In reply to: Featured Image for 3rd level pagesI am trying to figure out how to do this same thing, but only if the child page does NOT have a featured image selected. In other words, if a child page has a featured image selected, it will display that featured image, but it does not have one selected, it will show the parent page’s (or grandparent page’s) featured image.
Forum: Plugins
In reply to: [WP Supersized] [Plugin: WP Supersized] Conflict with Google Translate codeIn case anyone else had this problem, I ended up ditching the translation code I got from google, and using this plugin, and the conflict no longer exists.
<div id="header-image"> <?php if(is_front_page()) { ?> <?php if (function_exists("nggSlideshowWidget")) nggSlideshowWidget(3,960,460); ?> <? } else { ?> <?php $garr = get_field('nextgen_gallery_id'); $gid = 0; if(is_array($garr)) { if(isset($garr[0])) { $gid = intval($garr[0]); } if($gid > 0) { echo nggShowGallery($gid); } else { ?> <?php // 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; } // Check if this is a post or page, if it has a thumbnail, and if it's a big one if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= $header_image_width ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID ); elseif ( get_header_image() ) : // 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; } ?> <img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" /> <?php endif; ?> <?php } } else { ?> <?php // 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; } // Check if this is a post or page, if it has a thumbnail, and if it's a big one if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= $header_image_width ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID ); elseif ( get_header_image() ) : // 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; } ?> <img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" /> <?php endif; ?> <?php } } ?> </div>
I tried resaving the post and that’s when I see the “[Gallery Not Found]” message on the post (after refreshing.
Unfortunately when I upgraded to version 1.2.1, I still get the same error message as above on my editing screen, nor do my slideshows work. I reverted to version 1.0.2 and it works fine.