twotae
Forum Replies Created
-
Ok I did some research and found a nice plugin called “Add-on Contact Form 7 MailPoet 3”. I took a looked at some code inside and this class did kind of what I want to do.
- MailPoet\Models\Subscriber;
Subscriber class can handle subscriber’s status with its static method
createOrUpdate
, i was able to change his/her status programatically.Thanks Tikweb ??
I’ve tested with normal sign up form and it does work that MP sends new confirmation email to the subscriber and changed his/her status from
unsubscribed
tounconfirmed
.I hope API acts same as normal form.
So there’s no chance I can achieve the same with this API so far.Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] Custom translationAny idea?
Forum: Plugins
In reply to: [WooCommerce] Coupon plugin: change discount rates by quantity@riaan
Thanks for your info.
However, it doesn’t seem the plugin is coupon based.I want to give my customers discount when they only apply coupons and discount rate changed by quantity.
Any idea?
Forum: Fixing WordPress
In reply to: Insert category of taxonomy between custom post type and postVery nice tuto!
I have very few knowledge for both PHP and WordPress,
so this tuto helped me a lot.
I was banging my head against the wall, lol.
I must say thank you firstly.Following lopinsjk’s instruction, i could successfully displayed Custom Post Type(CPT) page with desired URL ??
ex.)- single page: https://sample.com/CPT/category/post_name/
(using single-{CPT_name}.php) - archive page: https://sample.com/CPT/category/
(using taxonomy-{CustomTaxonomyName}.php)
So far so good, but here I need a further instruction for sub categories.
I have some child categories (or maybe grand child categories in future…) under the parent categories and those have some pages.
URL looks like this for pages under the sub categories:
https://sample.com/CPT/category/page_name/So I want URL to look like:
https://sample.com/CPT/category/child-category-slug-name/page_name/
or
https://sample.com/CPT/category/child-category-slug-name/grand-child-category-slug-name/page_name/Need a little tweak for URL,
but I have no clue how I can achieve it.Anyone has idea?