Hello,
I would like to make the postlider element sortable the way Masonry is. I don’t want to use the content slider or masonry because I want to display the posts exactly the way the postslider displays them except for, I want users to be able to sort by custom taxonomy (the way you can sort/filter using the masonry based on taxonomy chosen).
I added the following to postslider.php inside the shortcodes directory in my child theme, but I KNOW I’m missing the second part of the sortable puzzle because this only allows me to choose ‘sortable’ in the element in admin. What else do I need to add to this postlider.php to allow for this functionality?
array(
“name” => __(“Sortable?”, ‘avia_framework’ ),
“desc” => __(“Should sorting options based on the taxonomies above be displayed?”, ‘avia_framework’ ),
“id” => “sort”,
“type” => “select”,
“std” => “yes”,
“subtype” => array(
__(‘Yes, display sort options’, ‘avia_framework’ ) => ‘yes’,
__(‘Yes, display sort options and currently active taxonomy’, ‘avia_framework’ ) => ‘yes-tax’,
__(‘No, do not display sort options’, ‘avia_framework’ ) => ‘no’)),
Thank you.
Hey leadingnorth,
Thank you for using Enfold.
I’m sorry but this feature will require modification that is beyond the scope of support. The masonry and portfolio grid elements are sortable because they are using the “isotope” script which is not implemented in the post slider. Please hire a freelance developer or contact our partner, codeable.
// https://kriesi.at/contact/customization
Best regards,
Ismael