¿Cuál sería el código HTML que iría en mi plantilla para que enlace las descargas?

  • Autor Autor smithsloot
  • Fecha de inicio Fecha de inicio
S

smithsloot

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
<ul class="pver desx">
<li class="ver">
<span class="opci">Enlaces</span>
<span>Servidor</span>
<span>Idioma</span>
<span>Formato</span>
</li>
<?php if($descarga = get_post_custom_values('Descarga')) : ?>
<?php echo $descarga[0];?>
<?php else : ?>
<li>
<a>
<span class="op">Descarga</span>
<span>No disponible</span>
<span>No disponible</span>
<span>No disponible</span>
</a>
</li>
<?php endif;?>
</ul>
 
Te dejo un ejemplo

<table>
<thead>
<tr>
<td>Enlace</td>
<td>Servidor</td>
</tr>
</thead>
<tbody>
<?php if ($descarga = get_post_custom_values('Descarga')): ?>
<tr>
<td><?php echo $descarga[0]; ?></td>
<td>Mega</td>
</tr>
<?php else: ?>
<p>No ay enlaces de descarga</p>
<?php endif ?>

</tbody>
</table>
 
<table>
<thead>
<tr>
<td>Enlace</td>
<td>Servidor</td>
</tr>
</thead>
<tbody>
<?php if ($descarga = get_post_custom_values('Descarga')): ?>
<tr>
<td><?php echo $descarga[0]; ?></td>
<td>Mega</td>
</tr>
<?php else: ?>
<p>No ay enlaces de descarga</p>
<?php endif ?>

</tbody>
</table>

HTML:
<table>
		<thead>
			<tr>
				<td>Enlace</td>
				<td>Servidor</td>
			</tr>
		</thead>
		<tbody>
			<?php if ($descarga = get_post_custom_values('Descarga')): ?>
			<tr>
				<td><a target="_blank" rel="nofollow" href="<?php echo $descarga[0]; ?>"><?php echo $descarga[0]; ?></a></td>
				<td>Mega</td>
			</tr>
			<?php else: ?>
				<p>No ay enlaces de descarga</p>
			<?php endif ?>
			
		</tbody>
	</table>
 
Atrás
Arriba