Favorite Pictures with shortcode

Latest Reply from beitsiach at 2014-06-18 06:28:51

I run a network of sites for a school (in Israel) and teach children to manage their blogs. One of those uses the HappyFood theme, some use other SMT themes.

From reasons of space management, among others, we use pictures together with PicasaView plugin. There is a shortcode to place the picture.

However, I do not know how to make the Favorite picture (that which makes the "related poasts" thumbnails appear) appear with the PicasaView (or any other plugin taking picss from Picasa web albums).

Can you please instruct me how to make them appear?

Thank you,
What does this plugin do? To add images to the Related posts you just have to set featured images for your posts. Here is sme additional information about this: http://codex.wordpress.org/Post_Thumbnails.

Thank you, I have seen this page already and found no answer there.

There are several purposes to the plugin:
1. All pictures sit not on my hosting but on the children's Picasa web albums accounts.
2. The children learn to use Google online tools, and sharing files online.

The thing is, the pictures are NOT in the Media at the Wordpress website, but outside, on the Picasa Web Albums website, and sharing URL or shortcode is used to see them.

But - I don't know how to make Post Thumbnails WITHOUT uploading pictures into the Media. How to enable the URL of the picture to see it or accept the shortcode, instead.

Can you help with it, please?

Thank you,
Actually, we don't provide any services for editing themes for individual users. To adjust the theme for your purposes you have to edit a lot of theme files. As I could understand, you need to edit the following code:
if(has_post_thumbnail($p->ID))  {
?><a href="<?php echo get_permalink($p->ID); ?>" title="<?php printf( $SMTheme->_( 'permalink' ), $p->post_title ); ?>" class='img'><?php
echo get_the_post_thumbnail($p->ID,array(126,126), array('title'=>$p->post_title, 'alt'=>$p->post_title));
} else {
?><a href="<?php echo get_permalink($p->ID); ?>" title="<?php printf( $SMTheme->_( 'permalink' ), $p->post_title ); ?>" class='img'><img src='<?php echo get_template_directory_uri(); ?>/images/smt/article_related.png' width='126' height='126' alt='article' /></a><?php

in the file relatedposts.php located in the directory of the theme. You can modify the code as you need.
Thank you, I understand.
I will try to do what you say. I am not a coder, but will look for someone who can help with that.
Thank you for pointing out what part of the code I need to change.

Leave a reply

Add codeAdd image