content-single.php
994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @package storefront
*/
remove_filter('the_content', 'wpautop');
?>
<div class="bg2 fgc-sign">
<div class="container">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope="" itemtype="http://schema.org/BlogPosting">
<?php
/**
* @hooked storefront_post_header - 10
* @hooked storefront_post_meta - 20
* @hooked storefront_post_content - 30
*/
do_action('storefront_single_post');
?>
</article><!-- #post-## -->
</div>
</div>
<script type="text/javascript" src="<?php echo get_theme_root_uri()?>/reize/assets/js/fgc/jquery.sticky.js"></script>
<script type="text/javascript">
jQuery(function($){
$(".desktop").stick_in_parent();
// .on("sticky_kit:stick", function(e) {
// console.log("has stuck!", e.target);
// })
// .on("sticky_kit:unstick", function(e) {
// console.log("has unstuck!", e.target);
// });
});
</script>