buskerdog
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] default YouTuube vids to 480p?Errrr…. anyone?
Forum: Fixing WordPress
In reply to: How to exclude images from post gallery but keep in post?Something is definitely wrong with the plugin I posted (which is weird because I got it to work on one 2.9.1 installation and use it!) I don’t know what happened.
As for exclude in shortcode, try include and see if that works. Because I’ve used that and had no problem but I don’t know if I’ve used exclude.
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] default YouTuube vids to 480p?Anyone?
Forum: Requests and Feedback
In reply to: Can we get 1 column in galleries?Pretty please?
Forum: Fixing WordPress
In reply to: How to exclude images from post gallery but keep in post?Pretty sure it works.
FYI, this is the plugin I mentioned a few posts up:
http://konstruktors.com/blog/projects-services/wordpress-plugins/multiple-galleries/It removes the need to manipulate the shortcode (although obviously it’s good to be able to play with the shortcode as neeeded)
Forum: Fixing WordPress
In reply to: Tag mismatch caused by WPYeah, screwing around with the spacing like that seems to be the solution, i guess. Kind of wacky but what are ya gonna do.
Forum: Fixing WordPress
In reply to: How to exclude images from post gallery but keep in post?The Multiple Galleries plugin solves this very well, but there’s a fix in the comments section that needs to be implemented before it’ll work in 2.9 until he incorporates the fix into a new release…
Forum: Themes and Templates
In reply to: Does “include=” work in gallery shortcode?Never mind, figured it out!
Forum: Fixing WordPress
In reply to: How to exclude images from post gallery but keep in post?Neither the method outlined nor the plugin are working for me in 2.9.1. If I use the general media upload then when I add the image to the post from the media library the it automatically gets added to the post’s gallery as well. Then if I delete the image from the gallery it removes it from the media library too!
The plugin both doesn’t work AND screws up the styling for the gallery…
Forum: Plugins
In reply to: [Plugin: AutoNav Graphical Navigation and Gallery Plugin] links to siblings?Indeed! Great work!
Forum: Fixing WordPress
In reply to: HTTP Error!Just a quick shout out: bookchiq’s link worked for me too… Thanks!
Forum: Plugins
In reply to: [Plugin: AutoNav Graphical Navigation and Gallery Plugin] links to siblings?Alright this uses get_children to check if the page has any children before running the autonav on it:
<?php if ( is_subpage() ): ?><?php print autonav_wl_shortcode(array('display'=>'images,siblings,self','pics_only'=>'1')); ?> <?php else : ?><?php if ( get_children( $post->ID ) ) : ?><?php print autonav_wl_shortcode(array('display'=>'images','pics_only'=>'1')); ?><?php endif ; ?> <?php endif ; ?>Forum: Plugins
In reply to: [Plugin: AutoNav Graphical Navigation and Gallery Plugin] links to siblings?oops, spoke too soon. On pages with no subpages I get this error:
Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/wp/wp-content/plugins/autonav/autonav-wl.php on line 479Forum: Plugins
In reply to: [Plugin: AutoNav Graphical Navigation and Gallery Plugin] links to siblings?Thanks! I added this to the functions.php file in my theme:
function is_subpage() { global $post; // load details about this page if ( is_page() && $post->post_parent ) { // test to see if the page has a parent $parentID = $post->post_parent; // the ID of the parent is this return $parentID; // return the ID } else { // there is no parent so... return false; // ...the answer to the question is false }; };to get the is_subpage() conditional tag
And then put this in my page.php
<?php if ( is_subpage() ): ?><?php print autonav_wl_shortcode(array('display'=>'images,siblings,self','pics_only'=>'1')); ?> <?php else : ?><?php print autonav_wl_shortcode(array('display'=>'images','pics_only'=>'1')); ?> <?php endif ; ?>Works so far!
Forum: Plugins
In reply to: [Plugin: AutoNav Graphical Navigation and Gallery Plugin] links to siblings?fab, fab, fab!