carmat
Forum Replies Created
-
Forum: Plugins
In reply to: [Acunetix WP Security] Parse error: syntax error in latest update v.3.1UPDATE
Line 212
function wpss_mrt_meta_box2()requires fixing as it seems to have some code missing and the syntax isn’t correct as a result.Seemingly, a line is missing between
:220and:224See http://codex.ww.wp.xz.cn/Version_3.5#Settings for documentation
Forum: Plugins
In reply to: [WP Content Slideshow] WP content slideshow – show 6 postsIf you edit the line:
if ( $counting > 5 ) { /* Do nothing */ }
in the file
content-slideshow.php, you should be able to customise the number of posts you want to see.Note that you will have to do this twice within this file – once for the list of post names, and once for the images to be displayed for each post.
Forum: Plugins
In reply to: Jigoshop & Top menu => items in the cartCan you share the PHP code you are using? It may need to be used outside a loop.
I am essentially looking for an item counter to determine whether I need to show the cart or not.
Thanks
[EDIT: 08/01/2013]
I managed to get this to work for myself. I have it in my theme’ssidebar.phpfile<?php if (!dynamic_sidebar( 'sidebar-cart' )) { $args = array( 'post_type' => 'product' ); $cart_quantity = sprintf(_n('%d', '%d', jigoshop_cart::$cart_contents_count), jigoshop_cart::$cart_contents_count); if ( $cart_quantity > 0 ) sidebar_cart($args); } ?>ADDITINAL NOTES (2012-09-25): Tags seems to be the simplest method up to this point, after finding this article
I have set my tags as “hero” but this does not appear to be limited to any gallery. I am using the shortcode [nggtags id=1 gallery=hero] where the ID would change per gallery.
Is there a way I can use this method, perhaps, without using alternate tags to determine which images are displayed?
Any help on this would be much appreciated. Thanks.
Thanks Takayuki.
I managed to figure out what the problem was. The ‘Default Value’ was being considered as a value, therefore passing the validation on all but the Email Address. A simple fix but it means I have to amend the design of the site for labels where I had not intended to use them in the first place.
Major problem IMO when using this plugin, despite how useful it can be at times.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Doesn't validate, doesn't sentI am having problems with the latest version also. The problem is though, is that it sends but even when I set all to required fields and try to send the email still goes through only asking for the email address, the rest is allowed to be empty.