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
sermn_wiki:userpages:marta:configuracio_blog [2011/04/18 12:41]
miquel
sermn_wiki:userpages:marta:configuracio_blog [2011/04/24 16:26] (current)
miquel
Line 5: Line 5:
 ===== Qüestions a decidir ===== ===== Qüestions a decidir =====
  
 +Hi ha diverses qüestions a decidir sobre el funcionament del blog:
   - Comentaris a les notícies   - Comentaris a les notícies
-    * //Comment author must fill out name and e-mail// //Users must be registered and logged in to comment// +    * "Comment author must fill out name and e-mail"Users must be registered and logged in to comment" 
-    * //Comments should be displayed with the OLDER-NEWER comments at the top of each page//+    * "Comments should be displayed with the OLDER?-NEWERcomments at the top of each page"
   - Before a comment appears    - Before a comment appears
-    * //Before a comment appears An administrator must always approve the comment// +    * "Before a comment appears An administrator must always approve the comment
-    * //Comment author must have a previously approved comment//+    * "Comment author must have a previously approved comment"
   - Site Visibility    - Site Visibility
-    * //Site Visibility I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers// +    * "I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers
-    * //I would like to block search engines, but allow normal visitors//+    * "I would like to block search engines, but allow normal visitors
 +  - Content licensing 
 +    * Check the [[http://www.blogherald.com/2011/04/15/content-licensing-101-for-bloggers| recommendations at The Blog Herald]] before wisely deciding about the content licensing.
  
 ===== Login i administració a través d'HTTPS ===== ===== Login i administració a través d'HTTPS =====
Line 46: Line 49:
 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 php> <code php>
Line 58: Line 61:
 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.1303123274.txt.gz · Last modified: 2011/04/18 12:41 by miquel