コード例 #1
0
ファイル: Widget.php プロジェクト: elliottoman/shero2016
 function widget($args, $instance)
 {
     extract($args);
     $title = apply_filters('widget_title', $instance['title']);
     echo $before_widget;
     if ($title) {
         echo $before_title . $title . $after_title;
     }
     echo get_new_royalslider($instance["royalslider_id"]);
     echo $after_widget;
 }
コード例 #2
0
<!-- Project Slider -->

<h2>Shero Knows eCommerce.</h2>
<div id="fp-slider-container"><?php 
echo get_new_royalslider(1);
?>
</div>
コード例 #3
0
ファイル: amtrack-home.php プロジェクト: bpea/amtrak-careers
					</div>
					
					
		
		<div class="clear"></div>
		
	
	
</div>


<div class="video-slideshow">
	
	
	<?php 
echo get_new_royalslider(4);
?>
	
	
</div>



<div class="orange-section">
	
	<div class="half-back"></div>
	
	<div class="container">
	
		<div class="row">
	
コード例 #4
0
</div>



<div class="culture-section ">
	
	<div class="culture-mobile">
		
		<div class="it-culture-slide1"></div>
		
	</div>
		
		<div class="culture-slide-contain">
			
							<?php 
echo get_new_royalslider(9);
?>
		</div>

		
	
			<div class="culture-info">
					<h1>Our Culture</h1>
					<p>Many of our long tenured employees began their careers at Amtrak, because promoting from within is a big part of how we grow as a company. Our culture is based on collaboration because the best work gets done together. Working here is a fun and challenging experience, with plenty of benefits, rewards, and respect. We are America&rsquo;s Railroad, and we recognize that our success depends on the diverse talent, skills and experience of our employees. They reflect the nation we serve. </p>
					
					<a target="_blank" href="http://jobs.amtrak.com/search/">
		    <div class="amtrak-btn orange-bg">
				<span>Search Jobs</span>
				<div class="icon-search"></div>
				<div class="expand-bg"></div>
			</div>
コード例 #5
0
ファイル: old-front-page.php プロジェクト: uw-sop/htdocs
$title = get_the_title();
if (!empty($title)) {
    ?>
					<h1 class="entry-title"><?php 
    echo apply_filters('italics', $title);
    ?>
</h1>
					<?php 
}
?>
 -->
				</header><!--.entry-header--> 

				<div id="slider">
					<?php 
echo get_new_royalslider(3);
?>
				</div>
			</div>

			<div class="span8">
				<?php 
