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
/** | |
* Example frontend markup for a Local static image block | |
*/ | |
<div id="blox_1572" class="blox-container blox-content-image blox-theme-default blox-scope-local"> | |
<div class="blox-wrap"> | |
<div class="blox-image-container custom"> | |
<div class="blox-image-wrap"> | |
<a href="http://www.example.com" target="_blank" title="The Link Title"> | |
<img src="https://www.bloxwp.com/wp-content/uploads/2015/10/sample_image.jpg" > | |
</a> |
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
<!-- Example frontend markup for Blox --> | |
<div id="blox_global_1234" class="blox-container blox-content-[content_type] blox-theme-[set_theme] blox-scope-[global_local] [custom_classes]"> | |
<div class="blox-wrap [wrap]"> | |
<!-- Additional markup is added here depending on the content_type that is selected --> | |
</div> | |
</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
/** | |
* Blox Frontend Default Styles | |
* | |
* This stylesheet supplies default styling for Blox. It can be disabled in the Blox settings. | |
* | |
* @package Blox | |
* @copyright Copyright (c) 2015, Nick Diego | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
*/ |
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 | |
// Do NOT include the opening php tag shown above. Copy the code shown below. | |
// To use this filter, it needs to be added to your functions.php file | |
add_filter( 'blox_disable_content_blocks', 'disable_landingpage_blocks', 10, 5 ); | |
/** | |
* | |
* @param bol $disable The disable test, defaults to false | |
* @param string $postition The position hook of the block | |
* @param string $id The id of the block |
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
<!-- Aggregate stats demo for Easy Plugin Stats --> | |
...WordPress community. My code is currently running on <strong>[eps type="aggregate" slug="blox-lite genesis-columns-advanced genesis-featured-page-advanced genesis-custom-headers" field="active_installs"]+</strong> websites and has been downloaded <strong>[eps type="aggregate" slug="blox-lite genesis-columns-advanced genesis-featured-page-advanced genesis-custom-headers" field="downloaded"]</strong> times... |
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
/** | |
* Column Classes | |
* | |
* Width: 100% | |
* Gutter: 2.5641025641% | |
* Link: http://www.nickdiego.com/plugins/column-class-builder/ | |
----------------------------------------------------------------------------- */ | |
.five-sixths, | |
.four-fifths, |
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 | |
// Add our custom page title to singular pages, but not the homepage or blog page | |
if ( is_page() && ! is_home() && ! is_front_page() ) { | |
remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); | |
add_action( 'genesis_after_header', 'blox_open_post_title', 1 ); | |
add_action( 'genesis_after_header', 'blox_do_page_title', 2 ); | |
add_action( 'genesis_after_header', 'blox_close_post_title', 3 ); | |
} | |
// Custom title opener |
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
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
// Only enable when the screen size is large enough for a sidebar | |
if ( $(window).width() > '1024' ) { | |
// Fix the block if our scroll position is below the top of the page - 1px to make transition more fluid. | |
var top = $('.sticky').offset().top - 1; | |
$(window).scroll(function(e) { |
OlderNewer