Tahir Yasin
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Customize radio button list HTML@wooassist Thanks for your reply, but its not only radio button list but other dynamic fields are also there to be saved.
Actually I want to have a complex selection like
radio 1 | textfield 1 | textfield 1
radio 2 | textfield 2 | textfield 2
radio 3 | textfield 3 | textfield 3
radio 4 | textfield 4 | textfield 4Add more
If someone clicks Add more, it will add another row.
How can I add such selection and fields on a custom section ‘My Settings’ under WooCommerce -> Settings -> Products ?
Forum: Plugins
In reply to: [WooCommerce] Customize radio button list HTMLbump?
Forum: Plugins
In reply to: [WooCommerce] Input type 'html'bump?
Forum: Plugins
In reply to: [Script Logic] Great plugin but does not show all my scripts.This plugin detects/control all scripts those are registered using wp_enqueue_script and wp_enqueue_style functions. It will not control the scripts that are directly included/printed in header or footer.
Forum: Plugins
In reply to: [Multi Image Upload] images are not shownCurrently the plugin is not using resized images for thumbnails, I am working on it and this will be part of next version.
For now you can resize images with CSS.
For example:
<img src="<?php echo $image; ?>" alt="<?php the_title()?>" class="thumbnail" />
and define class
thumbnail
instyle.css
or your theme.or with inline CSS:
<img src="<?php echo $image; ?>" alt="<?php the_title()?>" style="width:100px;" />
Forum: Plugins
In reply to: [Script Logic] Looks cool, quick questionThanks for liking my plugin. Below are answers to your question.
Is it possible to use fuzzy or partial matching?
Yes, you can form any kind of conditional logic by using WP’s Conditional TagsHow to prevent script x from loading on (https://site.com/page) and its children
is_page
function will returntrue
on target page and its child pagesUsing Slug:
!is_page('page')
or By using ID:
!is_page(x)
replace x with page id
Forum: Plugins
In reply to: [Multi Image Upload] Removing all images and updating post gives errorFixed in V 1.1
Thanks for pointing out!
Forum: Plugins
In reply to: [Multi Image Upload] Conflict with editor uploaderI don’t see issue in current version as of now 3.9.1, which version are you using?
Forum: Plugins
In reply to: [Multi Image Upload] PHP error in footer of adminBug fixed!
Forum: Plugins
In reply to: [Multi Image Upload] images are not shown<?php $images = miu_get_images($post_id); ?>
Above code just returns you array of images but not display images,. You can loop through
$images
to print images in any fashion.To display images do like this.
<?php $images = miu_get_images($post_id=null); foreach ($images as $image): ?> <img src="<?php echo $image; ?>" alt="<?php the_title(); ?>" /> <?php endforeach; ?>
Note:
$post_id
is optional parameter, current post_id will be used if omitted.Forum: Plugins
In reply to: [Multi Image Upload] internal server errorSorry for last response.
This plugin has no such issue, there must be some other plugin that is generating server error.
If you are sure the issue is due to this plugin then please tell me the steps to reproduce the issue?
Forum: Plugins
In reply to: [Multi Image Upload] Upload to Media Library?Yes, it adds a meta box to the posts/pages editor for an upload list. Images are stored in media library as the upload button opens media library popup and you can upload & insert any image.
You may enable it for custom post types too. See installation instructions section
For more details see link below.
https://tahiryasin.wordpress.com/plugins/multi-image-uploadForum: Plugins
In reply to: Create a customized thank you page to show posted data from contactform7I figured out a solution by utilizing the Additional Settings of contact form 7 and placed following code in these settings, it only works for Ajax based form.
on_sent_ok: "var name = $('.wpcf7 input[name=your-name]').val(); var email = $('.wpcf7 input[name=your-email]').val(); $('.wpcf7').hide(); $('.entry-title').html('thank you'); $('.entry-content').html('thank you '+name+' : someone from our office will get in touch with you via '+email+' within 24 hours.'); "
Any suggestions to make it work with a separate thank you page?
Forum: Plugins
In reply to: How to trigger registration email when wp_create_user() calledwell, I found the solution myself.
wp_new_user_notification( $user_id, $plaintext_pass );
solved the problem.
Forum: Fixing WordPress
In reply to: Add special link visible to subscribersHope this will make your life easier, enjoy ??
if(is_admin()) { add_action('admin_menu', 'my_menu'); } function my_menu() { add_menu_page('My Page Title', 'My Menu Title', 'subscriber', 'my-page-slug', 'my_function'); } function my_function() { echo 'Hello world!'; }