Skip to:
Content
Pages
Categories
Search
Top
Bottom

Move Register/Unregister Button to Event Description Area

  • Hi, I would like to move the Register/Unregister to come up with the event description section, rather than in the header. How might I accomplish this? Is there a bit of code I can copy over into the visual editor? Sorry if this is obvious, I am just getting starting with WP/BP & I am a newbie to coding!

    BTW. Thank you for a great plugin. I’ve looked at every event plugin for BP & this one is by FAR the best one for online events.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of kunalb
    kunalb
    Participant

    @kunalb

    Hi

    Thank! You could try changing line 81 of eventpress/controllers/register.php:
    `add_action( ‘bpcp_ep_event_loop_action_meta’, Array( &$ep_views, ‘bp_register_button’ ) );`
    to
    `add_action( ‘bpcp_ep_event_single_before_home’, Array( &$ep_views, ‘bp_register_button’ ) );`

    This isn’t exactly the best method as it won’t survive a plugin update, but is the simplest way to go about it.

    If you’re feeling comfortable with WP/BP, try removing the action from `bpcp_ep…_meta` using http://codex.wordpress.org/Function_Reference/remove_action and adding it back in to the other hook by `add_action` in your theme’s functions.php, etc.

    PS I don’t log into WP/BP forums often—you’ll get a faster response on the google group for this plugin (https://groups.google.com/forum/#!forum/eventpress)—as I’ve mentioned in the readme.txt.

    Avatar of kunalb
    kunalb
    Participant

    @kunalb

    er, thanks***!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.