Pedromrferreira
Forum Replies Created
-
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Custom themeOk, fixed, I installed the WP jQuery CDN plugin
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] ImageThere′s another thing, I want link the image to the post, I’m using this code, it shows the link of the post in top of the image. Here’s the code:
<?php $imgproduto1 = get_post_meta( $post->ID, 'imgproduto1', true ); foreach( $imgproduto1 as $imgproduto1){ $attachment_image = wp_get_attachment_image_src($imgproduto1['imagem-produto1'], 'thumbnail'); echo '<div id="img-produto"><a href="'.the_permalink().'"><img src="'. $attachment_image[0].'"/></a></div>'; } ?>
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] ImageAllright ??
Just made a correction to your code:
‘.$attachment_fullimage[0].’ (quotation marks where missing)Thanks!!!
Forum: Plugins
In reply to: [Custom Fields Creator] [Plugin: Custom Fields Creator] Image DIsplayOK, got it:
<?php $actividades = get_post_meta( $post->ID, 'actividades', true ); echo '<ul class="content-act">'; foreach( $actividades as $actividade){ echo ' <li>'; echo '<h2>' . $actividade['titulo'] . '</h2>'; $attachment_image = wp_get_attachment_image_src($actividade['imagem'], 'full'); echo '<img src="'. $attachment_image[0].'" width="<'. $attachment_image[1] .'" height="'. $attachment_image[2] .'"/>'; echo '<p>' . $actividade['descricao'] . '</p>'; echo '</li> '; } echo ''; ?>
Forum: Plugins
In reply to: [Custom Fields Creator] [Plugin: Custom Fields Creator] Image DIsplayHi, love your plugin.
Cant put images working, who do I set the code for wp_get_attachment_image on version 1.0.3? can you explane the code?
ThanksForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Contact Form 7 doesn't workProblem solved, WP-Mail-SMTP must be on default instalation settings.
Forum: Themes and Templates
In reply to: MAIN NAV HIGHLIGHTING ALL SUB-MENU LINKSThanks man, that helped me alot!