Showing 10 of 1,090 results.

Introduction & Installation

Documentation Search provides a custom Statamic search provider focused on making it easier to index documentation-heavy websites where each entry may have multiple sections that should be indexed separately.Documentation Search may be installed...

Example Use | Laravel 5.5 String Helper Method: contains

1 use Illuminate \ Support \ Str ; 2 3 // These are our $needles we want to check for. 4 $ needles = [ ' a ' , ' p ' , ' l ' , ' e ' , ' s ' ] ; 5 6 // true 7 Str :: contains ( ' apples ' , $ needles ) ; 8 9 // false 10 Str :: contains ( ' APPLES...

Title | Open Graph Metadata

The title method queues a <meta property="og:title" content="..."> tag. 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...

URL | Open Graph Metadata

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

Description | Open Graph Metadata

The description method queues a <meta property="og: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...

Image | Open Graph Metadata

The image helper method queues a <meta name="image" property="og:image" content="..."> tag. By default it does not contain a value, and is generally used to construct a large amount of meta tags at once.

Video | Open Graph Metadata

The video helper method queues a <meta name="video" property="og:video" content="..."> tag. By default it does not contain a value, and is generally used to construct a large amount of meta tags at once.