/** * Widget output */ function widget($args, $instance) { extract($args, EXTR_SKIP); echo $before_widget; $slideshow = ''; if (!empty($instance['slideshow'])) { $slideshow = $instance['slideshow']; if (function_exists('cyclone_slider')) { cyclone_slider($slideshow); } } echo $after_widget; }
/** * Widget output */ function widget($args, $instance) { extract($args, EXTR_SKIP); echo $before_widget; if (!empty($instance['title'])) { $title = apply_filters('widget_title', $instance['title']); echo $before_title . $title . $after_title; } $slideshow = ''; if (!empty($instance['slideshow'])) { $slideshow = $instance['slideshow']; if (function_exists('cyclone_slider')) { cyclone_slider($slideshow); } } echo $after_widget; }
* Template Name: Home Page * * @package WordPress * @subpackage Test_theme * @since Test_theme 1.0 */ get_header(); ?> <div class="t-home"> <div class="container" id="slider-wrapper"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('50'); } ?> </div> <div class="container b-carousel" id="photo-carousel"> <h2>urgent projects</h2> <?php echo do_shortcode('[wonderplugin_carousel id="1"]'); ?> </div> <div class="container" id="home-post1"> <h1>give your helping hand to those who need it!</h1> <p>Lorem ipsum dolor sit amet consectetuer adipiscing elit. Praesent vestibulum mole</p>
<?php /** * conradjones_cuilduin template for displaying Pages * * @package WordPress * @subpackage conradjones_cuilduin * @since conradjones_cuilduin 1.0 */ get_header(); ?> <section class="front-page slider-area"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('amenities'); } ?> <div class="front-page slider-description"> <span class="slider-description-text">Citywest is a centre of shopping and business</span> </div> </section> <!-- print post contents --> <section class="page-content secondary-amenities"> <?php $args = array('cat' => 14, 'posts_per_page' => -1, 'orderby' => 'date', 'order' => 'ASC'); query_posts($args); ?> <?php if (have_posts()) {
/** * cycloneslider output **/ function frl_cycloneslider($slider_id) { if (function_exists('cyclone_slider')) { cyclone_slider($slider_id); } }
<?php /** * conradjones_cuilduin template for displaying Pages * * @package WordPress * @subpackage conradjones_cuilduin * @since conradjones_cuilduin 1.0 */ get_header(); ?> <section class="front-page slider-area"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('location-slideshow'); } ?> <div class="front-page slider-description"> <span class="slider-description-text">Luas brings the city centre within fast reach</span> </div> </section> <section class="page-content primary" role="main"> <div class="page" title="Page 4"> <div class="section"> <div class="layoutArea"> <div class="column"> <?php if (have_posts()) {
<?php if (!defined('ABSPATH')) { die('Direct access denied.'); } ?> <?php if (!empty($post->post_name)) { if (function_exists('cyclone_slider')) { cyclone_slider($post->post_name); } } else { ?> <p><?php _e('Your preview will appear here.', 'cycloneslider'); ?> </p><?php }
<?php dynamic_sidebar('events-list-widget'); ?> </div> <div class="miniCalendar"> <?php dynamic_sidebar('calendar-widget'); ?> </div> </section> <section class="galleryHome fullWidth"> <h2>Caleb's Pitch In Action</h2> <?php if (function_exists('cyclone_slider')) { cyclone_slider('home-page-slider'); } ?> <a href="http://www.cp.thenewe.com/gallery/"><button class="blueButton">Go To The Gallery</button></a> </section> <section class="emailList fullWidth"> <h2>Join Our Email List</h2> <p>Sign up for our email list and we'll keep you in the loop for all of our activities, events, and fundraisers!</p> <!-- Begin MailChimp Signup Form --> <link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css"> <div id="mc_embed_signup" class="emailForm"> <form action="//thenewe.us11.list-manage.com/subscribe/post?u=e17dc775841d90c94453ee785&id=8ca46ed13d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <div id="mc_embed_signup_scroll"> <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
* and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package elodie */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <div class="slider"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('diapo-news'); } ?> </div> <div id="container"> <?php if (have_posts()) { ?> <?php /* Start the Loop */ ?> <?php while (have_posts()) { the_post(); ?>
<?php /** * conradjones_cuilduin template for displaying Pages * * @package WordPress * @subpackage conradjones_cuilduin * @since conradjones_cuilduin 1.0 */ get_header(); ?> <section class="front-page slider-area"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('house-slideshow'); } ?> <div class="front-page slider-description"> <span class="slider-description-text slider-description-text-houses">High-quality, innovative design</span> </div> </section> <section class="page-content primary" role="main"> <?php if (have_posts()) { the_post(); get_template_part('loop'); ?> <aside class="post-aside"><?php
* @subpackage conradjones_cuilduin * @since conradjones_cuilduin 1.0 */ get_header(); ?> <div class="home-widgets"><?php if (function_exists('dynamic_sidebar')) { dynamic_sidebar('home-sidebar'); } ?> </div> <section class="front-page slider-area"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('homepageslideshow'); } ?> <div class="front-page slider-description"> <span class="slider-description-text">Superb new 2, 3 and 4 bedroom 'A' -rated houses</span> </div> </section> <section class="page-content primary frontpage-content-container" role="main"> <div class="homepage-content-container"> <div class="page-content-primary-article-container homepage-content-container-text"> <?php $my_id = 276; $post_id_1 = get_post($my_id); $title = $post_id_1->post_title;
<?php get_header(); ?> <!--start main content--> <div id="slider"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('main-slider'); } ?> </div> <div class = "container"> <div id = "widget_one"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Main Page Widget One')) { } ?> </div> <div id = "widget_two"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Main Page Widget Two')) { } ?> </div> <div id = "widget_three"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Main Page Widget Three')) { } ?> </div>
<?php /** * Template Name: Home Page Template * * @package WordPress * @subpackage HHLacrosse */ get_header(); ?> <div id="home-slideshow"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('primary'); } ?> </div> <div id="home-intro"> <div class="content-wrapper"> <div class="one-third"> <span class="purple-text"> <?php echo get_field('purple_text'); ?> <br /> </span> <?php echo get_field('gray_text'); ?> </div><div class="two-thirds"> <?php
//przypisujemy do zmiennej element kryjący się pod numerem takim samym jak numer teraźniejszego miesiąca (n) $rok = date('Y'); //wczytujemy aktualny rok w postaci czterocyfrowej echo 'Dzisiaj jest ' . $dn . ', ' . $dzien . ' ' . $mc . ' ' . $rok . ' roku.'; //Wyświetlamy datę ?> </div> </div> </div> <div class="wrap"> <div class="head_box"> <a href="http://www.sp4bilgoraj.pl"><div id="picture_box"></div></a> <div id="slider"><div id="wrapper"> <?php if (function_exists('cyclone_slider')) { cyclone_slider('206'); } ?> </div> </div> </div> <hr /> <div class="navi_line"><div class="rectangle3"><a href="http://www.sp4bilgoraj.pl"><h2 style="font-size:18px;">Strona Główna</h2></a><div id="trojkat3"></div><div style="font-size:18px; position:relative; top:-60%; margin-left:0px; padding-left:0px;"><h2 style="font-size:18px;"><?php the_title(); ?> </h2></div></div> <div class="triangle-l3"></div> <div class="triangle-r3"></div> </div>