Coolav
Forum Replies Created
-
Forum: Plugins
In reply to: [WP CSV] No posts found despite there being lots of posts thereThanks Paul,
I’ll muck around in the code and server logs for a bit, and try to get it to work for me.
Best regards
Coolav
Forum: Plugins
In reply to: [WP CSV] No posts found despite there being lots of posts thereHi, I just tried to export the bookings, but no posts were found. Perhaps due to the recent update in WooCommerce Bookings creating problems? The changelog:
2015.02.11 – version 1.7.1
* Fix – get_bookings_in_date_range_query filtering.
* Fix – Calendar date query.2015.02.02 – version 1.7.0
* Fix – Tweak cart expirey to ignore ‘unpaid’ bookings between checkout and payment.
* Fix – Block availability checking to hide 0 avail blocks.
* Fix – Set order ID before triggering status update on new booking.
* Fix – New booking email triggers.
* Fix – Special chars being sent to google cal.
* Refactor – Use custom queries to get bookings – improves performance.
* Refactor – Use transient caching to query bookings to save on resources.Forum: Themes and Templates
In reply to: [Customizr] Swipe guesture in slider and between postsAs d4z_c0nf said, you can put the code in the footer or enqueue it in the functions.php of your child theme, something like this:
function child_theme_scripts() { wp_enqueue_script('hammer', TC_BASE_URL . '../js/hammer.min.js', array('jquery'), 'v1.0.5', true); wp_enqueue_script('script-name', TC_BASE_URL . '../js/custom-javascript.js', array('jquery'), '1.0.0', true); } add_action('wp_enqueue_scripts', 'child_theme_scripts');You can find the hammer jQuery plugin here here. Just include the jquery.hammer.min.js somewhere, and it should work fine. Oh, by the way remove this from the code I posted above, or it won’t work:
if ($('.gesture').hasClass('iphone')) { touchSlide(); }Forum: Themes and Templates
In reply to: [Customizr] Swipe guesture in slider and between postsThere are tons of different ways of putting touch on the bootstrap slider – check this out..
I used the standard wordspress useragent detection to figure out if it’s a mobile device. For swiping the bootstrap carousel the code looks like this, using hammer.js v1.05:
jQuery(document).ready(function($) { function touchSlide() { $('#customizr-slider').hammer().on('swipeleft', function(ev) { ev.gesture.preventDefault(); $(this).carousel('next'); ev.gesture.stopDetect(); }) $('#customizr-slider').hammer().on('swiperight', function(ev) { ev.gesture.preventDefault() $(this).carousel('prev'); ev.gesture.stopDetect(); }) } if ($('.gesture').hasClass('iphone')) { touchSlide(); } });I’ll get back to how to navigate between the posts when I have more time.
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarI loaded in a custom theme and fixed the problem with the widget on the front and another pages with the headings and edit-links. When using widget the calendar month/list is messed up to so I guess there is something in the styles.
I’ll diff 3.4.1 and 3.5 tomorrow to try to figure out what is wrong with the widget.
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarHi, it appears that the event-list widget messed up the styles on the frontpage. When the widget is activated, the frontpage doesn’t show the post/activity headings as seen is this screenshot:
http://tinypic.com/r/az75h0/8The datepicker works all right, the from-date in the query works and produces a result. I can’t get the to-date to work or choosing between list/month view. See this screenshot: http://tinypic.com/r/muh1c2/8
This is some stuff that I can fix in the styles, so no worries. Thanks a lot for your help so far!
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarHi,
I replaced <div class=”row-fluid”> with <div class=”row-fluid column-content-wrapper”> in default-template.php.Then I tested with customizr 3.1.9 and event calendar 3.5. The good news is that the sidebar is still there, but the datepicker won’t show and the calendar looks a bit strange. I’ll do a cleanup and test some and try to get it to work correctly.
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarI’m using customizr version 3.1.8 if you’re still around. The main problem was that the sidebar was removed when showing the calendar/event list, but your fix resolved that.
For the settings I then used the full event calendar theme – when using either the skeleton or theme style it didn’t quite work. The datepicker/display list/month is hooked of when not using the full theme.
Edit – I’ll upgrade and test your fix.
Thanks again!
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarI’ll just mark the subject as resolved.
Forum: Themes and Templates
In reply to: [Customizr] Using customizr and the event calendarAwsome! and thanks a lot. This worked fine when I reverted to event calendar 3.4.1. The datepicker and display as-> list OR month didn’t work, but I’ll use your code as a basis for figuring it out.
Thanks again!
Forum: Themes and Templates
In reply to: [Customizr] Swipe guesture in slider and between postsWell, after some mucking around I figured out a way to write some custom code using the hammer.js library. It worked quite well so I implemented swipe for navigation between posts/events/images and so on if the user agent is identified as a mobile device. A word of advice; hammer uses some non-standard jQuery namespace and event handling so be patient..