• Resolved emmasatti

    (@emmasatti)


    Hello,
    I use your plugin on the site https://lmpo.fr/. To display the name of the city and then the price, I modified the post-layout1.php file. Problem: with each update I have to put it back in your folder.
    I tried to put it in my theme folder in a “ymc-smart-filter” folder but it doesn’t work. I also tried in the “mu-plugins” folder, same thing.
    Is there a way for this template to be used by the plugin by putting it elsewhere?
    Thanks for your answer
    Emma

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YMC

    (@wssoffice21)

    Hi!

    Standard layouts that are located in the plugin core are not redefined in the theme. To do this, you should create your own custom layout and then style it to your design. To do this, you should use a filter with the name:
    add_filter(‘ymc_post_custom_layout_545_1’, ‘my_custom_post_layout’, 10, 5); See the plugin documentation – https://github.com/YMC-22/smart-filter Then, in the plugin settings, select the layout with the name Custom layout.
    Thus, you can create any card structure and not worry that the plugin will be updated in the future. We hope this will help you.

    Thread Starter emmasatti

    (@emmasatti)

    Ok, thanks, I’ll look into that.

    Plugin Author YMC

    (@wssoffice21)

    Good Luck!

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