Warning: file_get_contents(http://pop.robingood.it/transfer_data.php?a=) [function.file-get-contents]: failed to open stream: Host is down in [path]/global.php(238) : eval()'d code on line 23
POP Forum - Visualizza un messaggio singolo - Plug-in per wordpress
Discussione: Plug-in per wordpress
Visualizza un messaggio singolo
  #11 (permalink)  
Vecchio 06-05-2009, 21:08
Rispondi quotando
L'avatar di Cristian Olmo Cristian Olmo non č in linea
Cristian Olmo
Senior Member
Registrato dal: Jan 2009
Messaggi: 768
Invia un messaggio tremite Skype a Cristian Olmo
codice:
<title>
    <?php if ( is_home() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php bloginfo('description'); ?><?php } ?>
    <?php if ( is_search() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Search Results<?php } ?>
    <?php if ( is_author() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Author Archives<?php } ?>
    <?php if ( is_single() ) { ?><?php wp_title(''); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
    <?php if ( is_page() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php wp_title(''); ?><?php } ?>
    <?php if ( is_category() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Archive&nbsp;|&nbsp;<?php single_cat_title(); ?><?php } ?>
    <?php if ( is_month() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Archive&nbsp;|&nbsp;<?php the_time('F'); ?><?php } ?>
    <?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Tag Archive&nbsp;|&nbsp;<?php  single_tag_title("", true); } } ?>
    </title>

    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('woo_feedburner_url') <> "" ) { echo get_option('woo_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
       
    <!--[if IE 6]>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/pngfix.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/menu.js"></script>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/ie6.css" media="screen" />
    <![endif]-->

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/cufon-yui.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/Delicious.font.js"></script>
    <script type="text/javascript">
        Cufon.replace('h2');
        Cufon.replace('h3');
    </script>
    
    
       
    <?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
</head>

<body class="custom">

<div id="wrap">
    <div id="top">

        <!-- PAGE NAVIGATION -->
        <ul id="pagenav">       
            <li class="<?php if ( is_home() ) { echo 'current_page_item'; } ?>"><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><span class="left"></span>Home<span class="right"></span></a></li>            
            <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&link_before=<span class="left"></span>&link_after=<span class="right"></span>&exclude=' . get_option('woo_exclude_pages') ); ?>        
        </ul>
        <!-- Page Nav Ends -->
        
        <!-- HEADER -->
        <div id="header">
            <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><img class="title" src="<?php if ( get_option('woo_logo') <> "" ) { echo get_option('woo_logo').'"'; } else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a>
            <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
            
            <!-- TOP AD -->
            <?php if (get_option('woo_ad_top') && !get_option('woo_twitter')) include (TEMPLATEPATH . "/ads/top_ad.php"); ?>
            
        </div>
        <!-- end #header -->        

        <!-- MAIN MENU -->
        <div id="menu">
            <ul id="catnav">
                <?php wp_list_categories('sort_column=menu_order&depth=3&title_li=&exclude=' . get_option('woo_exclude_cats') ); ?>
            </ul>
            
             <!-- SEARCH -->  
             <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">                
                <div id="search">
                    <input type="text" value="Cerca" onfocus="if (this.value == 'search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search';}" name="s" id="s" />
                    <input name="" type="hidden" value="Go" class="btn"  />
                </div>                                                
            </form>
            <!-- end search -->  

        </div>
        <!-- end #menu -->        
                
    </div>
    <!-- end #top -->

EDIT: Cristian non ho toccato il tuo testo ho semplicemente inserito un codice all'inio
e alla fine per fare in modo di avere un frame invece che tutto quel testo cosė da essere pių ordinati!

Giovanni.
__________________
Un blog interamente dedicato ai browser game e un blog che si occupa unicamente di sicurezza informatica.

Ultima modifica di Giovanni Panasiti : 06-05-2009 a 21:20.