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
<div class="ghostDropBlock"> | |
<span>Drop here to target this display option with this audience segment.</span> | |
</div> |
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
.block.sidebar { | |
display: table; | |
} | |
.block .sidebar { | |
background-color: #e3e6eb; | |
display: table-cell; | |
vertical-align: middle; | |
} |
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
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 | |
// check if the flexible content field has rows of data | |
if( have_rows('flexible_content') ): | |
// loop through the rows of data | |
while ( have_rows('flexible_content') ) : the_row(); | |
//check current row layout | |
if( get_row_layout() == 'pricing' ): |
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
<!-- place this snipet in HTMLhead.html, replace yourdomain with the url of your login page --> | |
<script> | |
$(document).ready(function(){ | |
if( | |
($('#LoginOrLogoutText > div > a:contains("Sign in")').length > 0) && (window.location.href.indexOf("login") === -1) | |
){ | |
window.location.assign("//www.yourdomain.com/login.php"); | |
} | |
}); | |
</script> |
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
jQuery(document).ready(function($) { | |
// 1. Youtube Shortcode | |
tinymce.create('tinymce.plugins.youtube_plugin', { | |
init : function(ed, url) { | |
// Register command for when button is clicked | |
ed.addCommand('youtube_insert_shortcode', function() { | |
selected = tinyMCE.activeEditor.selection.getContent(); | |
if( selected ){ |
NewerOlder