wjmisc
Forum Replies Created
-
Thanks, I found out it was due some settings from WPML which cause this issue.
Dear schulte
I am aware of the extra images generated by WordPress. I am fine with that actually.
However the issue is that when I upload an image named “slide1.jpg” and delete them permanently from the Media Library. The slide1.jpg still exist in my upload folder. I was expecting the image in the upload folder to be removed.
Furthermore I tried setting file permission to 777 and repeat the same process but the image still lives on my upload folder.
Is that the expected behaviour?
Forum: Plugins
In reply to: [Contact Form 7] Custom Error MessageAnyone who knows how to use the filter willing to show some examples on how it is done?
Forum: Plugins
In reply to: [Contact Form 7] Custom Error MessageThank you for your response.
I would like to ask how do I use that filter as I am facing some issue trying to use itThis is what I have done which does not work. Would appreciate your guidance here.
$wpcf7->skip_mail = true; $content = __('You have already subscribed to our event.',CURRENT_THEME); $class = 'wpcf7-validation-errors'; $output = sprintf( '<div class="%1$s">%2$s</div>', $class, $content ); add_filter( 'wpcf7_form_response_output', $output, $class, $content, $wpcf7 );
Forum: Plugins
In reply to: [Contact Form 7] 2 succes messagesYou might wanna try this css
.screen-reader-response { background-color: #ff4848; border: 1px solid gray; color: #ffffff; margin-bottom: 20px; padding: 10px; }
Forum: Plugins
In reply to: [Intuitive Custom Post Order] 3.0.3 has broken somethingI got a CPT photo gallery using ICPO.
I realized that when I try to set the [orderby] to ‘menu_order’ and [order] to ‘DESC’, the SQL will be shown as ORDER BY wp_posts.menu_order ASC instead.
[query] => Array ( [post_type] => photo-gallery [paged] => 1 [showposts] => 12 [photo-gallery_category] => [suppress_filters] => 0 [orderby] => menu_order [order] => DESC )
[request] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts JOIN wp_icl_translations t ON wp_posts.ID = t.element_id AND t.element_type = 'post_photo-gallery' JOIN wp_icl_languages l ON t.language_code=l.code AND l.active=1 WHERE 1=1 AND wp_posts.post_type = 'photo-gallery' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') AND t.language_code='cn' ORDER BY wp_posts.menu_order ASC LIMIT 0, 12
Temp Fix:
set [order] to ” and the SQL will be showing
ORDER BY wp_posts.menu_order DESC.Would appreciate if the plugin author would take some time to resolve this issue.
WordPress: 4.1.1
ICPO: 3.0.4