Support

Home Forums Social Media Buttons Add-on Need to move social media button

Need to move social media button

Posted: January 24, 2013 at 5:07 pm

Viewing 1 reply thread


United Networks

January 24, 2013 at 5:07 pm

I have my copies of event_list.php and event_list_display.php in /wp-content/uploads/espresso/templates and I found the social media button code in event_list_display.php, but when I try to move it anywhere else it doesn’t work. Here is the code I tried to use:

do_action('espresso_social_display_buttons', $event_id);
  • This topic was modified 11 years, 11 months ago by United Networks. Reason: PHP Code didn't show, still won't show PHP tags...oh well..you get the idea :)


Josh

  • Support Staff

January 25, 2013 at 6:06 pm

Hi there,

That code was deprecated a few versions back. I can suggest using:

do_action('action_hook_espresso_social_display_buttons', $event_id);
Viewing 1 reply thread

The support post ‘Need to move social media button’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso