Skip to content

Instantly share code, notes, and snippets.

View tripex's full-sized avatar

GetWebbed tripex

  • GetWebbed
  • Denmark
View GitHub Profile
@tripex
tripex / custom-logo.php
Created February 23, 2018 13:18 — forked from neilgee/custom-logo.php
Using Custom Logo with Genesis via Customizer
<?php
add_theme_support( 'custom-logo', array(
'height' => 240, // set to your dimensions
'width' => 240,
'flex-height' => true,
'flex-width' => true,
) );
@tripex
tripex / gist:3c0a045be54b33e3b6ccffe122e5f6c8
Created December 27, 2018 23:16
Problems with session
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CartController extends Controller {
protected $cart;
public function __construct() {