Posts

Flutter using cloud_firestore giving errors on IOS Simulator

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 1 It's my first time trying to use Firebase cloud_firestore together with Flutter. It works fine with the Android emulator. But I am getting the following errors, when trying to Run on the IOS Sim: /Users/carsoncarbery/development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.2+3/ios/Classes/CloudFirestorePlugin.m:50:22: error: no visible @interface for 'FIRQuery' declares the selector 'queryWhereField:arrayContains:' query = [query queryWhereField:fieldName arrayContains:value]; ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/carsoncarbery/development/tools/flutter/.pub-cache/hos...

Add classes on custom navigation in Wordpress

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I've created a second custom navigation in Wordpress to create a top bar menu. But I need to add classes on the ul , li and a element. My code in functions.php looks like this: function secondary_navigation() { register_nav_menu('secondary-navigation',__( 'Top bar navigation' )); } add_action( 'init', 'secondary_navigation' ); The code in my template looks like this: <?php wp_nav_menu( array( 'theme_location' => 'secondary-navigation', 'menu_class' => 'navigation__lis...