Sponsor-Board.de

Normale Version: Links anordnen 2er Codes
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Aus

Code:
<div class="thumbs-rating-container" id="thumbs-rating-4731" data-content-id="4731">


Machst du:

Code:
<div class="thumbs-rating-container" id="thumbs-rating-4731" data-content-id="4731" style="float:left;">


Und aus dem <p> direkt unter dem input-Feld machst du:

Code:
<p style="clear:both;">


Das funktioniert auf jeden Fall.

Sorry habe leider keine ahnung vom coden, aber ein <p>, sehe ich in der php Seite nicht:

Das ist die komplette Seite:

PHP-Code:
<?php
/**
 * The Template for displaying all single video posts with standard layout.
 *
 * @package deTube
 * @subpackage Template
 * @since deTbue 1.1
 */

get_header(); ?>

<div id="main"><div class="wrap cf singlevideo">
    
    <div id="headline" class="cf">
        <button id="RBL_Element" style="background: none; border: none;">
   <img src="http://www.doku-one.de/bilder/email_icon1.png"/></button>
   <div id="dialog" style="display:none;">
        <span><?=get_option('RBL_Mail');?> :</span><br />
        <input type="text" name="RBL_Mail" size="24"/><br />

        <span><?=get_option('RBL_Desc');?> :</span><br />
        <textarea name="RBL_Desc" cols="26" rows="10"></textarea><br />
        <button id="RBL_Send"><?=get_option('RBL_Submit');?></button>
    </div>
    <div class="inner">
        <h1 id="title"><?php if (strlen($post->post_title) > 62) {
echo 
substr(the_title($before ''$after ''FALSE), 062) . '...'; } else {
the_title();
?></h1>
    
        <div id="actions">
            <?php if (function_exists('video_width')) { video_width(); }; ?>
            <?php if (function_exists('turn_the_lights_off')) { turn_the_lights_off(); }; ?>        
            <?php dp_like_post(); ?>

        </div>
    </div><!-- end #headline>.inner -->
    </div><!-- end #headline -->
    
    
    <?php if (function_exists('video_width')) { ?>
            <div id="video">
            <div id="screen">
                <?php dp_video($post->IDget_option('dp_single_video_autoplay')); ?>
            </div><!-- end #screen -->
            </div><!-- end #video-->
    <?php }; ?>
    
    
    <div id="content" role="main">
        <?php while (have_posts()) : the_post(); global $post;?>
        
        <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
        
        <?php if (!function_exists('video_width')) { ?>
            <div id="video">
            <div id="screen">
                <?php dp_video($post->IDget_option('dp_single_video_autoplay')); ?>
            </div><!-- end #screen -->
            </div><!-- end #video-->
        <?php }; ?>
        
        <div id="details" class="section-box">
            <div class="section-content">
            <div id="info" data-height="150">
            
                <div class="entry-content rich-content">
                <?=function_exists('thumbs_rating_getlink') ? thumbs_rating_getlink() : ''?>
                    <?php the_content(); ?>
                    <?php wp_link_pages(array('before' => '<p class="entry-nav pag-nav"><span>'.__('Pages:''dp').'</span> ''after' => '</p>''next_or_number' => 'number')); ?>
                </div><!-- end .entry-content -->
            
                <div id="extras">
                    <h4><?php _e('Category:''dp'); ?></h4> <?php the_category(', '); ?>
                    <?php the_tags('<h4>'.__('Tags:''dp').'</h4>'', '''); ?>
                </div>
            </div><!-- end #info -->
            </div><!-- end .section-content -->
            
            <div class="info-toggle">
                <a href="#" class="info-more"><?php _e('Show more''dp'); ?></a>
                <a href="#" class="info-less"><?php _e('Show less''dp'); ?></a>
            </div>
        </div><!--end #deatils-->
        </div><!-- end #post-<?php the_ID(); ?> -->

        <?php comments_template(''true); ?>

        <?php endwhile; ?>
    </div><!-- end #content -->

    <?php get_sidebar(); ?>

</div></div><!-- end #main -->
    
<?php get_footer(); ?>


Den anderen Code habe ich reingesetz:

PHP-Code:
<?php
/**
 * The Template for displaying all single video posts with standard layout.
 *
 * @package deTube
 * @subpackage Template
 * @since deTbue 1.1
 */

get_header(); ?>

<div id="main"><div class="wrap cf singlevideo">
    
    <div id="headline" class="cf">
        <button id="RBL_Element" style="background: none; border: none;">
   <img src="http://www.doku-one.de/bilder/email_icon1.png"/></button>
   <div id="dialog" style="display:none;">
        <span><?=get_option('RBL_Mail');?> :</span><br />
        <input type="text" name="RBL_Mail" size="24"/><br />

        <span><?=get_option('RBL_Desc');?> :</span><br />
        <textarea name="RBL_Desc" cols="26" rows="10"></textarea><br />
        <button id="RBL_Send"><?=get_option('RBL_Submit');?></button>
    </div>
    <div class="inner">
        <h1 id="title"><?php if (strlen($post->post_title) > 62) {
echo 
substr(the_title($before ''$after ''FALSE), 062) . '...'; } else {
the_title();
?></h1>
    
        <div id="actions">
            <?php if (function_exists('video_width')) { video_width(); }; ?>
            <?php if (function_exists('turn_the_lights_off')) { turn_the_lights_off(); }; ?>        
            <?php dp_like_post(); ?>

        </div>
    </div><!-- end #headline>.inner -->
    </div><!-- end #headline -->
    
    
    <?php if (function_exists('video_width')) { ?>
            <div id="video">
            <div id="screen">
                <?php dp_video($post->IDget_option('dp_single_video_autoplay')); ?>
            </div><!-- end #screen -->
            </div><!-- end #video-->
    <?php }; ?>
    
    
    <div id="content" role="main">
        <?php while (have_posts()) : the_post(); global $post;?>
        
        <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
        
        <?php if (!function_exists('video_width')) { ?>
            <div id="video">
            <div id="screen">
                <?php dp_video($post->IDget_option('dp_single_video_autoplay')); ?>
            </div><!-- end #screen -->
            </div><!-- end #video-->
        <?php }; ?>
        
        <div id="details" class="section-box">
            <div class="section-content">
            <div id="info" data-height="150">
            
                <div class="entry-content rich-content">
                <?=function_exists('thumbs_rating_getlink') ? thumbs_rating_getlink() : ''?><script language="JavaScript">
  function selectText(textField)
  {
    textField.focus();
    textField.select();
  }
</script><b>Doku URL:</b> <input type="text" name="sometext" size="20" value="<?php echo wp_get_shortlink(); ?>" onClick='selectText(this);'>
                    <?php the_content(); ?>
                    <?php wp_link_pages(array('before' => '<p class="entry-nav pag-nav"><span>'.__('Pages:''dp').'</span> ''after' => '</p>''next_or_number' => 'number')); ?>
                </div><!-- end .entry-content -->
            
                <div id="extras">
                    <h4><?php _e('Category:''dp'); ?></h4> <?php the_category(', '); ?>
                    <?php the_tags('<h4>'.__('Tags:''dp').'</h4>'', '''); ?>
                </div>
            </div><!-- end #info -->
            </div><!-- end .section-content -->
            
            <div class="info-toggle">
                <a href="#" class="info-more"><?php _e('Show more''dp'); ?></a>
                <a href="#" class="info-less"><?php _e('Show less''dp'); ?></a>
            </div>
        </div><!--end #deatils-->
        </div><!-- end #post-<?php the_ID(); ?> -->

        <?php comments_template(''true); ?>

        <?php endwhile; ?>
    </div><!-- end #content -->

    <?php get_sidebar(); ?>

</div></div><!-- end #main -->
    
<?php get_footer(); ?>


Gruß

Seiten: 1 2
Referenz-URLs