Title: dadadmin's Replies - page 2 | WordPress.org

---

# dadadmin

  [  ](https://wordpress.org/support/users/dadadmin/)

 *   [Profile](https://wordpress.org/support/users/dadadmin/)
 *   [Topics Started](https://wordpress.org/support/users/dadadmin/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dadadmin/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dadadmin/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dadadmin/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dadadmin/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dadadmin/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 16 through 30 (of 35 total)

[←](https://wordpress.org/support/users/dadadmin/replies/?output_format=md) [1](https://wordpress.org/support/users/dadadmin/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/dadadmin/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/dadadmin/replies/page/3/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image Gallery Slider For ACF] Gallery with repeater field](https://wordpress.org/support/topic/gallery-with-repeater-field/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/gallery-with-repeater-field/#post-9782609)
 * For anyone else that is looking to do this I was able to achieve this by changing
   get_field to get_sub_field.
 * frontend-gallery-slider-for-advanced-custom-field/includes/shortcodes/fagsfacf-
   slider.php
 * on line 111 change
 *     ```
       $images = get_field($acf_field_value);
       ```
   
 * to
 *     ```
       $images = get_sub_field($acf_field_value);
       ```
   
 * I would much rather be able to hook into the plugin instead of overwriting plugin
   code, but I’m not sure how. The only other drawback is now it can ONLY be used
   on sub fields. In my case it is fine because I am only using it in one location
    -  This reply was modified 8 years, 5 months ago by [dadadmin](https://wordpress.org/support/users/dadadmin/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom order for events](https://wordpress.org/support/topic/custom-order-for-events/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-order-for-events/#post-8470196)
 * As of right now, no. The all dont have a location, they are all in the same category
   and I don’t want the order to be alphabetical, I want to be able to set the order.
   I was thinking maybe a custom field or attribute, but I wouldn’t know how to 
   add that to the short code to display properly
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP FullCalendar] No events past May 8th](https://wordpress.org/support/topic/no-events-past-may-8th/)
 *  [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [10 years ago](https://wordpress.org/support/topic/no-events-past-may-8th/#post-7291135)
 * I am having this same issue, after updating to the newest Event Manager today.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] FullCalendar not displaying events after 8 May since EM update to 5.6.3](https://wordpress.org/support/topic/fullcalendar-not-displaying-events-after-8-may-since-em-update-to-563/)
 *  [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [10 years ago](https://wordpress.org/support/topic/fullcalendar-not-displaying-events-after-8-may-since-em-update-to-563/#post-7289672)
 * Same issue as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Advanced Custom Fields File with Events Manager](https://wordpress.org/support/topic/advanced-custom-fields-file-with-events-manager/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/advanced-custom-fields-file-with-events-manager/#post-7174012)
 * I rewrote my code and got it to work. I know there have been some other people
   in the past who had the same issue, so its a an easy way to attach a file to 
   an event using ACF File Field
 *     ```
       <?php
                   $events = EM_Events::get(array('category'=>'36'));
                   foreach( $events as $EM_Event ){
                       $event_id = $EM_Event->output("#_EVENTPOSTID");
   
              // change this with the ID of the event
       $file = get_field('more_details', $event_id);
   
        ?>   
   
       <div id="eventlist">
       <?php echo $EM_Event->output("#_EVENTIMAGE");?>
       <h3><?php echo $EM_Event->output("#_ATT{sub_headline}");?></h3>
       <a href="<?php echo $file;?>">MORE DETAILS</a>
       </div>
   
         <?php } ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Advanced Custom Fields File with Events Manager](https://wordpress.org/support/topic/advanced-custom-fields-file-with-events-manager/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/advanced-custom-fields-file-with-events-manager/#post-7174001)
 * The ACF support told me this
 * If the events are just a custom post type and you can get the ID of the event,
   you can pass it to the second parameter of get_field() like this:
 *     ```
       $event_id = 99; // change this with the ID of the event
       $file = get_field('more_details', $event_id);
       echo $file;
       ```
   
 * Where 99 is the ID of the event.
 * I’d like to use this in a list though. How do I get $event_id to equal an event
   id of the query, not a specific event?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Past Events and Advanced Custom Fields](https://wordpress.org/support/topic/past-events-and-advanced-custom-fields/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/past-events-and-advanced-custom-fields/#post-6762508)
 * How would I do that?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget CSS Classes] Gravity Forms Conflict](https://wordpress.org/support/topic/gravity-forms-conflict-5/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/gravity-forms-conflict-5/#post-5852786)
 * Nope, no add-ons, just simple gravity forms.
 * Here’s all my info if that helps:
    PHP Version 5.4.38 MySQL Version 5.5.40 WordPress
   Version 4.1.1 Gravity Forms Version 1.9.2
 * I did some further testing, and it seems like its a combination of 3 plugins.
   GF, Widget Classes and Page-list. GF fails to work with either or both of the
   other plugins activated, and only works when I have both deactivated. I’m not
   sure if this is a bigger wordpress 4.1.1 issue or not.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget CSS Classes] Gravity Forms Conflict](https://wordpress.org/support/topic/gravity-forms-conflict-5/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/gravity-forms-conflict-5/#post-5852761)
 * Yes, I did notice that this issue started happening once I added my licence and
   upgraded to the newest version. Is there anything else we can do, I really like
   both plugins and would love to be able to use them both.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Menu Item Custom Fields] Shortcodes in fields](https://wordpress.org/support/topic/shortcodes-in-fields/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-in-fields/#post-5580030)
 * i tested quite a few things like adding filters, but to be honest I dont know
   enough about the plugin code, or writing shortcodes to really do much more.
 * Someone else designed the theme for me. They added in the custom fields in menu
   items for me but hardcoded divs. I want to change the hardcoded divs to be my
   event shortcode, so that I can have my site update dynamically instead of having
   to manually change my menu content everytime and entertainment act changes.
 * I am using the Events Manager plugin, and just need my shortcodes to work when
   i put them in the custom fields.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Conditional Custom Attributes](https://wordpress.org/support/topic/conditional-custom-attributes/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/conditional-custom-attributes/#post-4549405)
 * I think my ticket terminology is confusing things.
 * Essentially, I just need a custom attribute that is a button that links to an
   external url.
 * 
 * I need the whole div and the contents within the div to not display if there 
   is no value in that attribute. Right now, the div is not outputting a specific
   value if I do not define one, however, the div itself is still displaying on 
   the page.
 * [http://192.185.167.175/~laurente/belle/promotions/](http://192.185.167.175/~laurente/belle/promotions/)
   
   Bobby rush has a value for buy tickets, and it links to that url Hot 8 Brass 
   Band has no value for buy tickets, so it doesn’t link anywhere but the button
   itself still shows up
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Conditional Custom Attributes](https://wordpress.org/support/topic/conditional-custom-attributes/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/conditional-custom-attributes/#post-4549375)
 * is the not free code linked directly to the built in booking system? My ticket
   button is for an external ticket booking system. I created it as a custom attribute
   because it links to an external url in a new tab.
 * If I attach that conditional placeholder, it makes the ticket link disappear 
   for an event that has a buy ticket button attribute
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Conditional Custom Attributes](https://wordpress.org/support/topic/conditional-custom-attributes/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/conditional-custom-attributes/#post-4549367)
 * I am going to have a full list of event, some of these events will be free, and
   therefore wont need a buy tickets button, some of them will cost money and need
   to be linked to an external site to purchase the tickets.
 * I created the custom attribute for the events listing to link to whatever I set
   the custom attribute to on the individual event.
 * I want my event listing to only output the custom attribute if I actually have
   a url filled into the custom attribute field.
 * It’s displaying the buy ticket button for an event that does not have anything
   filled into the buy tickets field in the event listing.
 * I think the solution I am looking for is some kind of conditional on the attribute
   where the shortcode for the attribute only appears if there is a value for the
   attribute inside an individual listing, however, I do not know how to do that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Conditional Custom Attributes](https://wordpress.org/support/topic/conditional-custom-attributes/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/conditional-custom-attributes/#post-4549347)
 * Whoops! It hardcoded the short code
 * a href=”#_ATT{Buy Tickets}”Buy Tickets
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Conditional Custom Attributes](https://wordpress.org/support/topic/conditional-custom-attributes/)
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/conditional-custom-attributes/#post-4549346)
 * It’s not quite working like that.. here is my page
    [http://192.185.167.175/~laurente/belle/entertainment/](http://192.185.167.175/~laurente/belle/entertainment/)
 * One event has tickets, one event doesn’t
 * My shortcode for the page is [Buy Tickets](https://wordpress.org/support/users/dadadmin/replies/page/2/?output_format=md#_ATT{Buy Tickets})
 * It’s outputting the buy tickets button even when i leave the custom attribute
   on the event listing field blank

Viewing 15 replies - 16 through 30 (of 35 total)

[←](https://wordpress.org/support/users/dadadmin/replies/?output_format=md) [1](https://wordpress.org/support/users/dadadmin/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/dadadmin/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/dadadmin/replies/page/3/?output_format=md)