Ask Xóa cái widget mặc định của themes

Wendy

Junior
Joined
Oct 13, 2010
Messages
213
Reactions
161
MR
0.029
6cb0e8a896.png

Tớ không thể nào xóa được cái Meta và cá Theme Credit ai có thể cho tớ Yahoo và hướng dẫn tớ xóa. Thank rất nhiều
 

thanhbaker

Junior
Joined
Aug 3, 2011
Messages
157
Reactions
69
MR
0.000
Call me! Call me! Chat with me via Skype
:binhsua50: vào widget kéo phần cần thiết vào là widget mặc định sẽ mất mà

nếu ko đc thì xóa code cái mục đó đi là đc - nhớ tải về trc khi xóa có gì còn up lại dc :binhsua50:
 

daikin013

Hero
Verified
Joined
May 31, 2011
Messages
1,219
Reactions
2,459
MR
0.071
$350.00
Chat with me via Skype
kéo 1 file text ko có chữ gì vào đó sẽ mất, muốn thay cái gì vào đó thì kéo cái đó vào là đc
 

nium4ever

Hero
Joined
Apr 13, 2010
Messages
1,236
Reactions
502
MR
0.006
bạn thay đổi widget mặc định của nó đi là nó tự đỗi thôi , và đừng xài wp cache để nó tự cập nhật
 
@@ cậu check từ trên xuống vì website cũng load theo tuần tự. Nếu cậu ko ngại, có thể up file function.php đó lên MF chẳng hạn. Rồi đưa lên đây! Yên tâm, file đó chả ảnh hưởng mấy vì đa phần nội dung function.php là tương tự.
 
lần này thì nó nằm trong file sidebar.php đó cậu. Theo mặc định thì sẽ có List pages, Categories, Archives và Calendar sidebar trái. Recent Posts, Tag Cloud, Meta và Theme Credit sidebar phải. Cậu vào del các dòng sau:
Code:
<?php wp_list_pages('title_li=<h4>Pages</h4>'); ?>
		
	<?php wp_list_categories('show_count=1&title_li=<h4>Categories</h4>'); ?>

	<li>
		<h4>Archives</h4>
		<ul><?php wp_get_archives('type=monthly'); ?></ul>
	</li>

	<li><h4>Calendar</h4><?php get_calendar(); ?></li>

Code:
<li><h4>Recent Posts</h4><ul><?php wp_get_archives('type=postbypost&limit=5')?></ul></li>
			
	<li><h4>Tag Cloud</h4><?php wp_tag_cloud('smallest=10&largest=20&number=30&unit=px&format=flat&orderby=name'); ?></li>

	<?php if ( is_home() || is_page() ) { 	/* If this is the frontpage */ 
				wp_list_bookmarks('orderby=rand&title_before=<h4>&title_after=</h4>&between=<br/>&show_description=1&limit=20');
			}
	?>
	<li><h4>Meta</h4>
		<ul>
		<?php wp_register(); ?>
				<li><?php wp_loginout(); ?></li>
				<?php wp_meta(); ?>
		</ul>
	</li>
Code:
<?php theme_sb_credit();?>
Hy vọng sẽ giải quyết đc vấn đề của cậu!
 
Code:
<?php global $tpinfo;?>
<form class="mainsearch" action="<?php bloginfo('url'); ?>/" method="get">
	<input class="keyword" type="text" value="" name="s" id="s" />
	<input class="submit" value="" type="submit"/>
</form>
<a href="<?php echo (!empty($tpinfo['templatelite_feedurl']))? $tpinfo['templatelite_feedurl'] : bloginfo('rss2_url'); ?>" title="RSS Feed" class="rss"></a>

<div id="sidebar"><div id="sidebar_top"><div id="sidebar_btm">
<div id="sidebar1">
<ul>
<?php
	if(!dynamic_sidebar('sidebar-1')) :
?>
	
<?php	endif;?>
</ul>
</div>

<div id="sidebar2">
<ul>
<?php
	if(!dynamic_sidebar('sidebar-2')) :
?>
			
<?php	endif;?>
	<?php theme_sb_credit();?>
</ul>
</div>
</div></div></div>
Cậu copy cái này paste vào file sidebar.php (nhớ backup 1 bản trc nhé).
Code:
<?php theme_sb_credit();?>
cái này dính credit nằm trong file template.php(base64encode) nên ko xóa ngay trong đây đc. Có thể decode đc!
 

Announcements

Today's birthdays

Forum statistics

Threads
423,787
Messages
7,133,232
Members
176,237
Latest member
789clubfish

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom