iantresman
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] Point in a TAG problem at IFHave you tried using single quotes when tag names contain a dot, eg.
[if tag='1.7']?Forum: Plugins
In reply to: [Custom Content Shortcode] Ordering posts by historical dates (B.C. and A.D.)One way this could be resolved, is with a new feature. In addition to
orderby=field_num, it would be useful to haveorderby=field_date, where the field contents is treated as a date.I have a field containing an event date, e.g. 1 Oct, and I can format it as a date using [format date=”…”]. I just can’t order it.
Forum: Plugins
In reply to: [Custom Content Shortcode] CCS Help file updatedShould now work without a password
Forum: Plugins
In reply to: [Custom Content Shortcode] CCS Help file availableAre there any other undocumented features, in addition to
[format split]?Forum: Plugins
In reply to: [Custom Content Shortcode] Shortcodes not working inside linksThis also works (this is the CCS workaround, so no extra workaround required):
[link field=URL custom=true]Go to Website[/link]- This reply was modified 4 years, 11 months ago by iantresman.
Forum: Plugins
In reply to: [Custom Content Shortcode] Playing with [calc]Correction: You can also use the constants: pi() and exp(1).
Forum: Plugins
In reply to: [Custom Content Shortcode] CCS Help file availableNo problem, but you did most the work. I just grouped all your markdown files together, and then viewed them in my Browser, and then printed as a PDF.
It still needs some work as all the examples converted into images, so they are not searchable, and I want to add some information on several undocumented features.
But if you were able to display all your markdown files on one page, that would be a better optionas it would be inside your program, and could be searched using the Brower “find on page”.
Forum: Plugins
In reply to: [Custom Content Shortcode] Format combine?I’m pretty sure that something like the following should work:
[set combinedfield][field myfield] -- [field myfield2][/set]Forum: Plugins
In reply to: [Custom Content Shortcode] Variables in [pass list]?Does this do it:
[set x]2016[/set] [set y][today format=Y][/set] [pass vars] [-pass list={X}~{Y}] {-Item} [/-pass] [/pass]It will show:
2016 2017 2018 2019 2020 2021Thanks to @polarracing for heads up here.
Forum: Plugins
In reply to: [Custom Content Shortcode] Append to a variableTry:
[set variablex]A[/set] [loop count=5] [set variablex][get variablex] and B[/set] variable x = [get variablex] [/loop]Shows:
variable x = A and B variable x = A and B and B variable x = A and B and B and B variable x = A and B and B and B and B variable x = A and B and B and B and B and BForum: Plugins
In reply to: [PDF.js Viewer] fullscreen_target command in shortcodeYes please, I’m after this too in the Classic Editor
Does this help:
“Strip whitespace from custom field“.There are more pointers if you search Google for ACF Strip spaces.
This works for me:
[set telephone]+44 123 456 7890[/set] Tel: [get telephone] [set telephone2][format split=' ' part=1][get telephone][/format][format split=' ' part=2][get telephone][/format][format split=' ' part=3][get telephone][/format][format split=' ' part=4][get telephone][/format][/set] Tel2: [get telephone2]- This reply was modified 5 years, 2 months ago by iantresman.
Could you “split” (and rejoin) the phone number using the space character as a separate?
Forum: Plugins
In reply to: [Custom Content Shortcode] Changing the date formatSo that’s how. @polarracing you have been a star. 🙂