<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="apple-touch-startup-image" href="splash-screen-320x460.png" media="screen and (max-device-width: 320px)" />
</head>
var jq = jQuery.noConflict();
@media screen and (max-width:1240px) and (min-width:1024px){ }
@media screen and (max-width:1023px) and (min-width:767px){}
@media screen and (max-width:766px) and (min-width:651px){}
@media screen and (max-width:650px) and (min-width:351px){
@media screen and (max-width: 350px){}
HTML pages
<?php include 'include/head.php'; ?>
/*------------------------------------------------------------------------------------------------*/
Executable PHP widget -----------------> Plugin
Black Studio TinyMCE Widget
Widget Context ------------------------> Plugin
PS Disable Auto Formatting -------------> </br><p>
Slick Sitemap -------------- > menu
Modernizr for WordPress -------------- > boder
Hide Title -------------------------- > Hide Title
Remove Widget Titles ---------------->"!" Remove Titles
Google Language Translator ---------------- >Google Language
Easy Social Icons ------------------------ > Social
Upcoming Events Lists ------------------ > Events
WP Blog and Widget --------------------> Blog
Carousel Horizontal Posts Content Slider - Posts
WP Photo Album Plus -----------------> images And Zoom images
TouchCarousel
grid Products
WordPress Thumbnail Slider
NextGEN Gallery --------------------> images And Zoom images
Slideshow Gallery --------------------> images And Zoom images
WP Image Carousel -------------------->
PrettyPhoto Zoom ----------- >zoom Done
Weptile Image Slider Widget, Cyclone Slider -----------> banner
super responsive slider
rev slider ----------------------------> banner
WP flash img show -images ------------> banner
WP UI - Tabs, Accordions, Sliders. ------------------------> Faq Plugin
widget shortcode ---------------------- widget
<img src="/images/<? the_ID();?>.jpg" alt="" /> -------- > all pages banner
Cudazi Scroll to Top ------------------------- > top
functions.php ---------------> widget cod
register_sidebar( array(
'name' => __( 'footer_bottem', 'twentyeleven' ),
'id' => 'footer_bottem',
'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
< ------------------------------------------------------------------------------------------------------->
header.php ---------------> widget cod
<?php if ( is_active_sidebar( 'bannerbottem_content' ) ) : ?>
<div id="second" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'bannerbottem_content' ); ?>
</div><!-- #second .widget-area -->
<?php endif; ?>
<--------------------------------- Next To Back ------------------------------->
<?php
$pagelist = get_pages('sort_column=menu_order&sort_order=asc');
$pages = array();
foreach ($pagelist as $page) {
$pages[] += $page->ID;
}
$current = array_search(get_the_ID(), $pages);
$prevID = $pages[$current-1];
$nextID = $pages[$current+1];
?>
<div class="navigation">
<?php if (!empty($prevID)) { ?>
<div class="alignleft">
<a href="<?php echo get_permalink($prevID); ?>"
title="<?php echo get_the_title($prevID); ?>"><?php echo get_the_title($prevID); ?></a>
</div>
<?php }
if (!empty($nextID)) { ?>
<div class="alignright">
<a href="<?php echo get_permalink($nextID); ?>"
title="<?php echo get_the_title($nextID); ?>"><?php echo get_the_title($nextID); ?></a>
</div>
<?php } ?>
<div class="breadcrumbs">
<?php if(function_exists('bcn_display'))
{
bcn_display();
}?>
</div>
<--------------------------------- Next To Back ------------------------------->
Show Menu Shortcode ----------------> Plugin
[show-menu menu="new-menu"] ----------- >pages code
< ----------------- functions.php - code -------------------->
function print_menu_shortcode($atts, $content = null) {
extract(shortcode_atts(array( 'name' => null, ), $atts));
return wp_nav_menu( array( 'menu' => $name, 'echo' => false ) );
}
add_shortcode('menu', 'print_menu_shortcode');
< ----------------- functions.php - code -------------------->
<-------------------------- Magento Code -------------------------------------------->
home pages banne condition
<?php
$action = Mage::app()->getFrontController()->getAction()->getFullActionName();
if($action=='cms_index_index'){
echo "home";?>
<div><?php echo $this->getChildHtml('topSearch') ?></div>**
<?php } ?>
Inner pages banne condition
<?php
$action = Mage::app()->getFrontController()->getAction()->getFullActionName();
if($action!='cms_index_index'){ ?>
<div><?php echo $this->getChildHtml('topSearch') ?></div>
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="apple-touch-startup-image" href="splash-screen-320x460.png" media="screen and (max-device-width: 320px)" />
</head>
$(document).ready(function(){
$(".buttonmenu").click(function(){
var className = $('#menu').attr('class');
if(className == 'ResponsiveClass'){
$("#menu").removeClass('ResponsiveClass');
}else{
$("#menu").addClass('ResponsiveClass');
}
});
});
var jq = jQuery.noConflict();
@media screen and (max-width:1240px) and (min-width:1024px){ }
@media screen and (max-width:1023px) and (min-width:767px){}
@media screen and (max-width:766px) and (min-width:651px){}
@media screen and (max-width:650px) and (min-width:351px){
@media screen and (max-width: 350px){}
HTML pages
<?php include 'include/head.php'; ?>
/*------------------------------------------------------------------------------------------------*/
Executable PHP widget -----------------> Plugin
Black Studio TinyMCE Widget
Widget Context ------------------------> Plugin
PS Disable Auto Formatting -------------> </br><p>
Slick Sitemap -------------- > menu
Modernizr for WordPress -------------- > boder
Hide Title -------------------------- > Hide Title
Remove Widget Titles ---------------->"!" Remove Titles
Google Language Translator ---------------- >Google Language
Easy Social Icons ------------------------ > Social
Upcoming Events Lists ------------------ > Events
WP Blog and Widget --------------------> Blog
Carousel Horizontal Posts Content Slider - Posts
WP Photo Album Plus -----------------> images And Zoom images
TouchCarousel
grid Products
WordPress Thumbnail Slider
NextGEN Gallery --------------------> images And Zoom images
Slideshow Gallery --------------------> images And Zoom images
WP Image Carousel -------------------->
PrettyPhoto Zoom ----------- >zoom Done
Weptile Image Slider Widget, Cyclone Slider -----------> banner
super responsive slider
rev slider ----------------------------> banner
WP flash img show -images ------------> banner
WP UI - Tabs, Accordions, Sliders. ------------------------> Faq Plugin
widget shortcode ---------------------- widget
<img src="/images/<? the_ID();?>.jpg" alt="" /> -------- > all pages banner
Cudazi Scroll to Top ------------------------- > top
functions.php ---------------> widget cod
register_sidebar( array(
'name' => __( 'footer_bottem', 'twentyeleven' ),
'id' => 'footer_bottem',
'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
< ------------------------------------------------------------------------------------------------------->
header.php ---------------> widget cod
<?php if ( is_active_sidebar( 'bannerbottem_content' ) ) : ?>
<div id="second" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'bannerbottem_content' ); ?>
</div><!-- #second .widget-area -->
<?php endif; ?>
<--------------------------------- Next To Back ------------------------------->
<?php
$pagelist = get_pages('sort_column=menu_order&sort_order=asc');
$pages = array();
foreach ($pagelist as $page) {
$pages[] += $page->ID;
}
$current = array_search(get_the_ID(), $pages);
$prevID = $pages[$current-1];
$nextID = $pages[$current+1];
?>
<div class="navigation">
<?php if (!empty($prevID)) { ?>
<div class="alignleft">
<a href="<?php echo get_permalink($prevID); ?>"
title="<?php echo get_the_title($prevID); ?>"><?php echo get_the_title($prevID); ?></a>
</div>
<?php }
if (!empty($nextID)) { ?>
<div class="alignright">
<a href="<?php echo get_permalink($nextID); ?>"
title="<?php echo get_the_title($nextID); ?>"><?php echo get_the_title($nextID); ?></a>
</div>
<?php } ?>
<div class="breadcrumbs">
<?php if(function_exists('bcn_display'))
{
bcn_display();
}?>
</div>
<--------------------------------- Next To Back ------------------------------->
Show Menu Shortcode ----------------> Plugin
[show-menu menu="new-menu"] ----------- >pages code
< ----------------- functions.php - code -------------------->
function print_menu_shortcode($atts, $content = null) {
extract(shortcode_atts(array( 'name' => null, ), $atts));
return wp_nav_menu( array( 'menu' => $name, 'echo' => false ) );
}
add_shortcode('menu', 'print_menu_shortcode');
< ----------------- functions.php - code -------------------->
home pages banne condition
<?php
$action = Mage::app()->getFrontController()->getAction()->getFullActionName();
if($action=='cms_index_index'){
echo "home";?>
<div><?php echo $this->getChildHtml('topSearch') ?></div>**
<?php } ?>
Inner pages banne condition
<?php
$action = Mage::app()->getFrontController()->getAction()->getFullActionName();
if($action!='cms_index_index'){ ?>
<div><?php echo $this->getChildHtml('topSearch') ?></div>
<?php } ?>
Comments
Post a Comment