sputnick3k
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display only the first 4 images in an image gallery.Forum: Fixing WordPress
In reply to: Display only the first 4 images in an image gallery.Forum: Plugins
In reply to: Maximum (limit) number of images in Gallery ShortcodeForum: Plugins
In reply to: Maximum (limit) number of images in Gallery ShortcodeDid you ever get this to work? I could really use this code.
Forum: Plugins
In reply to: [Plugin: Facebook iLike] Facebook ilike and RSSThat plugin is broken. It’s better to just hard code it.
<iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=true&width=300&action=like&colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:60px;"></iframe>
Forum: Plugins
In reply to: [Plugin: Facebook iLike] Facebook ilike and RSSIt’s a bad plugin.
Forum: Fixing WordPress
In reply to: [galley] not show if only 1 attatchmentFIXED!
<?php $images =& get_children( ‘post_parent=’.$id.’&post_type=attachment&post_mime_type=image’ );
if( count($images) > 1 ) echo do_shortcode(‘[gallery option1="value1" columns="4"]‘); ?>I had to call the Post ID. THANK YOU Esmi! You are my hero.
Forum: Fixing WordPress
In reply to: [galley] not show if only 1 attatchmentI think you need count(image) to be count($image). At least that way the galleries are showing up but its not filtering the ones that only have 1 image. I left the code in so you can take a look. (https://www.nicholasiversongallery.com/). Plus i tried changing the “<” to “>” and that doesn’t work either.
Forum: Fixing WordPress
In reply to: [galley] not show if only 1 attatchmentNo go. Now none of the galleries show.
Forum: Fixing WordPress
In reply to: [galley] not show if only 1 attatchmentOk, with a plugin I have, I set the post thumbnail and then detach the image from the post and so far the post thumb will still use that photo. So a work around has been found. BUT it is an added step I would like to not do if there is a alternative I can use.