Rob Cubbon
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] %GALLERY_NAME% no longer workingSorry, I made a mistake with this. My “next” and “previous” buttons weren’t showing up because of a simple CSS error I’d made and nothing to do with the change in the %gallery_name%
rel=”shadowbox[set_3]” or class=”shadowbox[set_3]” still work fine for navigating between large images within a gallery. For me, at least.
NextGEN Gallery is still awesome, it’s official ๐
Forum: Fixing WordPress
In reply to: Display a default image if no custom field image is presentNo problem, thank you for your awesome help! ๐
Forum: Fixing WordPress
In reply to: Display a default image if no custom field image is presentThank you, esmi, I really appreciate it.
You actually missed the last ?
<?php if( get_post_meta($post->ID, "image", true) ) :?><img src="http://www.website.com/wp-content/themes/mytheme/images/<?php echo get_post_meta($post->ID, "image", true);?>"/> <?php else :?><img src="http://www.website.com/path_to_default_image"/> <?php endif;?>This is a really useful few lines of code which should help me a lot with WordPress and learning PHP.
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] displaying secondary featured imagesOh, keesiemeijer, that is just amazing! The second one worked (the first one put the images in in their original size).
I think this is just a great plug-in. I can see myself using this a lot in the future.
Thank you so much for resolving this issue.
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] displaying secondary featured imagesShould I have mentioned this is on an IIS server?
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] displaying secondary featured imagesYes, keesiemeijer, I can see the panel for your Secondary Image and
Tertiary Image and can upload images which are then sized to the correct size in the wp-content/uploads/ … directoryForum: Fixing WordPress
In reply to: How to include multiple images of specific size to pages and postsForum: Fixing WordPress
In reply to: How to include multiple images of specific size to pages and postsThank you for recommending that plug-in, keesiemeijer, I’ve been trying to use it.
I’ve got it to size up the three image sizes for a page but I can’t get the code right to display the second two. I will ask a question in WordPress โบ Support ยป Plugins and Hacks called [Plugin: Multiple Post Thumbnails] displaying secondary featured images
Thanks, you’re awesome.
Forum: Fixing WordPress
In reply to: Sizing Featured ImagesAwesome ๐
You don’t have to create a new post. The old thumbnails re-sized by this method. Amazing!
Thank you so much, Rev. Voodoo.
Forum: Fixing WordPress
In reply to: Sizing Featured ImagesI’m sorry Rev. Voodoo, I tried
add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 50, 9999, true );In functions.php, the crop came out wrong again whether it was
array(50,50)orarray(50,9999)in footer.php.And I tried
add_image_size( 'shop-single-image', 450, 9999 );with and without
set_post_thumbnail_size( 50, 50, true );in functions.php and that killed the site.
I’m obviously getting something wrong with my php here.
Forum: Fixing WordPress
In reply to: Help! Comments aren't registering when visitors leave theThanks again
Forum: Fixing WordPress
In reply to: Help! Comments aren't registering when visitors leave thet-p thank you for posting these excellent pieces of WP troubleshooting which I should have done anyway because I’ve seen them many times here.
Anyway, I deactivated all the plugins and it immediately worked. I started activating them back one by one and I thought I’d found the culprit – All-in-One SEO. So I activated them all and it was still working then I re-activated All-in-One SEO … and it still works!
So, I don’t know what happened there but I’m very happy it’s working now.
Thank you.
Forum: Fixing WordPress
In reply to: Adding as a custom fieldThank you so much, esmi, that works.
I just found out that this works as well:
<?php include(TEMPLATEPATH . '/'.get_post_meta($post->ID, 'slide', true).'.php'); ?>Forum: Fixing WordPress
In reply to: Copying a site from route to a /dev/ fileSorry, topic title should have been “Copying a site from route to a /dev/ folder”
Forum: Fixing WordPress
In reply to: search not-singular search-no-results showing in search resultsI’ve worked out a fix but I’ll bet it’ll come back to bite me on my backside.
The message at the top of the screen comes from the body class which is in header.php:
<body class="<?php thematic_body_class() ?>" >which I just changed to
<body>which seemed to get rid of it.
But now the question is: does the site will use this body class anywhere else?