This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( get_post_meta($post->ID, 'promo-img-01', true) ) : ?> | |
| <a href="<?php echo get_post_meta($post->ID, 'promo-link-01', true) ?>"> | |
| <img src="<?php echo get_post_meta($post->ID, 'promo-img-01', true) ?>"/> | |
| </a> | |
| <?php if ( get_post_meta($post->ID, 'promo-img-02', true) ) : ?> | |
| <a href="<?php echo get_post_meta($post->ID, 'promo-link-02', true) ?>"> | |
| <img src="<?php echo get_post_meta($post->ID, 'promo-img-02', true) ?>"/> | |
| </a> | |
| <?php if ( get_post_meta($post->ID, 'promo-img-03', true) ) : ?> | |
| <a href="<?php echo get_post_meta($post->ID, 'promo-link-03', true) ?>"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> | |
| xmlns:og="http://ogp.me/ns#" | |
| xmlns:fb="http://www.facebook.com/aqui-el-link-de-FB" | |
| > | |
| <head profile="http://gmpg.org/xfn/11"> | |
| <title><?php wp_title(' - ', true, 'right'); ?> <?php bloginfo('name'); ?> <?php if(get_bloginfo('description')) { echo " - " . get_bloginfo("description"); } ?></title> | |
| <meta property="og:title" content="<?php the_title(); ?>" /> | |
| <meta property="og:type" content="tipo de elemento" /> Ver aqui los tipos: http://developers.facebook.com/docs/opengraph/#types | |
| <meta property="og:url" content="<?php echo curPageURL(); ?>"/> Función pendiente |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a class="auto" href="<?php echo get_permalink($post->post_parent); ?>"><?php | |
| $parent_title = get_the_title($post->post_parent); | |
| echo $parent_title; | |
| ?> » </a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <object width='624' height='468'> | |
| <param name='movie' value='http://www.youtube.com/v/uxrxJT0zl8A?rel=0'> | |
| <param name='type' value='application/x-shockwave-flash'> | |
| <param name='allowfullscreen' value='true'> | |
| <param name='allowscriptaccess' value='always'> | |
| <param name="wmode" value="opaque" /> | |
| <embed width='624' height='468' | |
| src='http://www.youtube.com/v/uxrxJT0zl8A?rel=0' | |
| type='application/x-shockwave-flash' | |
| allowfullscreen='true' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You have set your custom short domain as: ldig.mx. | |
| To enable this custom short domain, you need to configure domain name service (DNS) settings for your domain. | |
| Setting up your DNS | |
| Set the DNS A record for ldig.mx to point to 168.143.174.97 | |
| If you are using a subdomain for your custom short domain, set a CNAME in your DNS record that points ldig.mx to cname.bitly.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type='text/javascript'> | |
| $(document).ready(function(){ | |
| $("img.img-transp").hover( | |
| function() { | |
| $(this).stop().animate({"opacity": ".5"}, "slow"); | |
| }, | |
| function() { | |
| $(this).stop().animate({"opacity": "1"}, "slow"); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // Custon login panel to make the site your own. | |
| function custom_login() { | |
| echo '<link rel="stylesheet" type="text/css" href="http://clientes.ldmedia.com.mx/wp-content/themes/GTD/style/css/login.css"" />'; | |
| } | |
| add_action('login_head', 'custom_login'); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="social-especiales" style="width:235px;"> | |
| <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show-faces=true&width=350&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:235px; height:60px"></iframe> | |
| <h3 style="font-size:16px; color:#333333;">Recomienda esta ubicación:</h3> | |
| <div class="send-FB" style="float:left; padding-right:10px;"> | |
| <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:send href=<?php echo urlencode(get_permalink($post->ID)); ?> font="arial"></fb:send></div> | |
| <div class="fb_share" style="float:left; "><a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php" >Recomendar</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div> | |
| <div style="clear:both;"></div><div id="twitter" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Es necesario contar con la librería básica de jQuery | |
| <script type='text/javascript'> | |
| $(document).ready(function(){ | |
| $("#el-platillo img.a").hover( //Aquí va la clase del elemento que se quiere afectar | |
| function() { | |
| $(this).stop().animate({"opacity": ".5"}, "slow"); // 0 es totalmente transparente .5 es el 50% | |
| }, | |
| function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| global $post; | |
| $tmp_post = $post; | |
| $args = array( 'numberposts' => 8, 'offset'=> 0, 'category' => 1, 'orderby'=> 'rand' ); | |
| $myposts = get_posts( $args ); | |
| foreach( $myposts as $post ) : setup_postdata($post); ?> | |
| <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> | |
| <?php endforeach; ?> | |
| <?php $post = $tmp_post; ?> |
NewerOlder