Showing 10 of 1,090 results.

Integrating Third-Party Addons | Overview

…the contents that appear within the tag pair, and remove any meta/link tags it generated that will conflict within. The meta/link tags that appear last within the tag's contents will take priority. If you are using SEO Pro, you can use the seoPro...

Setting a Session Value | Laravel Helper Function: session

The session function allows setting session values directly by passing in an array of key/value pairs. The following example demonstrates this: 1 <?php 2 3 // Settings two session values 'test' and 'test'2 4 session ( [ 5 ' test ' => ' A test...

Retrieving a Session Value | Laravel Helper Function: session

Values can be retrieved with the session function by supplying a $key . To retrieve the test value from the earlier example the function call would look like so: 1 <?php 2 3 // Retrieving the 'test' value. 4 $ value = session ( ' test ' ) ; It is...

Description | General Metadata

The description method queues a <meta name="description" content"..."> tag. By default it binds to the $meta_description variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned...

X-UA-Compatible | General Metadata

The xUaCompatible helper method queues a <meta http-equiv="X-UA-Compatible" content="..."> tag. By default it uses IE=edge as the content. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 Metadata :: general (...

Title | General Metadata

…. By default it binds to the $title variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6 Metadata :: resolve ( ' title ' , function ( array $ context ) { 7 return '...

Filter Search