Skip to content

Instantly share code, notes, and snippets.

View shameemreza's full-sized avatar
🇧🇩
Problem-Solver | WooCommerce Expert | Customer-First Mindset

Shameem Reza shameemreza

🇧🇩
Problem-Solver | WooCommerce Expert | Customer-First Mindset
View GitHub Profile
@shameemreza
shameemreza / arr::divide.php
Created April 6, 2020 23:39
arr::divide()
// We import the support for this Helper
use Illuminate\Support\Arr;
// We use the method Arr::divide()
[$keys, $values] = Arr::divide(['name' => 'Shameem Reza', 'price' => '3.40']);
// We obtain the keys and values separately
$keys: ['name', 'price']
$values: ['Shameem Reza', '3.40']
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Booking no, Containers no or B/L</label>
[text* booking-no class:form-control]
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Email Address</label>
<div class="row">
<div class="col-md-4 col-sm-4">
<label>Distance(km)</label>
[text* distance class:form-control]
</div>
<div class="col-md-4 col-sm-4">
<label>Weight(kgs)</label>
[text* weight class:form-control]
</div>
<div class="col-md-4 col-sm-4">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Schedule</label>
[date* date class:form-control]
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Email Address</label>
<div class="row form-area">
<div class="col-md-4 col-sm-12 col-xm-12">
<div class="form-group">
<label>Full Name <span>*</span></label>
[text* your-name class:form-control]
</div>
</div>
<div class="col-md-4 col-sm-12 col-xm-12">
<div class="form-group">
<label>Email <span>*</span></label>
<div class="input-group mb-3">
<input type="email" name="EMAIL" class="form-control" placeholder="Recipient's email"
aria-label="email address" aria-describedby="button-addon2">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="submit"
id="button-addon2">Subscribe</button>
</div>
</div>
<?php
/*
Register Fonts
*/
function studio_fonts_url() {
$font_url = '';
/*
Translators: If there are characters in your language that are not supported
by chosen font(s), translate this to 'off'. Do not translate into your own language.
/* Multisite */define
('WP_ALLOW_MULTISITE', true);
// Use Ionicons in WordPress
add_action( 'wp_enqueue_scripts', 'shameem_enqueue_ionicons' );
function shameem_enqueue_ionicons() {
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION );
}
// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 536870912 * 20 );