Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Select as 'Featured post' in admin

Started by jech 9 years ago · 0 replies · 841 views
9 years ago

Is there a way in the admin section to have a dropdown which returns and select a specific page under '/blog' folder.
for example.

in my themes/MY_THEME/blueprint/blog.yaml

featured:
type: pages
show_all: true

Then in admin UI you'll have a 'select option' which only shows pages under 'blog' ? Thanks!

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Japhy, 2 weeks ago
2 269 4 days ago
Forms & Blueprints · by FrViPofm, 4 weeks ago
5 329 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2319 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 781 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 871 10 months ago