We have various different types of event; some paid, some free, some need registration and some don’t. For the ones that don’t, we’d like to remove the ‘Register’ link from the table view – all the information is on the page with the table and there’s no need for the user to go anywhere else.
The quickest method for this is to just hide the register link on that specific page using CSS. You use the body class of the page and selectors within the Table View to target the table rows. For example:
Note that CSS will only remove the link on THAT page because it uses the .page-id-14398 class which is the post id for that page. So if you then want to do this again on another page you can do:
Obviously 99999 would be the page id, you can find that within the source code – http://take.ms/8tnlq
The other option is to create your own custom template for the table view add-on that does not load a register not link at all, then place it within your themes root directory and call it with your shortcode using the the template_file attribute.
The support post ‘Events Table View Template add-on – remove Register link?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.