• Resolved soufiii

    (@soufiii)


    Hi,

    can you add the ability to override the html folder files? in the code you just include the file, so you can test if the file exists in theme folder, if yes then include it from theme.

    Thanks

    • This topic was modified 7 years, 6 months ago by soufiii.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you provide a bit more information so that we understand what you mean. Maybe you can add an example of what you are trying to achieve.

    Thank you

    Thread Starter soufiii

    (@soufiii)

    I have a client who have changed the files in html folder like affiliate_creative_list.php to include other sharing materials.

    now I see in function render in WPAM_Pages_TemplateResponse class that you include the html file from plugin url. I’m wondering if you can use for example the wp function locate_template or any other code to search the html file in theme folder before including it from plugin.

    Hope it’s clear

    Thanks

    • This reply was modified 7 years, 6 months ago by soufiii.
    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for explaining further your requirements.

    I have submitted a message to the developers to investigate further your request.

    Kind regards

    Plugin Author affmngr

    (@affmngr)

    @soufiii,

    I’m wondering if you can use for example the wp function locate_template or any other code to search the html file in theme folder before including it from plugin

    Unfortunately it’s not possible at the moment.

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

The topic ‘override html folder files’ is closed to new replies.