Annonce

Important : WordPress 2.6.1 est disponible en français. À lire avant la migration !
Annonce 1 : Le Codex en français a besoin de vous pour avancer !
Annonce 2 : Avant de poster, n'oubliez pas de faire une petite Recherche et de lire les règles de ce forum.
Annonce 3 : Lisez notre blog, il regorge de bonnes informations.

#1 12-06-2008 02:03:07

baudry
Passionné WP
Date d'inscription: 17-03-2008
Messages: 174

<table > en dynamyque est ce possible et wordpress 2.51

Bonjour,

Ma configuration WP actuelle
- Version de WordPress : Wordpress 2.51
- Thème utilisé :
- Plugins en place :
- Nom de l'hebergeur : http://olivierbaudrydesign.free.fr
- Adresse du site :

Problème(s) rencontré(s) :

Bonjour y a t'il moyen d'utiliser la balise table avec wordpress.
à l'adresse http://olivierbaudrydesign.free.fr/?page_id=17 j'ai scripté ceci

Code:

  1.       <table border=0 cellpadding=0 cellspacing=0 class=d>
  2. <tbody valign=top>
  3. <tr><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i1.gif" width=3 height=16 border=0><?php the_author() ?></a><td class=blnk nowrap><td nowrap><a href="<?php the_permalink() ?>"><?php the_title(); ?><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0><?php the_title(); ?></a><td colspan=17></tr>
  4. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0><?php the_title(); ?></a><td colspan=17></tr>
  5. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0><?php the_title(); ?></a><td colspan=17></tr>
  6. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0><?php the_title(); ?></a><td colspan=17></tr>
  7. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0><?php the_title(); ?></a><td colspan=17></tr>
  8.  
  9. <tr><td colspan=19><td nowrap class="blnk"></tr>
  10. </tbody>
  11. </table>

bon l'idée est la suivante au début trouver mon nom ensuite les sous rubriques de la page sounds, un petit rectangle blanc ou noir doit changer en fonction de l'activation ou non du lien

ou encore ceci

Code:

  1. <tr>
  2. <td nowrap><img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;</td>
  3. <td nowrap><a href="<?php the_permalink() ?>">1000 fragments</a>
  4.  
  5. <td class=hblnk nowrap >
  6. <td nowrap>1st solo cd [reissue]
  7. <td class=hblnk nowrap>
  8. <td nowrap>available now
  9. <td class=hblnk nowrap>
  10. <td nowrap><a href="<?php the_permalink() ?>">Raster-Noton, DE</a>
  11. </tr>
  12.  
  13. <tr>
  14. <td nowrap><"/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;</td>
  15. <td nowrap><a href="<?php the_permalink() ?>">test pattern</a>
  16. <td class=hblnk nowrap >
  17. <td nowrap>8th solo cd
  18. <td class=hblnk nowrap>
  19. <td nowrap>available now
  20.  
  21. <td class=hblnk nowrap>
  22. <td nowrap><a href="<?php the_permalink() ?>">Raster-Noton, DE</a>
  23. </tr>
  24.  
  25. <tr>
  26. <td nowrap><"/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;</td>
  27. <td nowrap><a href="<?php the_permalink() ?>">dataplex</a>
  28. <td class=hblnk nowrap >
  29. <td nowrap>7th solo cd
  30. <td class=hblnk nowrap>
  31. <td nowrap>available now
  32. <td class=hblnk nowrap>
  33. <td nowrap>"<?php the_permalink() ?>">Raster-Noton, DE</a>
  34. </tr>
  35.  
  36. <!-- end disco -->
  37.  
  38.  
  39. <tr>
  40. <td nowrap><img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;</td>
  41. <td nowrap>"<?php the_permalink() ?>">dream amsterdam 2008</a>
  42. <td>
  43. <td nowrap>large-scale artworks for public spaces
  44. <td class=hblnk nowrap>
  45. <td nowrap>JUN 6-21, 2008
  46. <td class=hblnk nowrap>
  47. <td nowrap>"<?php the_permalink() ?>">various secret locations, Amsterdam, NL</a>
  48. </tr>
  49.  
  50. <tr>
  51. <td nowrap></td>
  52. <td nowrap>"<?php the_permalink() ?>">opening event</a>
  53. <td>
  54. <td nowrap>
  55. <td class=hblnk nowrap>
  56. <td nowrap>JUN 6, 2008
  57. <td class=hblnk nowrap>
  58. <td nowrap>Paradiso, Amsterdam, NL
  59. </tr>
  60.  
  61. <tr>
  62. <td nowrap></td>
  63. <td nowrap><a href="<?php the_permalink() ?>">open-air event</a>
  64. <td>
  65.  
  66. <td nowrap>
  67. <td class=hblnk nowrap>
  68. <td nowrap>JUN 21, 2008
  69. <td class=hblnk nowrap>
  70. <td nowrap>*TBA, Amsterdam, NL
  71. </tr>
  72.  
  73. <tr>
  74. <td nowrap><img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;</td>
  75. <td nowrap><a href="<?php the_permalink() ?>">datamatics [ver.2.0]</a>
  76. <td>
  77. <td nowrap>audiovisual concert
  78. <td class=hblnk nowrap>
  79. <td nowrap>JUL 1, 2008
  80. <td class=hblnk nowrap>
  81. <td nowrap><a href="<?php the_permalink() ?>">Th&eacute;&acirc;tre Nono, Marseille, FR</a>
  82.  
  83. </tr>
  84.  
  85. <tr>
  86. <td nowrap><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;</td>
  87. <td nowrap><a href="<?php the_permalink() ?>">datamatics [ver.2.0]</a>
  88. <td>
  89. <td nowrap>audiovisual concert
  90. <td class=hblnk nowrap>
  91. <td nowrap>JUL 6, 2008
  92. <td class=hblnk nowrap>
  93. <td nowrap>"<?php the_permalink() ?>" target=_blank>Jazz &agrave; Luz, Luz St Sauveur, FR</a>
  94. </tr>
  95.  
  96. <tr>
  97. <td nowrap></td>
  98. <td nowrap><a href="<?php the_permalink() ?>">data.tron</a>
  99. <td>
  100. <td nowrap>audiovisual installation
  101. <td class=hblnk nowrap>
  102. <td nowrap>JUL 11 - AUG 15, 2008
  103. <td class=hblnk nowrap>
  104. <td nowrap><a href="<?php the_permalink() ?>">MIC Toi Rerehiko, Media and Interdisciplinary Arts Centre, Auckland, NZ</a>
  105. </tr>
  106.  
  107. <tr>
  108. <td nowrap><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height16 border=0>&nbsp;
  109. <td colspan=7 nowrap>"<?php the_permalink() ?>">more info: www.forma.org.uk</a>
  110.  
  111. </tr>
  112.  
  113. </tbody>
  114. </table>
  115.  
  116. <td colspan=13></tr>
  117. <tr><td><td><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;archive</a><td colspan=15></tr>
  118. <tr><td><td><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif"f width=3 height=16 border=0>&nbsp;bio | cv</a><td colspan=15></tr>
  119. <tr><td><td><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;reviews</a><td colspan=15></tr>
  120. <tr><td><td><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;contact</a><td colspan=15></tr>
  121. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"><img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;test</a><td colspan=17></tr>
  122. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;data</a><td colspan=17></tr>
  123.  
  124. <tr><td><td><td nowrap>"<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;form</a><td colspan=17></tr>
  125. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif"width=3 height=16 border=0>&nbsp;type</a><td colspan=17></tr>
  126. <tr><td><td><td nowrap><a href="<?php the_permalink() ?>"<img src="/wp-content/themes/sterafinOupo/images/i2.gif" width=3 height=16 border=0>&nbsp;copy</a><td colspan=17></tr>
  127. <tr><td colspan=19><td nowrap class=blnk></tr>
  128. </tbody>
  129. </table>
  130. </body>
  131. </html>

Je ne sais pas si je peux générer ce genre de chose avec wordpress mais j'aimerais bien savoir si cela est possible avec le php
en gros l'idée serait que le titre des posts et le contenu texte est la même échelle avec

Code:

  1. /* Sounds Css */
  2.  
  3. body {background-color:#ffffff;margin:40px 0px 40px 50px;}
  4. body, table {font-family:Geneva, Arial, Helvetica; font-size:9px;color:#000000;}
  5. a {color:#000000;text-decoration:none;}
  6. .d {line-height:16px;}
  7. .d img {vertical-align:middle;}
  8. .hid{visibility:hidden;}
  9. .sub {color:#AAAAAA;}
  10. div.pd{width:330;text-align:justify;}
  11. div.sum1 {width:500;text-align:justify;}
  12. div.sum2 {width:400;text-align:justify;}
  13. td.num{text-align:right;}
  14. td.trk1 {width:30;}
  15. td.trk2 {width:210;}
  16. td.trk3 {text-align:right;width:60;}
  17. td.trkc {text-align:justify;width:285;}
  18. td.blnk {width:30;}
  19. td.hblnk {width:15;}
  20. img.bd {border:1px solid #000000;}
  21.  
  22. ul.sounds_active {
  23. width:3px;
  24. height:16px;
  25. border:0px;
  26. background-image: url(/wp-content/themes/sterafinOupo/images/i1.gif);
  27. }
  28.  
  29. ul.sounds_inactive, ul.sounds_active  {
  30. width:3px;
  31. height:16px;
  32. border:0px;
  33. }
  34.  
  35.  
  36. ul.sounds_active:link, ul.sounds_active:visited {
  37.   background-image: url(/wp-content/themes/sterafinOupo/images/i1.gif);
  38. }
  39.  
  40. ul.sounds_inactive:link, ul.sounds_inactive:visited {
  41.   background-image: url(/wp-content/themes/sterafinOupo/images/i2.gif);

Par contre je ne sais pas comment faire une interpolation javascript ou php pour l'image?
Existe t'il des thèmes reprenant l'esprit de colonnes!

Hors ligne

 

Pied de page des forums

Propulsé par PunBB 1.2.20
© Copyright 2005-2006 WordPress France