Help Desk

What are these links at top of submission page?

  • Posts: 30 Topics: 11
    | Permalink

    Hi – I just bought several EC add ons, including community submissions. At the top of the page where they can submit an event, it repeats the line from the calendar:

    Have an event you’d like to submit? Click here! [They are already on this page, so why is link at top? It takes them to page they’re on.]

    And then there is another link near the top of the page:
    class=”tribe-button tribe-button-secondary” >
    View Your Submitted Events

    This is confusing and I don’t know how to get rid of it or modify it so it makes more sense.

    Thanks!

    Posts: 5872
    | Permalink

    Hi Kristine

    The link to add an event appears to have been added to your site on your end. Was it possibly added in Events » Settings » Display » Add HTML before event content?

    Thanks
    Courtney 🙂

    Posts: 30 Topics: 11
    | Permalink

    Yes, I added that. But when someone clicks on the link to add an event,
    they see this at the top of the page:

    class=”tribe-button tribe-button-secondary” >
    View Your Submitted Events

    I don’t want them to see that. I also don’t want them to see this:
    Have an event you’d like to submit? Click here
    !
    Because clicking that takes them to the page they’re already on. It’s a
    loop. If you go to the page you will see:

    http://towsonflyer.com/calendar/community/add
    http://towsonflyer.com/calendar/

    Thank you!

    Posts: 30 Topics: 11
    | Permalink

    Hi – Did you get my reply? Still trying to work this out. Thanks!

    Posts: 5872
    | Permalink

    Hi Kristine

    I’m not seeing the CSS code:

    class="tribe-button tribe-button-secondary"

    I’ve tested in Chrome, Firefox, and Safari. What browser are you using? Can you send me a screenshot displaying that information?

    Thanks
    Courtney 🙂

    Posts: 30 Topics: 11
    | Permalink

    Hi – Hoping to get an answer to this …? Thanks so much!

    Posts: 5872
    | Permalink

    Hi Kristine

    I’m not seeing the CSS code:

    class="tribe-button tribe-button-secondary"

    I’ve tested in Chrome, Firefox, and Safari. What browser are you using? Can you send me a screenshot displaying that information?

    Thanks
    Courtney 🙂

    Posts: 30 Topics: 11
    | Permalink

    Hi – The code has disappeared (which is good!). But at the top of the page where community members input their event, it still says “Have an event you’d like to submit? Click here!” But they’re already on that page, so it’s just circular. How can that be removed from the top of this page? http://towsonflyer.com/calendar/community/add

    Thanks!

    Posts: 5872
    | Permalink
    Correct Answer

    Hey Kristine

    Can you add the following code to your child theme, or in Appearance » Customize » Additional CSS?

    .tribe_community_edit 
    .tribe-events-before-html p {
        display: none
    }
    

    Let me know if that works.

    Thanks
    Courtney 🙂

    Posts: 5872
    | Permalink

    You could also try to add this snippet to either your child theme’s functions.php file or use the My Custom Functions plugin. 

    function tribe_custom_events_message() {
        if ( ! tribe_is_community_edit_event_page() ) {
            echo 'Have an event you'd like to submit? <a href="http://towsonflyer.com/calendar/community/add">Click here!</a>';
        }
    }
    
    add_action( 'tribe_events_before_html', 'tribe_custom_events_message' );
    

    Thanks
    Courtney 🙂

    Posts: 30 Topics: 11
    | Permalink

    This worked: .tribe_community_edit
    .tribe-events-before-html p {
    display: none
    }

    thank you!

    Posts: 5872
    | Permalink

    Thanks Kristine

    Glad you got this sorted out.

    Courtney 🙂

    | Permalink

The topic ‘What are these links at top of submission page?’ is closed to new replies.