Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/confenda.com/wp-content/themes/beevent/functions/element/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/confenda.com/wp-content/themes/beevent/functions/element/sponsors.php
<?php
/**
 * @package WordPress
 * @subpackage beevent
 * @since beevent 1.5
 */
//1 ******************Sponsors List Style 1 Shortcode ***********************//
function beevent_sponsors_style1($atts){ ob_start();
extract( shortcode_atts(array('show' =>''), $atts ));  
$sponsor = new WP_Query( array( 'post_type' => 'sponsor', 'post_status' => 'publish','posts_per_page'=>$show) ); 
  echo '<div class="sponsors-list"><ul>';
while ($sponsor->have_posts() ) : $sponsor->the_post(); ?>
        <li> <a href="<?php echo get_post_meta(get_the_ID(),'Be_sponsor_link', true ); ?>" target="_blank">
                <?php the_post_thumbnail('medium', array('class' => 'img-responsive center-block'));?>
            </a>
       </li>
 <?php endwhile; wp_reset_query();
 echo '</ul></div>'; return ob_get_clean();
}

//2 ****************** Sponsors List Style 2 Shortcode ***********************//
function beevent_sponsors_style2($atts){ ob_start();
extract( shortcode_atts(array('show' =>''), $atts ));  
$sponsor = new WP_Query( array( 'post_type' => 'sponsor', 'post_status' => 'publish','posts_per_page'=>$show) );
echo '<div class="sponsors_2"><div id="sponsors-slider">'; 
while ($sponsor->have_posts() ) : $sponsor->the_post(); ?>
            <div class="sponsors_logo">
            <a href="<?php echo get_post_meta(get_the_ID(),'Be_sponsor_link', true ); ?>" target="_blank"> <?php the_post_thumbnail('medium', array('class' => 'img-responsive center-block'));?></a>
             </div>   
<?php
 endwhile; wp_reset_query();
echo '</div></div>'; return ob_get_clean();
}
//3 ****************** Sponsors List Style 3 Shortcode ***********************//

function beevent_sponsors_style3($atts){ ob_start();
extract( shortcode_atts(array('show' =>''), $atts ));  
echo '<div class="sponsors_3">';
$sponsor = new WP_Query( array( 'post_type' => 'sponsor', 'post_status' => 'publish','posts_per_page'=>$show) );   
echo '<div class="sponsors-list"><ul>';
while ($sponsor->have_posts() ) : $sponsor->the_post(); ?>
      <li>
            <a href="<?php echo get_post_meta(get_the_ID(),'Be_sponsor_link', true ); ?>" target="_blank"><?php the_post_thumbnail('medium', array('class' => 'img-responsive center-block'));?></a>
            </li> 
<?php
 endwhile; wp_reset_query();
echo '</ul></div></div>'; return ob_get_clean();
}

ZeroDay Forums Mini