-
Hello! Briefly, I'm trying to figure out how to tell a widget on a landing page where to pull content for the widget from. My website currently has a homepage and a separate landing page for content that is intended to be useful to my students. I created students landing page using these instructions. That landing page is created with One of the things I would like this landing page to include is a widget containing currently available opportunities to get involved in research. I'm trying to decide if I prefer the look of the portfolio widget or the featured content widget for this section. So, I've added both widgets to the students landing page for now. The portfolio widget is The featured content widget is I kept I've read Build your homepage with Wowchemy Page Builder, Portfolio: Filter Content, and Featured content, but the answer isn't jumping out at me. I've also done a little bit of experimenting. For example, if I change However, when I change A slightly different, but related question is why does I apologize for the long question, but I wanted to be thorough, and hopefully write a question that makes sense. Any guidance is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out! Here's how I accomplished what I was trying to accomplish step-by-step, in case it's useful to anyone else. Step 1. Create a landing pageI followed the guidance on Wowchemy's Create a landing page documentation for this step. As a reminder, landing pages don't necessarily contain much actual content. They contain widgets that link to the content.
Step 2. Add widgets to the landing pageI followed the guidance on Wowchemy's page builder documentation for this step. I think I want to create the individual jobs (or job categories) as "blog posts" then display them on the students page in a portfolio widget or a featured content widget. I'm playing around with both. Add a welcome section
Add a portfolio widget to the students landing page
Step 3. Add content to the widgetsIndividual content pages seem to always go in folders. The folders contain For the research opportunities widget on the students page, I created a new folder called You tell markdown document that creates the widget (i.e., If you want an image on the content page, it needs to be stored in the same folder as the |
Beta Was this translation helpful? Give feedback.
I figured it out!
Here's how I accomplished what I was trying to accomplish step-by-step, in case it's useful to anyone else.
Step 1. Create a landing page
I followed the guidance on Wowchemy's Create a landing page documentation for this step. As a reminder, landing pages don't necessarily contain much actual content. They contain widgets that link to the content.
content/students
folder.index.md
insidecontent/students
, and add a YAML header. This will be a widget page like the homepage.index.md
.config/_default/menus.yaml
name:
toStudents
(or whatever you want to appear in the nav bar)url:
to'studetns/'