Linus Lundahl
Forum Replies Created
-
Forum: Plugins
In reply to: [Good Old Gallery] Error when you ed a page or a articlegreat, then I’ll post it to www.ads-software.com
Forum: Plugins
In reply to: [Good Old Gallery] Error when you ed a page or a articleno, just replace the plugin-files in the plugin directory. this won’t affect anything in the database.
Forum: Plugins
In reply to: [Good Old Gallery] Error when you ed a page or a articleeven though I can’t replicate the error I have tried to fix it, download the version on github (https://github.com/linuslundahl/good-old-gallery) and give it a try, if it works I will push it to www.ads-software.com.
Forum: Plugins
In reply to: [Good Old Gallery] After wordpress 3.5 installation there is an erroreven though I can’t replicate the error I have tried to fix it, download the version on github (https://github.com/linuslundahl/good-old-gallery) and give it a try, if it works I will push it to www.ads-software.com.
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] gallery navigation linksWell, you are somewhat right. BUT… the problem when developing a plugin like this is that you will never know what WordPress theme a user has activated, and what css is included in that theme. Unfortunately it’s impossible to make it work out of the box in all themes.
hmm, I’ve added css that might fix this, you can try the version hosted on github to get the changes: https://github.com/linuslundahl/good-old-gallery
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] [gallery] shortcode support?oh, sorry. you mean override the
[gallery]
shortcode? you can probably do that in your theme.do something like:
$gog_shortcode = new GOG_Shortcode( new GOG_Settings() ); add_filter('post_gallery', array( $gog_shortcode, 'shortcode' ), 10, 2);
might need some tweaking…
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] gallery navigation linksnext/previous not showing when fade is active is an issue I will have to look in to.
but the positioning of any elements such as pagers, nav. links etc is an issue of css, to position them the way you want you’ll need to add css in your theme.
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] [gallery] shortcode support?You can actually use it with existing galleries, just use
[good-old gallery ARGS]
but don’t include theid="" arg
. Then the plugin will look for a gallery connected to the currently viewed post/page. Should work at least, haven’t tried it in the latest version.Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] Widget not workinghmm, do you have a link your site so I can have a look at what’s happening?
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] Header Comment Injectionhehe, I see what you mean, I can add an option to “silently promote” my plugin in a coming update. meaning you can opt out if you don’t want it.
Forum: Plugins
In reply to: [Good Old Gallery] [Plugin: Good Old Gallery] Custom fields not workYou can try the version hosted on GitHub, should work.
submit_button() is a wordpress function and it’s located in wp-admin/includes/template.php at line 1592, if that function isn’t found something is probably wrong with your wp installation…
well, you should probably be able to something like this:
add_shortcode('gallery', 'THEME_gallery_shortcode'); function THEME_gallery_shortcode($attr) { // Get attributes from $attr and add them to the shortcode return do_shortcode('[good-old-gallery]'); }
what version of wordpress are you using?