Submit Page – is Post –

Home Forums Calendar Products Community Events Submit Page – is Post –

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20930
    Matt
    Member

    Currently editing the site:
    http://www.akronohiomoms.com/events/community/add/
    You can see the decent form rendering inside my 580px space. I have concerns with the fact that this is rendering inside my POST template, complete with publish date, social share, and other not so form related items.

    I know this could be stripped out via the theme (not sure how yet, suggestions?) but can you offer any community theme suggestions to change this form from a post type to a page type? Maybe being able to add a prefix to this page would be helpful too…
    – matt

    #20974
    Jonah
    Participant

    Hi Matt,

    The Community Events plugin currently uses your theme’s page.php template and if there are things you want to remove from the template only on the community pages you’ll need to use these two conditional checks in PHP to determine whether you are on one of the community pages and if so, display or don’t display certain things:

    if(tribe_is_community_my_events_page()) {
    echo 'this is the my events community page!';
    }

    if(tribe_is_community_edit_event_page()) {
    echo 'this is the add/edit community events page!';
    }

    …you could also just hide things in CSS by targeting either the .tribe_community_list or .tribe_community_edit body classes.

    Does that help?

    – Jonah

    #21116
    Matt
    Member

    That is exactly what I needed, thank you!

    #21117
    Matt
    Member

    Actually, where can I find a list of function calls like this to manage the same thing, like the regular (non community) calendar ?

    #21118
    Matt
    Member

    Never mind, FOUND IT! silly question….

    #21803
    Rob
    Member

    Glad to hear you’re all set here, Matt. Thanks for confirming as much. If you need anything else down the road don’t hesitate to let us know.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Submit Page – is Post –’ is closed to new replies.