wpman
Forum Replies Created
-
Thanks,I have try this instruction,but it’s not what I want. I means last name in Account Details page. https://i.imgur.com/CbhVS2B.jpg
I try actions and filters,but it didn’t work.
add_filter( 'woocommerce_billing_fields' , 'remove_billing_fields' ); function remove_billing_fields( $fields ) { unset($fields['billing_last_name']); return $fields; }
Forum: Plugins
In reply to: [WP Crontrol] How to get post id in my hook?I found the answer. I haven’t query post first.
Forum: Plugins
In reply to: [Comments - wpDiscuz] “Confirm your subscription” phraseHi,
I found the solution.but can you add new phrase for second situation in future release ?Because user will know clearly what to do in current situation.
For example:
First situation phrase:Please check your email.
Second situation phrase:Click to confirm.Forum: Plugins
In reply to: [Comments - wpDiscuz] add filter for post linkThis is another solution:
https://www.ads-software.com/support/topic/replace-post-link-in-email-content/Forum: Plugins
In reply to: [Comments - wpDiscuz] Replace post link in email content?Thanks, it worked!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Replace post link in email content?The link is long and ugly.
https://drive.google.com/file/d/0B4BrGeTR-ESZUzZqSDF0N21oN3M/view?usp=sharingForum: Plugins
In reply to: [Comments - wpDiscuz] add filter for post linkThis is my permalink structure:
https://www.domain.com/blog/%post_id%/%postname%/I want to replace it with https://www.domain.com/blog/%post_id%/ and only in email content,but it doesn’t work.
Here is my code:function custom_link( $url, $post, $leavename=false) { if(is_single()){ $url = str_replace($post->post_name.'/','', $url ); } return $url; } add_filter( 'post_link', 'custom_link', 10, 3 );
It works but I don’t want to replace it across my site:
function custom_link( $url, $post, $leavename=false) { $url = str_replace($post->post_name.'/','', $url ); return $url; } add_filter( 'post_link', 'custom_link', 10, 3 );
- This reply was modified 8 years, 2 months ago by wpman.
Forum: Plugins
In reply to: [Comments - wpDiscuz] add filter for post linkThanks,It work!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Shortcode next to “Leave a reply” phraseI have 2 recommend:
1.we can display what we want if you can create HTML content block for form field.
2.Have you think to integrate Caldera form plugin? Because this plugin is free and powerful. It has many action hook api you can use. I think we can do many things in comment form and display many things in comments. I will buy this addon if you can integrate it.Thanks
Forum: Plugins
In reply to: [Comments - wpDiscuz] Disable vote downThanks,it work!
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] integrate Mymail pluginI’m looking forward to it!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Plugin's WPML compatibilityWPML compatible +1
This is sample: https://tabbervilla.com/wordpress-post-tabs-pro
See ‘External Links as Tab Title”
Will you develop addon plugin if it is not possible for current version ?Yes,I want to move it to live site.