Imagem resolution responsive

You can use the timthumb for resize your images as you want. if ( has_post_thumbnail() ) { // get the src of the large size featured image $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘large’ ); $thumbnailSrc = $src[0]; // output image resized with timthumb ?> <a href=”https://wordpress.stackexchange.com/questions/97632/<?php echo get_post_meta($postid,”post_link’, true) ?>” target=”_blank”> <img src=”<?php bloginfo(‘template_directory’); ?>/js/timthumb.php?src=<?php echo … Read more

Upload image to wordpress

Output during saving You can not print something during the data is saved. If you use die( var_dump( $your_var ) ); it will print the values, but also stops the script. The reason is, first the data will be parsed. Then you will be redirected back to profile.php. So everything you print while parsing the … Read more

Add category description to list of category with taxonomy image

If I understand you correctly, you might try to replace echo ‘<div class=”grid col-780″><h4>In this issue</h4><p>[CATEGORY DESCRIPTION SHOULD GO HERE]</p></div>’; with: echo ‘<div class=”grid col-780″><h4>In this issue</h4><p>’. $term->description. ‘</p></div>’; i.e. $term->description to get the description part.

How can i make like this structure?

Do you mean when you click on each (or any) News item, you have the scroll list of video/image + the slider OR your accordion replaces the scroll list in your capture ? Anyhow, i think this is more a javascript question than a WordPress one. You could use jquery UI Accordion , or an … Read more

Snapshot Theme from WooThemes — empty ‘alt’ attribute

Since the original theme demo image doesn’t have any value in alt, I’m assuming there is a bug in the theme you might need to open a ticket for: http://demo.woothemes.com/snapshot/ I don’t recommend altering original theme template functions but if you are very far into the project and rather not switch out to another theme, … Read more