while (have_posts()) {
    the_post();
    ?>

					<span id="arrow-mark" <?php 
    the_blogroll_banner_style();
    ?>
 ></span>
					<!--<?php 
コード例 #6
0
<?php

/* Template Name: Homepage */
get_header();
?>

		<div id="slideshow">
			<?php 
echo get_new_royalslider(2);
?>
		</div>

			<div id="content">

				<div id="inner-content" class="wrap cf">

						<main id="main" class="grid-6 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">

							<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

							<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('cf');
        ?>
 role="article" itemscope itemtype="http://schema.org/BlogPosting">
コード例 #7
0
        ?>
 slider_engine_<?php 
        echo $slider;
        ?>
 slider_alias_<?php 
        echo $slider_alias;
        ?>
">
			<?php 
        if ($slider == 'revo') {
            //putRevSlider($slider_alias);
            echo do_shortcode('[rev_slider ' . $slider_alias . ']');
        } else {
            if ($slider == 'royal') {
                //register_new_royalslider_files($slider_alias);
                themerex_enqueue_style('new-royalslider-core-css', NEW_ROYALSLIDER_PLUGIN_URL . 'lib/royalslider/royalslider.css', array(), null);
                themerex_enqueue_script('new-royalslider-main-js', NEW_ROYALSLIDER_PLUGIN_URL . 'lib/royalslider/jquery.royalslider.min.js', array('jquery'), NEW_ROYALSLIDER_WP_VERSION, true);
                echo get_new_royalslider($slider_alias);
            } else {
                if ($slider == 'flex' || $slider == 'chop' || $slider == 'swiper') {
                    if ($slider_count > 0 || !empty($slider_ids)) {
                        echo do_shortcode('[trx_slider engine="' . $slider . '" controls="0" crop="off" height="' . max(100, get_custom_option('slider_height')) . '"' . ($slider_interval ? ' interval="' . $slider_interval . '"' : '') . ($slider_alias ? ' cat="' . $slider_alias . '"' : '') . ($slider_ids ? ' ids="' . $slider_ids . '"' : '') . ($slider_count ? ' count="' . $slider_count . '"' : '') . ($slider_orderby ? ' orderby="' . $slider_orderby . '"' : '') . ($slider_order ? ' order="' . $slider_order . '"' : '') . ($slider_pagination ? ' pagination="' . $slider_pagination . '"' : '') . ' titles="' . ($slider_info_box == 'yes' ? $slider_info_fixed == 'yes' ? 'fixed' : 'slide' : 'no') . '"' . ']');
                    }
                }
            }
        }
        ?>
		</div>
		<?php 
    }
}
コード例 #8
0
 themerex_enqueue_style('main-slider-style', get_template_directory_uri() . '/css/slider-style.css', array(), null);
 $slider_shortcode = '';
 if ($slider == 'revo' && revslider_exists()) {
     $slider_alias = get_custom_option('slider_alias');
     if (!empty($slider_alias)) {
         $slider_shortcode = do_shortcode('[rev_slider ' . $slider_alias . ']');
         //putRevSlider($slider_alias);
     }
 }
 if ($slider == 'royal' && royalslider_exists()) {
     $slider_alias = get_custom_option('slider_alias');
     if (!empty($slider_alias)) {
         //register_new_royalslider_files($slider_alias);
         themerex_enqueue_style('new-royalslider-core-css', NEW_ROYALSLIDER_PLUGIN_URL . 'lib/royalslider/royalslider.css', array(), null);
         themerex_enqueue_style('new-royalslider-main-js', NEW_ROYALSLIDER_PLUGIN_URL . 'lib/royalslider/jquery.royalslider.min.js', array('jquery'), NEW_ROYALSLIDER_WP_VERSION, true);
         $slider_shortcode = get_new_royalslider($slider_alias);
     }
 } else {
     if ($slider == 'swiper') {
         $slider_cat = get_custom_option("slider_category");
         $slider_orderby = get_custom_option("slider_orderby");
         $slider_order = get_custom_option("slider_order");
         $slider_count = $slider_ids = get_custom_option("slider_posts");
         $slider_theme = get_custom_option("slider_nav_theme");
         $slider_height = get_custom_option("slider_height");
         $slider_reviews_style = get_custom_option("slider_reviews_style");
         $slider_controls = get_custom_option('slider_controls');
         $slider_pagination = get_custom_option('slider_pagination');
         if (themerex_strpos($slider_ids, ',') !== false) {
             $slider_count = 0;
         } else {
コード例 #9
0
ファイル: page.php プロジェクト: elliottoman/shero2016
?>

    <!-- page.php ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

    <?php 
        // Get the Royal Slider ID if one is assigned:
        $royal_slider = get_post_meta($post->ID, 'royal_slider_ID', true);
        if ($royal_slider != '') {
            echo '<section id="royal-slider">';
            echo get_new_royalslider($royal_slider);
            echo '</section>';
        }
        ?>

    <?php 
        // Get the summary:
        $summary = get_post_meta($post->ID, 'summary', true);
        ?>


    <main class="page-wrap">
        <article>
            <h1><?php 
        the_title();
        ?>
コード例 #10
0
</div> <!-- div-modal -->
	
	
<div class="hero-section">
	<div class="hero1-txt div-text">
   <h1><span class="why-script">Moving foward</span></h1><h1>TOGETHER</h1>
    <p>Diversity at Amtrak.</p>
  
  
  </div>
  
  <div class="mobile-hero div-hero1"></div>
  
  <div class="hero-slide-content">
	<?php 
echo get_new_royalslider(5);
?>
  </div>
	
	
</div>

<div class="blurb-section">
	
	<div class="container">
	
		<div class="row">
	
			<div class="col-md-12">
				
				<div class="blurb-content">