paulw80
Forum Replies Created
-
I rolled back the plug-in from version 5 to version 4.4.16?and it has fixed the issue, showing as next run in 60mins now.
- This reply was modified 2 months, 3 weeks ago by paulw80.
Forum: Plugins
In reply to: [WP FullCalendar] Calendar only showing events for current monthok, fixed it!!!
For anyone having this issue comment out the line below in the plug in editor…4 hours later! ??
//$where .= $wpdb->prepare(" AND post_date >= %s AND post_date < %s", $_REQUEST['start'], $_REQUEST['end']);
Forum: Plugins
In reply to: [WP Simple Booking Calendar] Calendar drop downThank you for the help with this > Reply from Bryght Support below for anyone else who may want to change this:
To change the months in the dropdown you’ll have to open plugins/wp-simple-booking-calendar-premium/include/calendarCore.php
Replace the entire ‘for’ statement (line 131-133) with this:
for($d=-6;$d<6;$d++){
$selected = false; if($d==0) $selected = ‘selected=”selected”‘;
$output .= ‘<option ‘.$selected.’ value=”‘ . gmmktime(0, 0, 0, $monthToShow + $d, 15, $yearToShow) . ‘”>’ . wpsbcMonth(gmdate(‘F’,gmmktime(0, 0, 0, $monthToShow + $d, 15, $yearToShow)), $calendarLanguage) . ” ” . gmdate(‘Y’,gmmktime(0, 0, 0, $monthToShow + $d, 15, $yearToShow)) . ‘</option>’;
}Forum: Plugins
In reply to: [WP Simple Booking Calendar] Calendar drop downNo response??
Forum: Plugins
In reply to: [WP Simple Booking Calendar] Calendar drop downSorry, it would be great if I could get it to work like this version I have running on a test server:
https://suntest.opinedesign.co.uk/?page_id=30Forum: Themes and Templates
In reply to: Custom post type – highlighting current menu itemok, to anyone else that may be having this annoying issue….adding the code below to my functions.php file solved the problem.
function add_parent_url_menu_class( $classes = array(), $item = false ) { // Get current URL $current_url = current_url(); // Get homepage URL $homepage_url = trailingslashit( get_bloginfo( 'url' ) ); // Exclude 404 and homepage if( is_404() or $item->url == $homepage_url ) return $classes; if ( strstr( $current_url, $item->url) ) { // Add the 'parent_url' class $classes[] = 'current-menu-item current_page_item'; } return $classes; } function current_url() { // Protocol $url = ( 'on' == $_SERVER['HTTPS'] ) ? 'https://' : 'https://'; $url .= $_SERVER['SERVER_NAME']; // Port $url .= ( '80' == $_SERVER['SERVER_PORT'] ) ? '' : ':' . $_SERVER['SERVER_PORT']; $url .= $_SERVER['REQUEST_URI']; return trailingslashit( $url ); } add_filter( 'nav_menu_css_class', 'namespace_menu_classes', 10, 2 ); function namespace_menu_classes( $classes , $item ){ if ( get_post_type() == 'event' || is_archive( 'event' ) ) { // remove that unwanted classes if it's found $classes = str_replace( 'current_page_parent', '', $classes ); // find the url you want and add the class you want if ( $item->url == '/events' ) { $classes = str_replace( 'menu-item', 'menu-item current_page_item', $classes ); remove_filter( 'nav_menu_css_class', 'namespace_menu_classes', 10, 2 ); } } return $classes; }
Forum: Themes and Templates
In reply to: Custom post type – highlighting current menu itemForum: Plugins
In reply to: [Plugin: Fancytabs] Content not displaying in IE9Thanks WPyogi, checked out the validator and found a few odd ‘code’ tags within the post that were causing the problem, I must have pasted them in from some other site… All working now!
Cheers
Forum: Themes and Templates
In reply to: Links in child pages not highlighting on mouse overHi, its working now – ran the site through the W3C validator and it found a few errors that I have fixed. I had quite a few <!————Comments————–> which are invalid. changed to <!–Comments–> which seems to have sorted the problem!
Thanks for taking the time-out to help me.
Forum: Themes and Templates
In reply to: Links in child pages not highlighting on mouse overBoth menu’s are affected, when a link to another page for example: Security is clicked the css hover effect is not working – this only happens in safari though? weird…
Forum: Themes and Templates
In reply to: Links in child pages not highlighting on mouse overCode below, thanks
[ Moderator note: please wrap code in backticks or use the code button. You forgot to close the backtick. ]
#navwrap { float:left; height:30px; width:980px; margin:22px 0 0 164px; background-color:#a7bdcd; font-size: 14px;font-family: 'Ubuntu', sans-serif;color:#FFF; font-weight:lighter; } ul.dropdown { list-style:none; float:left; width:100%; padding:7px 0px 0px 0px; margin:0px 0px 0px 0px; } ul.dropdown li{ float:right; position:relative; } ul.dropdown a { padding:7px 7px 7px 7px; margin:0px 0px 0px 1px; color:#eee; background-color:#5e819a; text-decoration:none; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s; } ul.dropdown #active a { background-color:#113d5e; } ul.dropdown li a:hover { background:#113d5e; } ul.dropdown li ul a { display:block;border-top:solid 1px #FFFFFF; } ul.dropdown ul { list-style: none; margin:0; padding:0; width:200px; position:absolute; z-index:500; } ul.dropdown li ul { top:23px; } ul.dropdown ul ul { top:0; left:100%; } ul.dropdown ul li { float:none; } ul.dropdown ul, ul.dropdown li:hover ul ul, ul.dropdown ul li:hover ul ul { display: none; } ul.dropdown li:hover ul, ul.dropdown ul li:hover ul , ul.dropdown ul li ul li:hover ul { display: block;} ul.dropdown li * a:hover { background: #5e819a; }
Forum: Themes and Templates
In reply to: Links in child pages not highlighting on mouse overSorry, only seems to be happening in Safari…
Forum: Themes and Templates
In reply to: Links in child pages not highlighting on mouse overIt’s a theme that im building from scratch.
Cheers
Forum: Themes and Templates
In reply to: Custom menu – on mouseover all dropdowns appear!Fixed! Followed this turoial: