Indexpage
-
I have an indexpage with a list of recipes ordered by title. I reached the limit of 100. Because I have more than 100 recipes, I want to create a second indexpage. I want to split both pages. The first page I want to display the recipes order by title from A-M. And the second page I want to display the recipes order by title from N-K. I think this is the only solution, but I don’t know which shortcode to use. Can anyone help me? Or does anyone has another solution to solve my problem? The shortcode I now use is:
[display-posts category='bijgerecht,diner,drankjes-en-smoothies,lunch,ontbijt,tussendoortjes-en-toetjes' posts_per_page='100' order='ASC' orderby='title']De blog waarbij ik hulp nodig heb is (alleen zichtbaar voor ingelogde gebruikers).
-
Hello Femke,
The first page I want to display the recipes order by title from A-M. And the second page I want to display the recipes order by title from N-K. I think this is the only solution, but I don’t know which shortcode to use. Can anyone help me? Or does anyone has another solution to solve my problem?
If I understand your question correct you want to display all recipes from A-M on page https://femmiefood.wordpress.com/recepten/ and create an additional page for recipes from N-Z, is the correct?
As you didn’t display tags within your sidebar you could create the tags A-M and N-Z, and assign them to your posts. Next you modify your shortcodes slightly by adding the tag attribute.
Display posts A-M:
[display-posts tag='A-M' category='bijgerecht,diner,drankjes-en-smoothies,lunch,ontbijt,tussendoortjes-en-toetjes' posts_per_page='100' order='ASC' orderby='title']
Display posts N-Z:
[display-posts tag='N-Z' category='bijgerecht,diner,drankjes-en-smoothies,lunch,ontbijt,tussendoortjes-en-toetjes' posts_per_page='100' order='ASC' orderby='title']
On https://en.support.wordpress.com/display-posts-shortcode/ you can find the full reference of the [display-posts] shortcode.
Please let me know if you have any further questions!
Best,
Niels -
Hallo Niels,
Volgens mij kan ik ook gewoon in het Nederlands mailen haha….iets gemakkelijk voor mij.
Dus jij geef aan dat ik bij ieder recept een tag kan aanmaken en die vervolgens in de shortcode moet verwerken. Begrijp ik dat goed?
Mijn tags zijn onder de geposte recepten te zien, kan ik die dan wel verbergen?
En een andere mogelijkheid is er dus niet dan mijn index te verdelen over twee pagina’s? Ik vroeg me namelijk ook af in hoeverre ik op mijn indexpagina niet met kolommen kan werken, zodat er in totaal meer dan 100 recepten op kunnen (maar dan dus verdeeld over twee kolommen). Ik denk zelf dat dit niet gaat aangezien ik gelezen heb dat display posts echt een max van 100 heeft.Ik hoor graag van je.
- Het onderwerp ‘Indexpage’ is gesloten voor nieuwe reacties.