Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Text only

5-Column Layout for Visual Composer

Add a custom column layout
1/12 + 2/12 + 2/12 + 2/12 + 2/12 + 2/12 + 1/12
https://snipt.net/embed/59814a889e4b6badb243d3e3c7ae5055/
https://snipt.net/raw/59814a889e4b6badb243d3e3c7ae5055/
59814a889e4b6badb243d3e3c7ae5055
text
Text only
2
2016-12-10T08:03:28
True
False
False
Aug 06, 2015 at 12:45 PM
/api/public/snipt/140559/
5-column-layout-for-visual-composer
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Add a custom column layout </span><span id="L-2"><a name="L-2"></a>1/12 + 2/12 + 2/12 + 2/12 + 2/12 + 2/12 + 1/12 </span></pre></div> </td></tr></table>
"5-column layout", "visual composer", plugin, wordpress

PHP

wordpress include plugin

include_once('advanced-custom-fields/acf.php');
https://snipt.net/embed/135c50ff60836ab7899efbb97cc4f9e7/
https://snipt.net/raw/135c50ff60836ab7899efbb97cc4f9e7/
135c50ff60836ab7899efbb97cc4f9e7
php
PHP
1
2016-12-04T17:22:35
True
False
False
/api/public/snipt/123944/
wordpress-include-plugin
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="x">include_once(&#39;advanced-custom-fields/acf.php&#39;);</span> </span></pre></div> </td></tr></table>
plugin, wordpress, wp

JavaScript

Fancybox open from needed index

$.fancybox.open($('.fancybox'), {index: 0});
https://snipt.net/embed/4d744b9fa5a28fda34ebe36ec7df5f47/
https://snipt.net/raw/4d744b9fa5a28fda34ebe36ec7df5f47/
4d744b9fa5a28fda34ebe36ec7df5f47
js
JavaScript
1
2016-12-09T16:58:13
True
False
False
Mar 22, 2014 at 07:02 AM
/api/public/snipt/123027/
fancybox-open-from-needed-index
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nx">$</span><span class="p">.</span><span class="nx">fancybox</span><span class="p">.</span><span class="nx">open</span><span class="p">(</span><span class="nx">$</span><span class="p">(</span><span class="s1">&#39;.fancybox&#39;</span><span class="p">),</span> <span class="p">{</span><span class="nx">index</span><span class="o">:</span> <span class="mi">0</span><span class="p">});</span> </span></pre></div> </td></tr></table>
box, fancy, fancybox, gallery, image, images, jquery, modal, plugin
Copyrighted, illegal, or inappropriate content? Email [email protected].