jgateman
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] Conditional author description problemYou need to close your [if]. Try putting [/if] at the very end.
[field=author]
[field avatar]
[field author meta=user_email]
[if field=author meta=description value=empty]
C’est vide!
[else]
[field author meta=description]
[/if]Forum: Plugins
In reply to: [Custom Content Shortcode] IF statement inside nested repeatersAwesome! Thank you very much! You are the best!
Forum: Plugins
In reply to: [Custom Content Shortcode] IF statement inside nested repeatersPerfect! That worked. I noticed some of the entries in the site are “off” with no capital or “Off” with a capital and the value has to match exactly. Is there a way to write it to look for both values “off” and “Off”? Do I just put an additional if statement in for the other “off”? Thanks!
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF Repeater FieldsThank you very much!
I am sure I will have other questions in the future as I get to see what this plugin can do. Since I don’t understand php very well, this makes it much easier now for me to build complex website functionality.
All the best!
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF Repeater FieldsGot it figured out!
[repeater field=”program_day” num=”26″]
[-repeater field=”exercise”]
a href=”index.php?p=[field exercise_post_id]”>[field exercise_name]
[/-repeater]
[/repeater]This does exactly what I need. Took out the tags on the link to display it above. What a great plugin. Please keep on supporting this gem!
In regards to the code that Jason pointed out above…
I have 2 recurring membership levels that have the same monthly subscription amounts of $8.95/month, but have 2 different trial periods before the recurring billing begins. 1 is 60 days and 1 is 30 days.
If I manually upgrade or downgrade the user in the WP admin and use the above code to not cancel the previous subscription, will the manual adjustment change the trial period accordingly and still keep the $8.95 recurring charge in place? For instance if someone was in day 45 of the 60 day trial and they got downgraded to the 30 day trial plan, would they start being charged the $8.95? Vice versa, if someone was on day 28 of the 30 day trial and they were manually upgraded to the 60 day trial plan, would the extra trial time be added before the recurring $8.95 was starting to be billed?