WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Exclude Custom Attribute from Showing (5 posts)

  1. Balders
    Member
    Posted 1 year ago #

    Hi there,

    Is it possible to exclude one specific custom attribute from showing on the submission form? It should turn up im wp admin though. I would like to use it just for internal processing.

    Cheers

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    Hi,

    that might be possible by modifying template file at wp-content/plugins/events-manager/templates/forms/event/attributes-public.php

    To use templates: http://wp-events-plugin.com/documentation/using-template-files/

  3. Balders
    Member
    Posted 1 year ago #

    Hi,

    sadly my php is a bit rusty:

    Is it possible to hint me in the right direction?

    Your help is really appreciated.

    Cheers

    Clemens

  4. agelonwl
    Member
    Posted 1 year ago #

    basically, you need to add a new php condition
    e.g.

    <?php if ($name != 'website'){ ?>
     <div class="event-attributes">
      --original code here--
     </div>
    <?php } ?>
  5. Balders
    Member
    Posted 1 year ago #

    Works like a charm!

    Thanks ever so much

    C

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic