• Resolved UnderABrightSky

    (@underabrightsky)


    I’m using WordPress as CMS for a portfolio website. The post are not blogposts, but productions I’ve made. So I’m building a very custom theme for this.

    On the homepage I want to show specific productions in a specific order. I wonder, if it’s possible to make a custom field (or something like that) with a numeric value, in the post-writing part of the admin area. Kind of like this:

    Production A
    Production B (shown_on_homepage = 1)
    Production C
    Production D (shown_on_homepage = 3)
    Production E (shown_on_homepage = 2)

    So the loop of the homepage shows (in this order):
    Production B
    Production E
    Production D

    1) How do I set up a custom field (or a better solution), that I can write these numeric values to?
    2) How do I get the loop to only show the posts having this numeric value, and do so in the right order?

    I’ve searched the forum, but couldn’t find any parts of a solution to this. If it’s been answered before, please link to it.

    Any suggestions would be highly appreciated! ??

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Showing specific posts in a specific order on homepage’ is closed to new replies.