Support » Plugin: CampTix Event Ticketing » Change order of Tickets listed on my page

  • Resolved bufftom


    Hi, I just installed this and I like how simple and clean it is. I’m wondering if there’s a way to change the order that my tickets are listed on my page. I’m assuming they’re ordered by an ID number of some kind but I’m not sure where to edit that. I was able to edit the php file to remove the “Remaining” column so I’m in the right area I’m pretty sure. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Konstantin Kovshenin


    Hi there! You should be able to change the order of the tickets by changing their publish date. Also, you should not edit the plugin code to hide stuff, as you will loose your changes when you update. Instead, you can use CSS to hide the remaining column.

    Hope that helps!

    Thanks for your quick response. I’ve undone my change to the php file as you suggested and I’m not sure which of the camptix css files to edit. I’m new to WP and I’m seeing a lot of plugins that will allow css edits on the “front end”. Could you send me in a direction that works for you? Thanks.

    Plugin Author Konstantin Kovshenin


    You don’t have to edit any of the CampTix CSS files either. You’ll need to do Custom CSS outside of the plugin, like with the Jetpack Custom CSS module, or other CSS-editing plugins out there. You’ll have to learn a little bit of CSS, but this should get you started:

    .tix-column-remaining { display: none; }

    Hope this helps!



    I have the same original question that bufftom had – How can you change the order of the tickets query – right now i see that its selecting all posts with post_type tix_ticket , but there doesn’t seem to be a way to order it by publish date, it seems it’s ordering it by the wp_posts.ID

    Plugin Author Ian Dunn


    You can use the pre_get_posts filter to modify the order with a little bit of code. That will get called on all queries, though, so you’ll probably want to make sure that the current query you’re looking at is searching for the tix_ticket post type.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change order of Tickets listed on my page’ is closed to new replies.