-
AuthorPosts
-
November 21, 2019 at 7:23 pm #1158901
Hi all Enfolders ;-)
i need to customize some existing ALB elements and add them as new independent elementsMy STEPS…
1 DONE. Add function avia_include_shortcode_template to functions.php to add /shortocodes as a new element archive directory
2 DONE. Copy the desired element (es postslider) from config-templatebuilder/avia-shortcodes/postslider to shortcodes/postslider
3 DONE. All the customizations made to the new postslider will override the old postslider keeping safe the theme about updates
4 NOW THE REQUEST. I need to create a new postslider_custom element (based on postslider) that will co-exists with old postslider element without overriding it, to use it as a new stand alone independent element.
What code i have to change in postslider_custom to accomplish the last question?
November 22, 2019 at 5:58 pm #1159253Hey idemadv,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaMay 7, 2020 at 1:36 pm #1210712Hi,
i need to know if there’s a function that set the default values of a shortcodes.
In deep i need to set as CHECKED the default value of the “Disable Autoplay” video slide (easyslider)May 12, 2020 at 11:47 am #1212099Hi idemadv,
Well, you can look into this file /enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.php
If you need further assistance please let us know.
Best regards,
VictoriaDecember 22, 2020 at 8:58 pm #1269391Is it possible to customize all the link pickers by modifying the functions.php to accept only ‘subtypes’ => array( ‘no’, ‘manually’ ) INSTEAD OF ‘subtypes’ => array( ‘no’, ‘manually’, ‘single’, ‘taxonomy’ ) ?
The problem is showing when there are a lot of single items or many taxonomies (25.000).
The popup is terribly slow because it load all items in the select.January 4, 2021 at 3:44 pm #1270182Hi,
Thanks for contacting us and sorry for the late reply! Hope you enjoyed the holidays :)
I am afraid that will not be possible by modifying functions.php file. You would need to copy each element to your child theme and adjust the line in shortcode files for that.
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.