Activity Stream
48,167 MEMBERS
6788 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member
    Website's:
    FilmaShqip.info

    Default can u edit this ?

    hello all can someone edit this pls!i need to get ride of "lifestream" code!i tryed it myself but when i cut it show a big space between header and first post!
    If u can do this!
    Regards!
    Code: 
    <?php get_header(); ?>
    <!--Begin Feaured Article-->
    <?php if (get_option('lightsource_featured') == 'on') { include(TEMPLATEPATH . '/includes/featured.php'); } ?>
    <!--End Feaured Article-->
    
    <div id="container">
    <?php if (get_option('lightsource_random') == 'on') { ?>
        <div class="home-box-container"> <span class="heading2"><?php _e('Random Posts','LightSource') ?></span>
            <div class="prev"></div>
            <div class="home-box">
                <ul>
                    <?php $my_query = new WP_Query("orderby=rand&showposts=$lightsource_random_posts");
          while ($my_query->have_posts()) : $my_query->the_post(); ?>
                    <li> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','LightSource'), get_the_title()) ?>" class="titles-small">
                        <?php truncate_title(20); ?>
                        </a>
                        <div class="post-info"><?php _e('Posted by','LightSource') ?>
                            <?php the_author() ?>
                            <?php _e('on','LightSource') ?>
                            <?php the_time('m jS, Y') ?>
                        </div>
                        
                        <?php $width = 65;
                              $height = 65;
                                      
                              $classtext = 'thumbnail-small';
                              $titletext = get_the_title();
    
                              $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
                              $thumb = $thumbnail["thumb"]; ?>
                        
                        <?php if($thumb != '') { ?>
                            <a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','LightSource'), get_the_title()) ?>">
                                <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
                            </a>
                        <?php } ?>
                        
                        <?php truncate_post(110); ?>
                    </li>
          <?php endwhile; ?>
                </ul>
            </div>
            <div class="next"></div>
        </div>
    <?php } ?>
    <?php if (get_option('lightsource_recent') == 'on') { ?>
        <div class="home-box-container2"> <span class="heading2"><?php _e('Recent Comments','LightSource') ?></span>
            <div class="prev"></div>
            <div class="home-box2 home-comments">
                <?php include (TEMPLATEPATH . '/simple_recent_comments.php'); /* recent comments plugin by: www.g-loaded.eu */ ?>
                <?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments($lightsource_recent_comments, 55, '', ''); } ?>
            </div>
            <div class="next"></div>
        </div>
    <?php } ?>
    <div class="home-box-container3"> <span class="heading2"><?php _e('Lifestream','LightSource') ?></span>
        <div class="prev"></div>
        <div class="home-box3">
            <?php if (function_exists('lifestream')) lifestream(); else echo('Please, activate plugins that come with the theme.'); ?>
        </div>
        <div class="next"></div>
    </div>
    <div style="clear: both;"></div>
    <div id="left-div">
        <div id="left-inside">
            <?php if (get_option('lightsource_format') == 'on') { ?>
                <?php include(TEMPLATEPATH . '/includes/blogstyle.php'); ?>
            <?php } else { include(TEMPLATEPATH . '/includes/default.php'); } ?>
        </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    </body>
    </html>
    Mars Reviewed by Mars on . can u edit this ? hello all can someone edit this pls!i need to get ride of "lifestream" code!i tryed it myself but when i cut it show a big space between header and first post! If u can do this! Regards! <?php get_header(); ?> <!--Begin Feaured Article--> <?php if (get_option('lightsource_featured') == 'on') { include(TEMPLATEPATH . '/includes/featured.php'); } ?> <!--End Feaured Article--> <div id="container"> <?php if (get_option('lightsource_random') == 'on') { ?> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    FilmaShqip.info
    with same test i find it!
    Thread can be closed!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [WordPress] Php edit
    By lukey372 in forum Web Application/Script Support
    Replies: 5
    Last Post: 16th Dec 2011, 06:00 AM
  2. (vB 4.1.3) (Edit Required) Edit from code box
    By champ_007_bond in forum vBulletin
    Replies: 0
    Last Post: 15th Dec 2011, 08:20 PM
  3. how to edit this????
    By raj1126 in forum vBulletin
    Replies: 1
    Last Post: 27th Nov 2010, 09:17 AM
  4. How to edit nav bar?
    By lig}{tning in forum IP.Board
    Replies: 3
    Last Post: 28th Oct 2010, 05:32 PM
  5. URL edit
    By FancyPants in forum phpBB
    Replies: 3
    Last Post: 25th Feb 2010, 03:21 AM

Tags for this Thread

BE SOCIAL