daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tu_lifterlms_start() { ?>
  2.     <div id="primary" <?php generate_content_class();?>>
  3.         <main id="main" <?php generate_main_class(); ?>>
  4.             <?php do_action('generate_before_main_content'); ?>
  5.             <article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php generate_article_schema( 'CreativeWork' ); ?>>
  6.                 <div class="inside-article">
  7.                     <?php do_action( 'generate_before_content'); ?>
  8.                     <div class="entry-content" itemprop="text">
  9. <?php
  10. }
  11. add_action( 'lifterlms_before_main_content', 'tu_lifterlms_start' );
  12.  
  13. function tu_lifterlms_end() {
  14. ?>
  15.                     </div><!-- .entry-content -->
  16.                     <?php do_action( 'generate_after_content'); ?>
  17.                 </div><!-- .inside-article -->
  18.             </article><!-- #post-## -->
  19.             <?php do_action('generate_after_main_content'); ?>
  20.         </main><!-- #main -->
  21.     </div><!-- #primary -->
  22. <?php
  23. }
  24. add_action( 'lifterlms_after_main_content', 'tu_lifterlms_end' );
  25.  
  26. function tu_llms_theme_support() {
  27.     add_theme_support( 'lifterlms-sidebars' );
  28. }
  29. add_action( 'after_setup_theme', 'tu_llms_theme_support' );
  30.  
  31. function tu_llms_sidebar_function( $id ) {
  32.     $my_sidebar_id = 'sidebar-1';
  33.    
  34.     return $my_sidebar_id;
  35. }
  36. add_filter( 'llms_get_theme_default_sidebar', 'tu_llms_sidebar_function' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top