Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Theme and Plugin

Started by Ray P (for ICA Surabaya) 9 years ago · 0 replies · 473 views
9 years ago

Hi guys,

Had a problem getting a plugin to check the custom theme first.
How can I do this?

I put in the suggestions on :
https://learn.getgrav.org/cookbook/plugin-recipes

using array_unshift but I can't get the plugin to check the theme first then the plugin /templates directory.

So far had this nightmare that I edited a plugin template to have it destroyed on the plugin next upgrade.
Just wanted the user/theme/template to take precedence and not the user/plugin/template when it comes to twigs.

Can I do that?

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 90 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 449 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 44 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 123 3 months ago