Forum Replies Created
-
AuthorPosts
-
justdoit123
ParticipantInteresting, now how I can run Twig lowercase function for shortcodes
my use case, the shortcode I am using return the value in upper case.
I am trying to convert it to lower case, but gives me error. Here is my attempt
My shortcode is: [shortcode x="yr3"]
My attempt to convert to lower case:
{{ [shortcode x="yr3"] | lower}}
https://twig.symfony.com/doc/2.x/filters/lower.htmlin PHP, It can be done by strtolower
like
<?php echo strtolower(do_shortcode('[shortcode x="yr3"]' ));?>Thanks
justdoit123
ParticipantIt turns out this issue from Oxy Agency. Please clod this topic, thanks
August 6, 2018 at 4:07 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10899justdoit123
Participantthank you very much, i will try
August 6, 2018 at 3:57 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10896justdoit123
Participantthank you for great support.
BTW, how do i see list of action like this add_action( 'rwmb_after_save_post' ??One more question, I want to add a html div + small javascript directly to below a metabox custom field in admin, not in header load ??
thanks
August 5, 2018 at 10:39 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10887justdoit123
Participantalso how do i add a js script to a metabox.io custom field in admin edit post ??? thanks
August 5, 2018 at 5:23 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10883justdoit123
Participantyes, i mean combine the two fields into one (after check php if not)
August 4, 2018 at 6:16 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10877justdoit123
ParticipantHow do i add code to combine combine 2 custom fields value into another custom fiel on submit _Post ?? thanks please help
-
AuthorPosts