metapixel

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • metapixel
    Participant

    What do you mean on “remove all customization”? The template is a customized theme.

    metapixel
    Participant

    This reply is private.

    metapixel
    Participant

    We used the following codes that the developer gave us to move the placement of the ticket form:

    functions.php:
    function tribe_move_tickets_in_page() {
    if ( !class_exists(‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’) ) return;
    remove_action ( ‘the_content’, array ( Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(), ‘front_end_tickets_form_in_content’ ) );
    remove_action ( ‘the_content’, array ( Tribe__Tickets__RSVP::get_instance(), ‘front_end_tickets_form_in_content’ ) );
    }
    tribe_move_tickets_in_page();

    custom post type single templates:
    <?php Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance()->front_end_tickets_form(); ?>
    <?php Tribe__Tickets__RSVP::get_instance()->front_end_tickets_form(); ?>

    metapixel
    Participant

    Our theme is customized, what is the specific changes that we need to be done in our theme for it work?

    metapixel
    Participant

    Thanks for the reply!

    My issue for the front end is already resolved. However, we really need to change the RSVP and Woocommerce labels on the creation of tickets even if we should resort to editing the core files. Can you direct me to the files and lines to edit on the core files to replace the RSVP and Woocommerce labels? I’m not that good in php and I’m afraid of looking for it by myself since I don’t want to break the plugin. Your help will be much appreciated. Thanks in advance!

    metapixel
    Participant

    I almost forgot. We also need to change the RSVP and Tickets text headers being displayed in the front end ticket page. Is that possible? Again, thanks in advance.

    metapixel
    Participant

    One more thing. How is this done with the RSVP? I thought it would affect the RSVP form but it’s still being placed after the content. Thanks in advance!

    in reply to: Moving the ticket form in my custom post type layout. #1116256
    metapixel
    Participant

    Don’t mind my previous comment. I already got it to work. Thanks for the help and fast response!

    metapixel
    Participant

    Sorry, I was a bit unclear from what I needed. What I need to do is for the post creation/edit dashboard page of my custom post type with tickets enabled. When I create a new ticket, there is a radio button option for RSVP or Woocommerce. I need to separate the 2 options in the post creation/edit dashboard page, RSVP only for a specific custom post type and Woocommerce only for a different custom post type. Sorry for the misunderstanding and thanks in advance.

    in reply to: Moving the ticket form in my custom post type layout. #1116250
    metapixel
    Participant

    Adding the first code in my functions.php breaks the website. Is there something wrong with the code? This could probably solve my what I’m looking for but I think there’s something wrong with how the code was written.

Viewing 10 posts - 1 through 10 (of 10 total)