网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > Blog(博客)/Wiki(维客)/RSS/Cms
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Blog(博客)/Wiki(维客)/RSS/Cms Blog(博客)/、Wiki(维客)、RSS、Cms等WEB 2.0相关技术讨论专区。

Reply
 
Thread Tools Display Modes
  #1   IP: 218.85.132.244
Old 2008-02-10, 10:44 PM
car car is offline
高级会员
 
Join Date: 2006-05-14
Posts: 534
car 正向着好的方向发展
Default wp tag cloud 用法

<?php if ( function_exists('wp_tag_cloud') ) : ?>
<li>
<h2>Popular Tags</h2>
<ul>
<?php wp_tag_cloud('smallest=8&largest=22'); ?>
</ul>
</li>
<?php endif; ?>

字体不一样大,如要一样大,则:

<?php if ( function_exists('wp_tag_cloud') ) : ?>
<li>
<h2>Popular Tags</h2>
<ul>
<?php wp_tag_cloud('smallest=8&largest=8'); ?>
</ul>
</li>
<?php endif; ?>


更多http://codex.wordpress.org/Template_Tags/wp_tag_cloud
http://codex.wordpress.org/Template_Tags
Reply With Quote
  #2   IP: 218.85.132.244
Old 2008-02-17, 10:55 PM
car car is offline
高级会员
 
Join Date: 2006-05-14
Posts: 534
car 正向着好的方向发展
Default

修改include文件中的widgets.php中的
Code:
function wp_widget_tag_cloud($args) {
	extract($args);
	$options = get_option('widget_tag_cloud');
	$title = empty($options['title']) ? __('Tags') : $options['title'];

	echo $before_widget;
	echo $before_title . $title . $after_title;
	wp_tag_cloud();
	echo $after_widget;

Code:
function wp_widget_tag_cloud($args) {
	extract($args);
	$options = get_option('widget_tag_cloud');
	$title = empty($options['title']) ? __('Tags') : $options['title'];

	echo $before_widget;
	echo $before_title . $title . $after_title;
	wp_tag_cloud('smallest=8&largest=8');	echo $after_widget;
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag字号 怎么修改? trademan Blog(博客)/Wiki(维客)/RSS/Cms 0 2008-02-04 09:38 AM
wordpress page中怎么调用tag trademan Blog(博客)/Wiki(维客)/RSS/Cms 0 2008-02-04 09:09 AM
虛擬主機安裝wpmu的教學(與一般wp安裝法有點不同) smiling Blog(博客)/Wiki(维客)/RSS/Cms 0 2007-10-18 09:36 AM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 03:20 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.