Fi Fi P
Forum Replies Created
-
Forum: Hacks
In reply to: JQuery TroubleThanks for your response but I don’t understand. Do I need to add that code: wp_enqueue_script() somewhere? It is to go in functions.php?
Forum: Plugins
In reply to: [Visual Form Builder] CSSOkay so I found a solution anyway using a youtube tutorial that was much better. By adding the code below to my functions.php
add_filter(‘visual-form-builder-css’, ‘__return_false’);
I then copied the plugins css info into my child theme style.css file and it worked great!
Now all I need to know is how to style the form that is emailed once a customer has filled it in?!
Thanks I will check that out now!
Single category page.
My category listing page is correct and displays a list of all of my categories as it uses a template I have created.
The problem is the page for a chosen category from that list, Cinema for example. So it is the page with the list of all of the Cinema events.Forum: Plugins
In reply to: [Post Tags and Categories for Pages] Effecting my Events CalendarYou can ignore the above problem, the issue was my permalink for the more tag:
<div class=”more-linkhm”>“More</div>
Do you know the permalink I need to make the word More a link to the featured post?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] IE 8 problemsThanks Phil,
My way of getting around it was to create a new page and call my events to that and it all worked,
FionaThat works! thank you for your help
Hi Phil Below is the code I pasted in with 1,3 update. The plan is to have the next three events of that category if there are any but not including the current event, thanks for your help.
/* This snippet will override default #_CATEGORYNEXTEVENTS placeholder by adding additional search attributes particularly limiting the events list to 3 under single category page. */ add_filter('em_category_output_placeholder','my_em_placeholder_mod',1,3); function my_em_placeholder_mod($replace, $EM_Category, $result){ switch( $result ){ case '#_CATEGORYNEXTEVENTS': $events = EM_Events::get( array('category'=>$EM_Category->term_id, 'scope'=>'future', 'limit'=>1,3, 'order' => 'ASC', 'orderby' => 'event_name') ); if ( count($events) > 0 ){ $replace = get_option('dbem_category_event_list_item_header_format'); foreach($events as $event){ $replace .= $event->output(get_option('dbem_category_event_list_item_format')); } $replace .= get_option('dbem_category_event_list_item_footer_format'); } else { $replace = get_option('dbem_category_no_events_message'); } break; } return $replace; }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Thank you so much for the reply, I have applied that code to my functions and it works to set it to 3 only but I am still getting the current show as an option, below is a link to a selected show and the same show is appearing at the bottom?
Forum: Localhost Installs
In reply to: MAMP crashingTried that first and no answer