User Tools

Site Tools


sermn_wiki:userpages:marta:configuracio_blog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
sermn_wiki:userpages:marta:configuracio_blog [2011/04/18 12:39]
miquel
sermn_wiki:userpages:marta:configuracio_blog [2011/04/18 12:43]
miquel
Line 46: Line 46:
 Seguint les instruccions a [[http://bavotasan.com/tutorials/modifying-the-wordpress-tag-cloud-widget-font-size/ | bavotasan.com]] i [[http://codex.wordpress.org/Function_Reference/wp_tag_cloud | Function Reference/wp tag cloud]], he modificat la mida màxima de la lletra al //núvol d'etiquetes.// Seguint les instruccions a [[http://bavotasan.com/tutorials/modifying-the-wordpress-tag-cloud-widget-font-size/ | bavotasan.com]] i [[http://codex.wordpress.org/Function_Reference/wp_tag_cloud | Function Reference/wp tag cloud]], he modificat la mida màxima de la lletra al //núvol d'etiquetes.//
  
-Per tal que el canvi afecti a qualsevol //núvol d'etiquetes// al nostre blog, a la funció //wp_tag_cloud()// del fitxer ''wordpress/wp-includes/category-template.php'', canvio el valor per defecte de la variable //largest// de //22// a //20//,+Per tal que el canvi afecti a qualsevol //núvol d'etiquetes// al nostre blog, a la funció //wp_tag_cloud()// del fitxer ''wordpress/wp-includes/category-template.php'', canvio el valor per defecte de la variable //largest// de //22// a //18//,
  
-<code html>+<code php>
 /** /**
  * Display tag cloud.  * Display tag cloud.
Line 58: Line 58:
 function wp_tag_cloud( $args = '' ) { function wp_tag_cloud( $args = '' ) {
  $defaults = array(  $defaults = array(
- 'smallest' => 8, 'largest' => 20, 'unit' => 'pt',+ 'smallest' => 8, 'largest' => 18, 'unit' => 'pt',
  'number' => 45, 'format' => 'flat', 'separator' => "\n",  'number' => 45, 'format' => 'flat', 'separator' => "\n",
  'orderby' => 'name', 'order' => 'ASC',  'orderby' => 'name', 'order' => 'ASC',
sermn_wiki/userpages/marta/configuracio_blog.txt · Last modified: 2011/04/24 16:26 by miquel