Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

PHP

Imprimir taxonomía sin Link

1
2
3
4
<?php
$terms_as_text = get_the_term_list( $post->ID, 'your-custom-taxonomy-name', '', ', ', '' ) ;
echo strip_tags($terms_as_text);
?>
https://snipt.net/embed/cf099dd207da7581fe1e8b08705b3269/
https://snipt.net/raw/cf099dd207da7581fe1e8b08705b3269/
cf099dd207da7581fe1e8b08705b3269
php
PHP
4
2016-12-08T19:35:43
True
False
False
Nov 26, 2012 at 08:56 AM
/api/public/snipt/50768/
imprimir-taxonomia-sin-link
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="nv">$terms_as_text</span> <span class="o">=</span> <span class="nx">get_the_term_list</span><span class="p">(</span> <span class="nv">$post</span><span class="o">-&gt;</span><span class="na">ID</span><span class="p">,</span> <span class="s1">&#39;your-custom-taxonomy-name&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="s1">&#39;, &#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span> <span class="p">)</span> <span class="p">;</span> </span><span id="L-3"><a name="L-3"></a><span class="k">echo</span> <span class="nb">strip_tags</span><span class="p">(</span><span class="nv">$terms_as_text</span><span class="p">);</span> </span><span id="L-4"><a name="L-4"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
link, print, taxonomia

Batchfile

CMD – Set Default Printer

RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "PDFCreator"
https://snipt.net/embed/8ac1af6b841ef4ae1b765d5b45dc6155/
https://snipt.net/raw/8ac1af6b841ef4ae1b765d5b45dc6155/
8ac1af6b841ef4ae1b765d5b45dc6155
bat
Batchfile
1
2016-12-08T16:21:01
True
False
False
/api/public/snipt/49223/
cmd-set-default-printer
<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>RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n <span class="s2">&quot;PDFCreator&quot;</span> </span></pre></div> </td></tr></table>
cmd, print, windows

Python

bla bla bla

print 'bla bla bla'
https://snipt.net/embed/5a55665d11da2ddc11b7b14d8dc4294b/
https://snipt.net/raw/5a55665d11da2ddc11b7b14d8dc4294b/
5a55665d11da2ddc11b7b14d8dc4294b
python
Python
1
2016-12-08T01:28:31
True
False
False
/api/public/snipt/29489/
bla-bla-bla
<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="k">print</span> <span class="s1">&#39;bla bla bla&#39;</span> </span></pre></div> </td></tr></table>
blabla, print, test
Copyrighted, illegal, or inappropriate content? Email [email protected].