View slow-mysql-queries.log
This file has been truncated, but you can view the full file.
/usr/sbin/mysqld, Version: 5.7.21-0ubuntu0.16.04.1-log ((Ubuntu)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
# Time: 2018-04-11T23:22:58.672420Z
# User@Host: vultr_cgp[vultr_cgp] @ localhost [] Id: 234324
# Query_time: 0.152190 Lock_time: 0.031670 Rows_sent: 0 Rows_examined: 0
use vultr_cgp;
SET timestamp=1523488978;
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_jetpack_idc_allowed' LIMIT 1;
View accordion-menu.js
// Category Accordion
// Example - http://dev.rose.websitelove.com.au/shop/
if ($('.wgs-side-woo ul.product-categories').length > 0) {
var lcP = $('.wgs-side-woo li.cat-parent'), lcPF = $('.wgs-side-woo li.cat-parent.cat-item-2204');
var lcPC = $('.wgs-side-woo li.current-cat'), lcPCP = $('.wgs-side-woo li.current-cat-parent');
lcP.prepend('<span class="toggle"><i class="fa fa-minus-square-o fa-plus-square-o"></i></span>');
lcP.parent('ul').addClass('has-toggle'); lcP.children('ul').hide();
if (lcP.hasClass("current-cat-parent")) {
lcPCP.addClass('open'); lcPCP.children('ul').show(); lcPCP.children().children('i.fa').removeClass('fa-plus-square-o');
} else if (lcP.hasClass("current-cat")) {
View html.html
<ul class="list-buttons">
<li class="active"> <a id="showall">Show All</a></li>
<li><a class="showSingle" target="1">Show Classes</a></li>
<li><a class="showSingle" target="2">Show Treatments</a></li>
</ul>
<!-- Rows -->
<div id="div1" class="primary-row">...</div>
View anchorlinks.js
View class-product-cat-list-walker.php
<?php
/**
* WC_Product_Cat_List_Walker class
*
* @extends Walker
* @class WC_Product_Cat_Dropdown_Walker
* @version 2.3.0
* @package WooCommerce/Classes/Walkers
* @author WooThemes
*/
View acf-rs2.php
<?php //<~ don't add me in
add_shortcode( 'tl_related_lights', 'tl_related_lights_relationship' ); // Add your shortcode here
// Add Relationship field between same CPT
function tl_related_lights_relationship() {
ob_start();
$posts = get_field('relationship_field_name'); // Add your ACF field in here
View functions.php
<?php // <~ don't add me in
add_action('wp_enqueue_scripts', 'my_select_dropdown');
function my_select_dropdown() {
if( is_shop() || is_product_category() ) {
wp_enqueue_script( 'selectjs', get_stylesheet_directory_uri() . '/js/selectize.min.js', array( 'jquery' ), '0.12.4', true );
wp_enqueue_style( 'selectcss', get_stylesheet_directory_uri() . '/css/selectize.css' , array(), '0.12.4', 'all' );
View functions.php
<?php // <~ don't add me in
add_shortcode( 'bb_search','bb_search_shortcode' );
/* Add Search via shortcode */
function bb_search_shortcode() {
ob_start();
FLTheme::nav_search();
return ob_get_clean();
}
View functions.php
<?php // <~ don't add me in
add_action( 'wp_enqueue_scripts', 'ls_scripts_styles', 20 );
/**
* LightSlider Scripts
*/
function ls_scripts_styles() {
wp_enqueue_style( 'lightslidercss', get_stylesheet_directory_uri(). '/css/lightslider.min.css' , array(), '1.0.0', 'all' );
wp_enqueue_script( 'lightsliderjs', get_stylesheet_directory_uri() . '/js/lightslider.min.js', array( 'jquery' ), '1.0.0', true );
wp_enqueue_script( 'lightsliderinit', get_stylesheet_directory_uri() . '/js/lightslider-init.js', array( 'lightsliderjs' ), '1.0.0', true );
View style-beaver-builder-snippets.css
/* Button Styles
* White Trans But
*/
.fl-builder-content .white-trans-but a.fl-button,
.fl-builder-content .white-trans-but a.fl-button:visited,
.fl-builder-content .white-trans-but .fl-slide a.fl-button,
.fl-builder-content .white-trans-but .fl-slide a.fl-button:visited {
background: transparent;
border: 2px solid #fff;