I ASKED EVERYWAY FOR A REFUND BUT e-mail LIKE THIS STILL COMING:
Il giorno 19/gen/2011, alle ore 06.00, WP Questions ha scritto:
You asked this question:
http://wpquestions.com/question/show/id/1409
This question has now expired. Please log in and chose which answer, or answers, deserves the prize money.
If you do not make a choice by Jan 18, 2011, we will chose the winners.
If you feel that none of the offered solutions actually answered your question, then please contact us.
take care,
the team at WP Questions
It's possible to link with a mouse over on a featured image? Looks like was not possible enable the selection from the anchor image.
[[LINK href="http://http://assoexe.com/x/?p=19"]][[/LINK]]
Edit...
Uhmmm, maybe my poor english don't help...
So the featured image in WP Theme Autofocus Pro it's the main image, always at the top of the post. Actually it's not possible to click on the image generating something: the featured image is "dead".
Help me to make the image live.
Thanks,
Andrea
P.S.
Ok, the theme I paid 15$ I guess this customization is not so difficult. I increase the prize to 10$.
Rashad Aliyev answers:
Please give me URL for checking it.
Andrea Scaglione comments:
http://assoexe.com It's just a test site...
Andrea Scaglione comments:
Sorry. http://assoexe.com/x/
Rashad Aliyev comments:
I checked it's seems good. Not it?
Andrea Scaglione comments:
What I'm looking for, is give to the featured image (or anchor image, or main image when you open a post - the image that normally go to the front page- ) the ability to refer to a given link when clicked. Here [[LINK href="http://assoexe.com/x/?p=35"]]http://assoexe.com/x/?p=35[[/LINK]] (sorry it's just a test) a page: the same picture repeating two times. The top picture (featured image) when you mouseover it don't give anything. The second (same picture a little bit down) when you mouseover it give you the ability to refer to a external link - that's the case - or to the picture it self (going full screen), ecc...
I would like the top image to behave like other images of the post.
Rashad Aliyev comments:
Send to me your site credentials via personal message (not here!).
Rashad Aliyev comments:
I analysed your site. You've got duplicate entry for this. 1st of them in the post, and 2nd one is on the your custom fields. So that's showing this items 2 times.
Recommendation: Use try to insert image and you can use FEATURED IMAGE area for inserting 1 image to your post. (placed at right bottom)
best regards,
Andrea Scaglione comments:
For what I can see my problem still the same. The first image at TOP (the fetured image) still not selectable.
Look at the same link. My problem was not to have the same image repeat two times, my problem is to have a featured image clickable.
Andrea
Rashad Aliyev comments:
I see. That's working very well. I tested it on best known browser ( IE7+ , Opera 11, Chrome 7, Firefox 3.6 and also on Iphone 2G (safari) ) that's working very well!
What's your browser?
Rashad Aliyev comments:
If you still have a problem please share print screen. I wondered what happened there.
Andrea Scaglione comments:
Link me the URL of the page were this working. Chrome in this moment.
Rashad Aliyev comments:
http://assoexe.com/x/
Rashad Aliyev comments:
in the pages also working: [[LINK href="http://assoexe.com/x/?p=374"]]http://assoexe.com/x/?p=374 [[/LINK]] I think you didn't configure all of them as you said before the images showing 2 times.
Andrea Scaglione comments:
Yes Rashad here works, because it's in the slideshow mode. An you can select wich slide you want (and not link to nothing). But when you have a single image?
Andrea
Rashad Aliyev comments:
Dear Andrea,
First page working because you've got a pages for them. Think that actually user wants to open first page images and clicking on this. Then you've got a post for them it's opening. And some post for example at here ( http://assoexe.com/x/?p=374 ) you enabled Flickr .
And don't forget this options will enable you to see a list of your Flickr sets to choose in the select box as there defined. It's image gallery and showing your images.
That's normally. Isn't it?
Andrea Scaglione comments:
Warning: Invalid argument supplied for foreach() in /home/www/assoexe.com/x/wp-content/themes/autofocuspro/extensions/thematic-functions.php on line 408
http://assoexe.com/x/?p=374 I show this...
Rashad Aliyev comments:
Because of you've clicked that enable Flickr at bottom the post. But you didn't select Flickr set blow the immediately. (there are Aeroballa).
You asked a question for $10 USD but asked an encyclopedia;) Of course that's joke.. Have a good working. My mission was completed;)
Andrea Scaglione comments:
Thanks Rashad.
My problem is not to manage the Autofocus Theme. I'm pretty sure I need a little mod to the tematic-function.php, unlucky I'm not so skill to do that my self. I'm a Newbie not a stupid.
Andrea
Rashad Aliyev comments:
I made it for you. http://assoexe.com/x/?p=374 Never mind. Have a good working.
Andrea Scaglione comments:
To all: of course the issue remains unresolved.
Andrea
Rashad Aliyev comments:
Andrea please define clearly what you need then ask it.
Andrea Scaglione comments:
Thanks again Rashad right suggestion.
So here a tipycal exemple.
What I'm looking for, is give to the featured image (or anchor image, or main image when you open a post - the image that normally go to the front page- ) the ability to refer to a given link when clicked. Here http://assoexe.com/x/?p=35 (sorry it's just a test) a page: one picture at the top (the featured image) and a another image linked at the bottom. When you mouseover on the featured image (at the Top) it don't give anything. Instead when you mouseover to the picture at the bottom it give you the ability to refer to a external link - that's the case - or to the picture it self (going full screen), ecc...
I would like the top image to behave like other images in the post.
Andrea
Peter Michael answers:
These guys went through the process of adding a link around the featured image, you can find the base code here as well:
[[LINK href="http://wordpress.org/support/topic/default-thumbnail-in-functionsphp?replies=30"]]http://wordpress.org/support/topic/default-thumbnail-in-functionsphp?replies=30[[/LINK]]
Andrea Scaglione comments:
I guess the solution should be here, in this section of the thematic-function.php
But, I can't found the way...
Andrea
Andrea Scaglione comments:
thematic-functions.php
From 160
// Add the Featured/Sticky Post section
function af_sticky_area() {
global $afoptions, $post;
foreach ($afoptions as $afvalue) {
if (isset($afvalue['id']) && get_option( $afvalue['id'] ) === FALSE && isset($afvalue['std'])) { $$afvalue['id'] = $afvalue['std']; }
elseif (isset($afvalue['id'])) { $$afvalue['id'] = get_option( $afvalue['id'] ); }
}
// Grab the ‘Blog’ category ID
$af_blog_catid = get_cat_ID($af_blog_cat);
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
if( is_home() && !is_paged() ) {
// Add an intro Sidebar
if (is_active_sidebar('intro-sidebar')) {
echo thematic_before_widget_area('intro-sidebar');
dynamic_sidebar('intro-sidebar');
echo thematic_after_widget_area('intro-sidebar');
} ?>
<?php // if Sticky Posts exist show the sticky area
if (get_option('sticky_posts') && ($af_sliding_sticky_area == 'false') && ($af_layout == 'default')) { ?>
<?php
// Set Up New Query
$sticky = get_option('sticky_posts');
$randomStickyNo = 0;
$randomStickyNo = (rand()%(count($sticky)));
$postno = $sticky[($randomStickyNo)];
$temp = $stickyquery;
$stickyquery = null;
$stickyquery = new WP_Query();
$stickyquery->query('orderby=rand&showposts=1&p=' . $postno); ?>
<?php while ($stickyquery->have_posts()) : $stickyquery->the_post(); $do_not_duplicate = $post->ID; ?>
<div id="sticky-feature">
<?php if ($af_layout == 'default') { ?>
<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class(); ?> sticky-feature-post">
<?php } elseif ($af_layout == 'grid') { ?>
<div id="post-<?php the_ID() ?>" class="hentry post sticky">
<?php } ?>
<?php echo thematic_postheader_posttitle(); ?>
<div class="entry-meta">
<?php if ($af_show_post_title == 'false') { ?>
<span class="entry-date"><a href="<?php the_permalink() ?>" class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time('j M') ?></abbr></a></span>
<?php } elseif ($af_show_post_title == 'true') { ?>
<span class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'thematic'), esc_html(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title(); ?></a></span>
<?php } ?>
</div>
<?php if ( get_post_meta($stickyquery->post->ID, 'enable_flickr', true) ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="post-image-container">
<?php
// Flickr Loop
$af_flickr_photos = new phpFlickr($af_flickr_api_key);
$flickr_user_id = getFlickrUserId($af_flickr_username);
$images = $af_flickr_photos->photosets_getPhotos(get_post_meta( $stickyquery->post->ID, 'flickr_set', true ), NULL, NULL, 1); ?>
<?php foreach ($images['photoset']['photo'] as $image) { ?>
<img style="max-width:800px;" src="<?php echo $af_flickr_photos->buildPhotoURL( $image, "large" ); ?>" alt="<?php echo $image['title']; ?>" />
<?php } ?>
</a>
<?php } elseif ( has_post_thumbnail() ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="post-image-container"><?php the_post_thumbnail('aflarge'); ?></a>
<?php } else { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="post-image-container"><?php the_post_image('aflarge'); ?></a>
<?php } ?>
<div class="entry-content">
<?php the_excerpt(); ?>
</div>
<div class="entry-utility">
<?php edit_post_link(__('Edit', 'thematic'), "\t\n\t\t\t\t\t<span class=\"edit-link\">", "</span>\n"); ?>
</div><!-- .entry-utility -->
</div>
</div><!-- #sticky-feature -->
<?php endwhile; ?>
<?php $stickyquery = null; $temp = $stickyquery; ?>
<?php } // if Sliding Featured Area option is true
elseif (get_option('sticky_posts') && ($af_sliding_sticky_area == 'true')) { ?>
<div id="featured-slider-container" class="anythingSlider">
<div id="auto-slider" class="wrapper">
<ul>
<?php
// Set Up New Query
$sticky = get_option('sticky_posts');
$randomStickyNo = 0;
$randomStickyNo = (rand()%(count($sticky)));
$postno = $sticky[($randomStickyNo)];
$temp = null;
$featuredstickyquery = $temp;
$featuredstickyquery = new WP_Query();
$featuredstickyquery->query(array(
// 'orderby' => 'rand',
'showposts' => '10',
'post__in' =>get_option('sticky_posts')
)); ?>
<?php while ($featuredstickyquery->have_posts()) : $featuredstickyquery->the_post(); $do_not_duplicate = $post->ID; ?>
<?php if ($af_layout == 'default') { ?>
<li id="post-<?php the_ID() ?>" <?php post_class(); ?>>
<?php } elseif ($af_layout == 'grid') { ?>
<li id="post-<?php the_ID() ?>" <?php post_class(); ?>>
<?php } ?>
<?php af_postheader_title_date(); ?>
<?php af_postentrymeta_title_date(); ?>
<?php if ( get_post_meta($featuredstickyquery->post->ID, 'enable_flickr', true) ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="featured-post-image-container">
<?php
// Flickr Loop
$af_flickr_photos = new phpFlickr($af_flickr_api_key);
$flickr_user_id = getFlickrUserId($af_flickr_username);
$images = $af_flickr_photos->photosets_getPhotos(get_post_meta( $featuredstickyquery->post->ID, 'flickr_set', true ), NULL, NULL, 1); ?>
<?php foreach ($images['photoset']['photo'] as $image) { ?>
<img style="max-width:800px;" src="<?php echo $af_flickr_photos->buildPhotoURL( $image, "large" ); ?>" alt="<?php echo $image['title']; ?>" />
<?php } ?>
</a>
<?php } elseif ( has_post_thumbnail() ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="featured-post-image-container"><?php the_post_thumbnail('aflarge'); ?></a>
<?php } else { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="featured-post-image-container"><?php the_post_image('aflarge'); ?></a>
<?php } ?>
<div class="entry-content">
<?php the_excerpt(); ?>
</div>
<?php edit_post_link(__('Edit', 'thematic'), "\t\n\t\t\t\t\t<div class=\"entry-utility\"><span class=\"edit-link\">", "</span></div>\n"); ?>
</li>
<?php endwhile; ?>
<?php $featuredstickyquery = $temp;
$temp = null; ?>
</ul>
</div>
</div><!-- #sticky-feature -->
<?php } //end featured sliding option check ?>
<?php query_posts(array(
'post__not_in' => get_option('sticky_posts'),
'caller_get_posts' => 1,
'cat' => '-'.$af_blog_catid,
'paged' => $paged,
)); ?>
<?php } //end sticky post check ?>
<?php query_posts(array(
'post__not_in' => get_option('sticky_posts'),
'caller_get_posts' => 1,
'cat' => '-'.$af_blog_catid,
'exclude' => $postno,
'paged' => $paged,
)); ?>
<?php }
add_action('thematic_above_indexloop','af_sticky_area');
// Add AF+ Post entry-title for rollovers
function af_postheader_title_date() {
global $afoptions, $post;
foreach ($afoptions as $afvalue) {
if (isset($afvalue['id']) && get_option( $afvalue['id'] ) === FALSE && isset($afvalue['std'])) { $$afvalue['id'] = $afvalue['std']; }
elseif (isset($afvalue['id'])) { $$afvalue['id'] = get_option( $afvalue['id'] ); }
} ?>
<?php if ($af_title_date == 'titledate') { ?>
<h2 class="entry-title entry-hover-off"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'thematic'), esc_html(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php } elseif ($af_title_date == 'datetitle') { ?>
<h2 class="entry-title entry-hover-on"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'thematic'), esc_html(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php } elseif ( ($af_title_date == 'title') ) { ?>
<h2 class="entry-title entry-hover-on"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'thematic'), esc_html(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php } elseif ( ($af_title_date == 'date') ) { ?>
<h2 class="entry-title entry-hover-none"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'thematic'), esc_html(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php }
}
To 339
Andrea Scaglione comments:
Ok now I try this way: I wanna refund.