Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter claudelu

    (@claudelu)

    Must the folder have special CHMOD rights?

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! You don’t need to create a custom template for only changing styles/colors, I recommend using a filter for that purpose. Check out this thread: Changing colors. You can even make this a no-ftp operation by using Code Snippets, which I recommend over functions.php.

    The folder doesn’t need to have special CHMOD rights, but it does need to contain all the template files (check our docs for a full description: Creating a custom PDF template).

    Hope that helps – have a great week!
    Ewout

    Thread Starter claudelu

    (@claudelu)

    Hello

    Thanks for your answer.

    I have put the code in the function.php (with Microsoft Expression Web 4) and have replace it with the old function.php (wp-content/themes/bishop/).

    Must I change something else?

    Kind regards

    Plugin Contributor Ewout

    (@pomegranate)

    No that’s it! Is ‘bishop’ your child theme? Like I said, I recommend Code Snippets for these kind of tweaks. With Code Snippets you don’t need a child theme and don’t need to upload/change any files, much more convenient ??

    Thread Starter claudelu

    (@claudelu)

    Hello

    It did not work ??

    Bishop is my parents theme. Must I create a child theme? I know it is better to create a child theme when I change the codes after updates…

    I can’t understand why it doesen’t work.

    Also when I try to make a custom template for pdf invoice. The new template will not show on the setting panel…

    Maybe it is better to try code snippets but I want to understand why it is not working. I did everything as in the description

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! Yes, I suggest you try Code Snippets first, just to be sure it’s working that way (don’t forget to activate the snippet).
    One reason it may not be seeing your custom template is if your server has put restrictions on plugins reading folder contents, in that case the plugin won’t be able to detect your custom template folder. Otherwise it should always be listed in the dropdown on the Template settings tab.

    Let me know if it works when you add the filter via Code Snippets. By the way, you wrote function.php, if that was not a typo, that could also be the reason – the correct filename is functions.php (with an s).

    Let me know if that helps!
    Ewout

    Thread Starter claudelu

    (@claudelu)

    Hello

    sorry I thought functions.php not function.php

    It has worked with code snippets. ??

    After that, i was looking at the functions.php in my theme, but there was no code pasted.
    Maybe I can′t see my custom template, as you say.

    Thread Starter claudelu

    (@claudelu)

    I know what the problem is.

    Last year they have change the server an they have given me the logins from the old server…

    Thank you very much for your support!

    Plugin Contributor Ewout

    (@pomegranate)

    Ah, must have been frustrating! Glad to hear you found the culprit though ??

    Let me know if you have any other questions! If you can spare a minute, I would really appreciate a plugin review. Thanks in advance!

    Ewout

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change Border color’ is closed to new replies.