• Resolved Manish S

    (@shahmanish877)


    Is there any easy way to modify post grid widget? I want to add filters using URL. How can I apply it? How can I pass $args[‘filter’] to render function of post-grid widget?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Amit Barai Alit

    (@amitbarai013)

    Hi @shahmanish877 ,
    Hope you are doing well.

    Yes, you can simply go to your child theme and create a folder called ‘Template‘ if there’s not any. Afterward, create another folder called ‘Post-Grid‘ and inside that create a PHP file which will be your layout.

    This template will be available in your Layout Settings here: https://d.pr/i/IYZKZv

    You can find the default ones example in: wp-content/plugins/essential-addons-for-elementor-lite/includes/Template/Post-Grid

    I’m assuming you have a development skills to execute the above process

    Thank you!

    Thread Starter Manish S

    (@shahmanish877)

    I don’t want to create any other template. I just need to pass one more argument to wp_query args which is executed on the render function of post-grid widget. Is it possible?

    Amit Barai Alit

    (@amitbarai013)

    Hi @shahmanish877 ,

    We are really sorry to say that, unfortunately, it is not possible to insert the argument wp_query args in the Post Grid widget. In order to insert the argument, you need to create a template separately.

    I hope you understand.

    Thank you.
    Have a good day!

    @shahmanish877

    Did you manage to work out a way to add the filters?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Modify Post Grid Widget’ is closed to new replies.