This file contains hidden or 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 | |
| $categories = get_categories( | |
| array( | |
| 'taxonomy' => TribeEvents::TAXONOMY, | |
| 'selected' => 0, | |
| 'orderby' => 'name' | |
| ) ); | |
| ?> | |
| <script type="text/javascript"><!-- | 
  
    
      This file contains hidden or 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
    
  
  
    
  | li.kaeltetechnik a { | |
| position:relative; overflow:hidden; | |
| } | |
| li.kaeltetechnik a::after{ content: ''; | |
| position: absolute; | |
| top: -179%; | |
| right: -87%; | |
| bottom: 18%; | |
| left: -173%; | 
  
    
      This file contains hidden or 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_filter('upload_mimes','restrict_mimes_for_subscriber'); | |
| function restrict_mimes_for_subscriber($mimes) { | |
| if (!current_user_can('read')) { | |
| return; | |
| } | |
| $mimes = array( | |
| 'pdf' => 'application/pdf', | |
| 'jpg|jpeg' => 'image/jpeg', | |
| 'png' => 'image/png', | 
  
    
      This file contains hidden or 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 | |
| //Page Slug Body Class | |
| function add_slug_body_class( $classes ) { | |
| global $post; | |
| if ( isset( $post ) ) { | |
| $classes[] = $post->post_type . '-' . $post->post_name; | |
| } | |
| return $classes; | |
| } | |
| add_filter( 'body_class', 'add_slug_body_class' ); | 
  
    
      This file contains hidden or 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_filter( 'fl_builder_loop_query_args', 'probb_exclude_current_post' ); | |
| function probb_exclude_current_post( $args ) | |
| { | |
| //add post type here | |
| if( is_singular( 'referenz' ) ) | |
| { | |
| $args['post__not_in'] = array( get_the_ID() ); | |
| } | 
  
    
      This file contains hidden or 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 | |
| function delete_directory($dirname) { | |
| if (is_dir($dirname)){ | |
| $dir_handle = opendir($dirname); | |
| } | |
| if (!$dir_handle){ | |
| return false; | |
| } | |
| while($file = readdir($dir_handle)) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{SERVER_PORT} !^443$ | |
| RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | 
OlderNewer