Vergilius
Forum Replies Created
-
Forum: Plugins
In reply to: jquery masonry post opens on homepageHave you found a solution? I’m looking for the same script http://cargocollective.com/trillian
Forum: Fixing WordPress
In reply to: Post type attachment countActually, I solved the problem. My solution:
$photocount=$wpdb->get_var($wpdb->prepare(“SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = ‘attachment’ AND post_parent IN (SELECT ID FROM $wpdb->posts WHERE post_type = ‘my_posttype’)”));
echo $photocount;Forum: Plugins
In reply to: [qTranslate] Can not login after installing qtranslateYou must generate wordpress security keys and insert them in your wp-config.php file. After this insert SECURE_AUTH_KEY in your language file (wp-content/languages/lang_LANG.php)
Forum: Plugins
In reply to: [Post From Site] [Plugin: Post From Site] Add class and rel to image linksTemporary i’m using javascript:
$(document).ready(function() { $(".gallery a").addClass("photo"); $(".gallery a").each(function() { this.rel += 'gal'; }); });This snippet adds class=”photo” and rel=”gal” for all links inside gallery div.
Forum: Plugins
In reply to: [Instapress] [Plugin: Instapress] Conflict with jquery cycleHave the same problem with 2 different sliders. Any ideas?
UPD: But you can disable all effects in the Instapress admin section. It’ll help.