• Resolved wautur

    (@wautur)


    Hi there,

    I would like to show gigs per month, with in between another section of the site. Storting with the current month, then the next, and so on. So the output looks like this:

    – Current month gigs

    – other section of the website

    – Next month gigs (current+1month)

    – Other section of the website

    – Next month gigs (current+2months)

    And so on….

    Is this possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Barry

    (@barryhughes-1)

    Absolutely, though I suspect you’d need to write your own queries and build the custom view yourself with the result of that query/queries.

    Thread Starter wautur

    (@wautur)

    Hi Barry,

    Thanks for your reply.

    I would like to. I’m usung a child theme, but to change this, I have to edit /output/gigpress-shows.php, which is not editable through the child theme.

    What is the right way to edit this file, so I won’t lose the changes after an update?

    Barry

    (@barryhughes-1)

    Generally, it’s best not to edit core plugin files and this file is not a part of the source that was written in such a way as to be overridden.

    With that in mind, all I can really recommend is composing a custom shortcode of your own and building up your own set of queries and display logic to meet your specific goals. In this scenario, that is likely to be the cleanest path.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sort by month’ is closed to new replies.