Title: Need some help with custom coding
Last modified: August 20, 2016

---

# Need some help with custom coding

 *  [maranello2](https://wordpress.org/support/users/maranello2/)
 * (@maranello2)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/)
 * Hi!
 * I have installed a theme called Scylla Lite on my homepage. Originally this theme
   has a slider on the top of the front page showing “Featured posts”. You have 
   to add stuff to the “Featured post” manually with text, right size image and 
   link, pretty troublesome.
 * I want to change the slider to not slide… and only show the latest post with 
   a image of 625px by 250px and its excerpt in the same style as the slider-text(
   a grey box with white text over image).
 * Are there any code-gurus on this forum that are willing to help me with this?
 * Some files that should be usefull:
    [easyslider.php](http://pastebin.com/HLXBwsdY)
   [layout1.php](http://pastebin.com/9BGFL4aE)
 * [URL to my homepage](http://www.holtenmedia.no)
 * Sorry about my poor English, hope someone will help me with this 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [webriti](https://wordpress.org/support/users/priyanshumittal/)
 * (@priyanshumittal)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2142848)
 * update your easyslider.php to
 * _[[please remember to use the ‘code’ button to mark the code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 *     ```
       <?php $option =  get_option('scl_options'); ?>
       <div id="slider">
   
       <ul>
               <?php $loop = new WP_Query( array( 'post_type' => 'post', 'posts_per_page' => $option['scl_num_sld'] ) ); ?>
               <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
   
       <li>
                <div class="slider-content">
       <?php $args = array( 'numberposts' => '1' );
       $recent_post = wp_get_recent_posts( $args );
       ?>
                   <?php the_title( '<h2 class="entry-title"><a title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h2>' ); ?>
                       <a>"></a><?php the_excerpt(); ?>
                   </div>
               <?php the_post_thumbnail(); ?>
                   </li>
               <?php endwhile; ?>
               </ul>
       </div>
       ```
   
 *  Thread Starter [maranello2](https://wordpress.org/support/users/maranello2/)
 * (@maranello2)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143002)
 * Great! Thanks for the fast reply! I will try this when i get home from work.
 *  [webriti](https://wordpress.org/support/users/priyanshumittal/)
 * (@priyanshumittal)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143006)
 * also do move this easyslider.js file to some other place so as to halt this slider
   bcs that js is designed to slide the content.Now only one thing remains how to
   display image in that slider div. Will update you when once its done.
 *  Thread Starter [maranello2](https://wordpress.org/support/users/maranello2/)
 * (@maranello2)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143017)
 * Now i have replaced the easyslider.php. Not far away from what i wanted, only
   need the picture to fit better to the box. And after the title i se some coding
   misplaced: “>.
    I will move the easyslider.js when i get home.
 * Thank so so much for the help so far! 🙂
 *  [webriti](https://wordpress.org/support/users/priyanshumittal/)
 * (@priyanshumittal)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143034)
 * you want to display a picture from your post or any thing nice could help….
 *  Thread Starter [maranello2](https://wordpress.org/support/users/maranello2/)
 * (@maranello2)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143036)
 * I want to display a picture from the post to fit the box. And i need the title
   to link to the article.
 *  Thread Starter [maranello2](https://wordpress.org/support/users/maranello2/)
 * (@maranello2)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143051)
 * Hi, now i have moved the easyslider.js. Then there is just the right size image
   and title-link to fix.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Need some help with custom coding’ is closed to new replies.

 * 7 replies
 * 2 participants
 * Last reply from: [maranello2](https://wordpress.org/support/users/maranello2/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/need-some-help-with-custom-coding/#post-2143051)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
