Forums

How do I remove these 2 images? (7 posts)

  1. ipunkbali
    Member
    Posted 2 years ago #

    iM USING theme http://newwpthemes.com/livedemo/?wptheme=Strownes
    I need your help how do I remove the image of "featured post and its image"?

    and second, if you scroll down.. theres another image on sidebar says newwpthemes.

    thanks.

  2. Justin01
    Member
    Posted 2 years ago #

    Open index.php, find those, delete them.

    Good luck.

  3. ipunkbali
    Member
    Posted 2 years ago #

    which one to be removed? this is my index.php

    <?php get_header(); ?>
    <div class="span-24" id="contentwrap">
    <div class="span-16">
    <div id="content">
    <?php if(is_home()) { include (TEMPLATEPATH . '/featured.php'); } ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <div class="postdate"><?php the_time('F jS, Y') ?></div>
    <h2 class="title">" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <div class="entry">
    <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>
    <?php the_content(''); ?>
    </div>
    <div class="readmorecontent">
    " rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Read More »
    </div>
    </div><!--/post-<?php the_ID(); ?>-->

    <?php endwhile; ?>
    <div class="navigation">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
    <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
    <?php } ?>
    </div>
    <?php else : ?>
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>
    </div>
    </div>

    <?php get_sidebars(); ?>
    </div>
    <?php get_footer(); ?>

  4. Justin01
    Member
    Posted 2 years ago #

    Looks like it has to do with this line:

    <?php if(is_home()) { include (TEMPLATEPATH . '/featured.php'); } ?>

    I think you could just remove this line or take a look at the featured.php file and then delete the unnecessary Javascript files in the "jdgallery" folder.

  5. ipunkbali
    Member
    Posted 2 years ago #

    thanks alot, now its gone.

    what about the other image on sidebar that says Newwpthemes? the site is http://www.palltech.com

    this is my sidebar code
    <div class="span-8 last">

    <div class="sidebar">
    <?php if(get_theme_option('socialnetworks') != '') {
    ?>
    <div class="addthis_toolbox">
    <div class="custom_images">
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/twitter.png" width="32" height="32" alt="Twitter" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/delicious.png" width="32" height="32" alt="Delicious" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/facebook.png" width="32" height="32" alt="Facebook" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/digg.png" width="32" height="32" alt="Digg" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/stumbleupon.png" width="32" height="32" alt="Stumbleupon" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/favorites.png" width="32" height="32" alt="Favorites" />
    <img src="<?php bloginfo('template_directory'); ?>/images/socialicons/more.png" width="32" height="32" alt="More" />
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a65e1d93cd75e94"></script>
    </div>
    <?php
    }
    ?>

    <?php if(get_theme_option('ads_125') != '') {
    ?>

    <?php } ?>

      <?php
      if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    • <h2><?php _e('Recent Posts'); ?></h2>
    • <h2>Archives</h2>
        <?php wp_get_archives('type=monthly'); ?>
    • <h2>Calendar</h2>
      <?php get_calendar(); ?>
    • <?php wp_list_categories('hide_empty=0&show_count=1&title_li=<h2>Categories</h2>'); ?>

      <li id="tag_cloud"><h2>Tags</h2>
      <div>
      <?php wp_tag_cloud('largest=16&format=flat&number=20'); ?>
      </div>

      <?php wp_list_bookmarks(); ?>

      <?php include (TEMPLATEPATH . '/recent-comments.php'); ?>
      <?php if (function_exists('get_recent_comments')) { get_recent_comments(); } ?>

    • <h2>Meta</h2>
    • <?php endif; ?>

    <?php if(get_theme_option('ad_sidebar1_bottom') != '') {
    ?>
    <div class="sidebaradbox">
    <?php echo get_theme_option('ad_sidebar1_bottom'); ?>
    </div>
    <?php
    }
    ?>
    </div>
    </div>

  6. Justin01
    Member
    Posted 2 years ago #

    Delete these lines:

    <div class="sidebaradbox">
    <?php echo get_theme_option('ad_sidebar1_bottom'); ?>
    </div>

    Please, next time, go look in the website's source (CTRL+U) or get the Firebug addon for Firefox. This is pretty easy...

  7. gwalker
    Member
    Posted 2 years ago #

    That theme has an option page in wp-admin/themes/"Strownes Options"

    there you will see
    1. Featured Posts Enabled? Uncheck if you do not want to show featured posts slideshow in homepage.

    2. Sidebar 1 Bottom Banner, just remove the code from the coded area

Topic Closed

This topic has been closed to new replies.

About this Topic