예제 #1
0
파일: header.php 프로젝트: slavic18/cats
global $post;
if ($post && get_post_type($post) == 'product') {
    $articleObj = Article_Object::init($post);
    ?>
	<div class="tabbysplace-breadcrumb">
		<div class="main"><!-- Breadcrumb NavXT 5.2.2 -->
			<span typeof="v:Breadcrumb">
				<a rel="v:url" property="v:title" title="Go to Tabby's Place." href="<?php 
    home_url();
    ?>
" class="home">Tabby's Place</a>
			</span>
			<span class="bsep"> » </span>
			<span typeof="v:Breadcrumb">
				<a rel="v:url" property="v:title" title="Go Cats." href="<?php 
    get_field('can_be_adopted') ? fruitframe_permalink('adopt') : fruitframe_permalink('sponsor');
    ?>
"><?php 
    echo get_field('can_be_adopted') ? 'Adopt' : 'Sponsor';
    ?>
</a>
			</span>
			<span class="bsep"> » </span>
			<span typeof="v:Breadcrumb">
				<span property="v:title"><?php 
    $articleObj->theTitle();
    ?>
</span>
			</span>
		</div>
	</div>'
예제 #2
0
the_field('logo', 'option');
?>
"
                        alt="<?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
"
                        title="<?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
"/></a> </div>
  <!--Menu block-->
  <nav class="nav-menu clear">
   <?php 
wp_nav_menu(array('theme_location' => 'primary', 'menu_class' => 'enumenu_ul cust-menu clear', 'container' => false));
?>
  </nav>
  <div class="donate-btn"><a href="<?php 
fruitframe_permalink('donate');
?>
" title="Donate"><img src="<?php 
echo get_template_directory_uri();
?>
/images/nav-donate-btn.png" alt="Donate" width="117" height="117" /></a> </div>
 </div>
</header>
<?php 
do_action('tabbysplace_main_start');
?>
	<div class="without-header">
예제 #3
0
    echo apply_filters('woocommerce_checkout_must_be_logged_in_message', __('You must be logged in to checkout.', 'woocommerce'));
    return;
}
// filter hook for include new pages inside the payment method
$get_checkout_url = apply_filters('woocommerce_get_checkout_url', WC()->cart->get_checkout_url());
?>

<form name="checkout" method="post" class="checkout woocommerce-checkout"
      action="<?php 
echo esc_url($get_checkout_url);
?>
" enctype="multipart/form-data">

	<div class="section-orange-title">
		<a href="<?php 
fruitframe_permalink('cart');
?>
" class="gray"> <?php 
_e('your shopping bag');
?>
</a>
		<span class="current">
			<?php 
_e('checkout', 'woocommerce');
?>
		</span>

		<div class="fl-right hidden-mb">
			<?php 
echo '<a href="' . site_url() . '/?wc-api=WC_Gateway_PayPal_Express_AngellEYE&pp_action=expresscheckout" class="va-tt js-set-paypal"><img src="' . get_template_directory_uri() . '/images/paypal.png" /></a>';
?>
예제 #4
0
    echo get_template_directory_uri();
    ?>
/images/dynamic/cat-profile-video.jpg" alt="Cat" title="Cat" /> <span class="profile-play-ico"></span> </a> </div>
     <p>So why is this gorgeous girl not yet in a forever home of her own? Alas, Peachy has a tendency towards what’s politely called inappropriate elimination: she frequently “does her business” outside the litter box. We’ve discovered that Peachy’s favorite “bathroom” is any sort of flat paper, and we’ll regularly spot her scratching at the large white sheets we put under the litter boxes. Understandably, many adopters are hesitant to take on a cat with spotty bathroom habits, and so Peachy is often admired, but not yet chosen.</p>
     <img src="<?php 
    echo get_template_directory_uri();
    ?>
/images/dynamic/cat-profile-single.jpg" alt="cat-profile" class="alignleft size-full wp-image-10405" />
     <p>In addition to this behavioral issue, 12-year-old Peachy has a medical condition quite common to cats “of a certain age:” hyperthyroidism. This means Peachy’s thyroid gland is producing excess amounts of thyroid hormone. Fortunately, like most hyperthyroid cats, Peachy has responded very well to a medication which controls the production of her thyroid hormones. She receives this medication twice every day (and puts up all the fuss one would expect for a Princess), and we regularly do blood tests to monitor her hormone levels, so as to regulate her dosage.</p>
     <p>While Peachy’s “issues” are fortunately not life-threatening, we realize they make it more likely she may be at Tabby’s Place for life. We’re happy to be her loyal subjects, as we love having her in the Community Room, and we love how much she loves making this room her own empire.</p>
     <p>Until Peachy finds the perfect, patient adopter, you can be a part of this beautiful girl’s life as her sponsor. Your monthly donation for Peachy helps us to give her the medication, veterinary attention, and royal treatment she needs and deserves.</p>
    </div>
    <div class="adopt-aloysius-block cf">
     <div class="adopt-aloysius-txt"><span>Adopt Aloysius</span> Start the application process now.</div>
     <div class="adopt-aloysius-btn"><a href="<?php 
    fruitframe_permalink('adopt_single');
    ?>
?cat_id=<?php 
    echo $post->ID;
    ?>
&cat_name=<?php 
    echo $post->post_title;
    ?>
" title="APPLY NOW" class="major-btn-blue tabby-button">APPLY <span>NOW</span></a></div>
    </div>
    <div class="sponsor-aloysius-block adopt-aloysius-block cf">
     <div class="adopt-aloysius-txt"><span>HELP ALOYSIUS</span> Choose a Donation Amount</div>
     <div class="adopt-aloysius-btn"><a href="#" title="Give Monthly" class="major-btn-blue tabby-button">Give <span>Monthly</span></a></div>
    </div>
   </div>
   <div class="cat-profile-left equal-height-div">
예제 #5
0
파일: home.php 프로젝트: slavic18/cats
      <?php 
    the_field('section_4_donate_right_title');
    ?>
      <span>
      <?php 
    the_field('section_4_donate_right_subtitle');
    ?>
      </span></div>
     <p>
      <?php 
    the_field('section_4_donate_right_description');
    ?>
     </p>

	    <form class="cart donate-form js-need-scroll" method="post" action="<?php 
    fruitframe_permalink('checkout');
    ?>
" enctype="multipart/form-data">
		    <input type="hidden" name="add-to-cart" value="<?php 
    echo Project_Helper::getServiceId('home_donation');
    ?>
">
		    <input type="hidden" name="quantity" value="1" title="Qty" class="input-text qty text" size="4">
		    <div class="input-donate">
			    <label for="donate-amt"></label>
			    <input type="text" id="nyp" required="required" name="nyp" title="nyp" class="input input-text amount nyp-input text" placeholder="Amount">
		    </div>
		    <button type="submit" title="DONATE NOW" class="major-btn-blue tabby-button">Donate
			    <span>Now</span>
		    </button>
	    </form>