• Resolved Pixelwars

    (@pixelwars)


    Hello,
    We are the Pixelwars team, a developer group creating WordPress themes and selling them on ThemeForest. To enhance the visual appeal of our themes, we use the Prime Slider plugin. However, we have received feedback from our customers regarding a recurring issue.

    The Issue:
    After performing the demo import process, some content is missing. Upon investigation, we found that this happens because several Core Widgets of Prime Slider are disabled by default. To resolve this, customers need to manually enable all Core Widgets from the plugin’s settings page.

    Our Expectations:

    • Could all Core Widgets be enabled by default?
    • Alternatively, is there a way to automate enabling these settings during the demo import process?
    • If there is a way to enable all Core Widgets programmatically via a theme-side code solution, that would be an excellent option for us.

    Prime Slider is an excellent plugin that enhances the visual quality of our themes, and we are delighted to offer it to our customers. We look forward to your suggestions or guidance on resolving this issue.

    Thank you in advance!
    Pixelwars Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear Pixelwars,

    Thank you for reaching out to us and sharing your requirement! By default, we don’t enable all core widgets, but we’ve reviewed your request and prepared a custom code just for you to enable all core widgets by default. Simply add the all core widget names to the custom code’s widget name list.

    We’ve already added three widgets for testing but we request you to add all core widgets name there. To implement this, go to your Theme File Editor > Functions.php file and add the custom code. I hope this resolves your requirement!

    Here’s your custom code:

    add_action('init', function () {

    ? ? $options = get_option('prime_slider_active_modules', []);

    ? ? if (!is_array($options)) {

    ? ? ? ? $options = [];

    ? ? }

    ? ? // List of all widgets

    ? ? $all_widgets = [

    ? ? ? ? 'elysium',

    ? ? ? ? 'fiestar',

    ? ? ? ? 'mercury',

    ? ? ? ? // Add widgets here

    ? ? ];

    ? ? foreach ($all_widgets as $widget) {

    ? ? ? ? $options[$widget] = true;

    ? ? }

    ? ? update_option('prime_slider_active_modules', $options);

    });

    Thanks.
    Best Regards,
    Hasib Ali

    Thread Starter Pixelwars

    (@pixelwars)

    Dear Hasib Ali,

    Thank you so much for your swift response and for providing a custom solution to address our request. We truly appreciate the effort and attention you’ve given to our feedback.

    We will proceed with implementing the provided code and will add all the core widget names as instructed. It’s great to see such proactive support from your team, and it makes working with Prime Slider even more enjoyable.

    Once again, thank you for the detailed explanation and your help. We will test the solution and get back to you if we have any further questions.

    Best regards,
    Pixelwars Team

    Dear @pixelwars,

    Thank you so much for your valuable feedback, We will request you to check it and let us know the update. Don’t forget to let us know if you need further assistance.

    Thanks in advance.

    Best Regards,
    Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.