WordPress.org

Ready to get started?Download WordPress

Forums

Removing Sponsers and Pages tabs (18 posts)

  1. yehiapsycho
    Member
    Posted 3 years ago #

    Hello
    i am very very new to wordpress
    and am actually constructing my blog nowdays

    link right now : http://Sharingmonster.net/blog

    what i need ?
    ~ i need to remove the sponser and pages tabs on the right hand side.
    i would appricate any help

    ~Thanks in advance =)

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    You will need to start editing your theme's template files.

  3. yehiapsycho
    Member
    Posted 3 years ago #

    yup i know that :)
    but the main problem that i can't

    so i need some guidance =)

  4. That all depends on which theme you're using, etc. Generally, start by investigating your theme templates at Appearance/Editor in your admin panel. If you can't find the code that you need to remove, refer to your blog and look for "roadmaps" (images, etc.) around the sponser links and page tabs and look for those.

  5. yehiapsycho
    Member
    Posted 3 years ago #

    okai now i managed to remove the sponsers tab by removing all the php file and saving it onto my computer safely .

    P.s : i removed the sponser tab like you said from " Appearance/editor

    now i want to remove the pages " tab "
    http://i38.tinypic.com/67oz02.png
    Waiting for reply =) Thanks

  6. Can't tell from an image. No source code to work off of. Again, go through Appearance/Editor to find the code. Reference "roadmaps" if you have to.

  7. yehiapsycho
    Member
    Posted 3 years ago #

    Sorry for my noobish but i can't really locate the code

    but here's the image for the list

    http://i33.tinypic.com/v46s93.png

    Tell me which one i should go to .. then i will post the in-side code.

    sorry again :(

  8. Sidebar I guess.

  9. yehiapsycho
    Member
    Posted 3 years ago #

    okai . there we go
    here's the code for the sidebar

    <div class="right">
    <?php include (TEMPLATEPATH . '/tabs.php'); ?>	
    
    <?php include (TEMPLATEPATH . '/sponsors.php'); ?>	
    
    <div class="sidebar">
    	<ul>
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar("Sidebar1") ) : ?>
    		<div class="sidebox">
    		<li>
    			<h3 class="sidetitl">Pages</h3>
    			<ul>
    			<?php wp_list_pages('title_li='); ?>
    			</ul>
    		</li>
    	</div>
    
    	<?php endif; ?>
    	</ul>
    </div>
    
    <div class="sidebar2">
    	<ul>
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar("Sidebar2") ) : ?>
    		<div class="sidebox">
    		<li>
    			<h3 class="sidetitl">Pages</h3>
    			<ul>
    			<?php wp_list_pages('title_li='); ?>
    			</ul>
    		</li>
    	</div>
    
    	<?php endif; ?>
    	</ul>
    </div>
    
    </div>
  10. In that case, try the tabs.php or sponsors.php templates.

  11. yehiapsycho
    Member
    Posted 3 years ago #

    Tabs :

    <div class="clear"></div>
    <div id="newtabs" class="tabox rounded">
        <ul class="tabsnav">
            <li class="fea"><a href="#twitter"> Twitter </a></li>
    		<li class="rec"><a href=" #video"> Video </a></li>
    		<li class="pop"><a href="#recent"> Recent </a></li>
        </ul>
    
    <div id="twitter" class="tabsdiv">
    <?php
    $twit = get_option('grft_twit');
    include('twitter.php');?>
    <?php if(function_exists('twitter_messages')) : ?>
           <?php twitter_messages("$twit") ?>
           <?php endif; ?>
    </div>
    
    <div id="video" class="tabsdiv">
    <div> <?php $vid = get_option('grft_video'); echo stripslashes($vid); ?></div>
    </div>
    
     <div id="recent" class="tabsdiv">
        <ul>
    		<?php get_archives('postbypost', 8); ?>
        </ul>
    </div>
    </div>

    TAB

    <div id="tabzine" class="widgets rounded">
    
    <?php
    	$featucat = get_option('grft_gldcat');
    	$featucount = get_option('grft_gldct');
    	$my_query = new WP_Query('showposts='. $featucount .'&category_name='. $featucat .'');
    	if ($my_query->have_posts()) :
    ?>
    
    <ul id="tabnav" >
    	<?php while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>
            <li>
    		<a class="listab rounded" href="#feature-<?php the_ID(); ?>">
    		<?php boxim() ?>
    
    		<h3> <?php echo ShortenText(get_the_title()); ?></h3>
    		<p><?php the_content_rss('', TRUE, '', 15); ?> </p>
    		 </a>
    		</li>
    		<?php endwhile; ?>
    
    	</ul>
    
    	<?php endif; ?>
    <?php if ($my_query->have_posts()) :?>
    
    <div class="tabdiv">
    
    	<?php while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>	
    
    	<div id="feature-<?php the_ID(); ?>" class="videoid">
    		<a href="<?php the_permalink() ?>"><span class="shade"></span></a>
    <?php slidim() ?>
    
    	</div>
    <?php endwhile; ?>
    </div>
    <?php endif; ?>
    
    </div>

    Sponsers

    is empty because i removed it my self,so the sponsers tab is vanished like i said up-there

  12. I'm sorry, it was in the sidebar. That's what I get for looking first thing in the morning. Remove this from your Sidebar template:

    <div class="sidebox">
    		<li>
    			<h3 class="sidetitl">Pages</h3>
    			<ul>
    			<?php wp_list_pages('title_li='); ?>
    			</ul>
    		</li>
    	</div>
  13. yehiapsycho
    Member
    Posted 3 years ago #

    Okai removed it .. but this actually only removed one tab !!

    take a look :

    http://i35.tinypic.com/hwhh95.png

  14. That particular chunk of code is in your sidebar template twice. Remove the other chunk and you'll be fine.

  15. yehiapsycho
    Member
    Posted 3 years ago #

    Thanks alot sir ;)
    You really made my day !!
    one more question...
    how i can put my logo IN ? :O

  16. Where do you plan to put it?

  17. yehiapsycho
    Member
    Posted 3 years ago #

    http://i38.tinypic.com/2898tuh.png

    i suppose that this is called the header right ?

  18. yehiapsycho
    Member
    Posted 3 years ago #

    Sooo you have any idea ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags