Created
April 10, 2018 17:29
-
-
Save nextend/38591c54cc6dd5dd9032fbd3e64ea321 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Test | |
*/ | |
function test() { | |
return '<div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 120" preserveAspectRatio="none"> | |
<g class="n2-ss-divider-start"> | |
<path fill="RGBA(255,255,255,1)" opacity="0.25" d="M1920,0 0,120 0,0z" duration="1" delay="0" data-original="M1920,0 0,0 0,0z"></path> | |
<path fill="RGBA(255,255,255,1)" opacity="0.5" d="M1920,0 0,80 0,0z" duration="1" delay="0.2" data-original="M1920,0 0,0 0,0z"></path> | |
<path fill="RGBA(255,255,255,1)" d="M1920,0 0,40 0,0z" duration="1" delay="0.4" data-original="M1920,0 0,0 0,0z"></path> | |
</g> | |
<g class="n2-ss-divider-end"> | |
<path fill="RGBA(255,255,255,1)" opacity="0.25" d="M1920,0 0,120 0,0z"></path> | |
<path fill="RGBA(255,255,255,1)" opacity="0.5" d="M1920,0 0,80 0,0z"></path> | |
<path fill="RGBA(255,255,255,1)" d="M1920,0 0,40 0,0z"></path> | |
</g></div>'; | |
} | |
add_shortcode('test', 'test'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment