View Full Version : 4.0 documentation?
jchunk
03-03-2010, 07:30 AM
I see nowhere a documentation for 4.0. I updated to 4.0 but now I want to know how to add comparison tables in my existing theme, add hooks in thesis, etcetera. But where can I find this new information for 4.0? The changelog tells me nothing, there is no topic about 4.0 and the new features plus there is no blogpost.
Anyone?
jchunk
03-04-2010, 03:47 AM
Uhh, support..?
WFReviewAdmin
03-08-2010, 09:50 AM
Sorry, I am working on the documentation and it is almost done.
jchunk
03-16-2010, 06:16 PM
No docs yet?
Then, what are the function names to call the wfreview objects with a hook. I can't spit through the source to find out these things myself but if I could I would have searched by mysels.
How can I create comparison charts? Do I need custom queries or is there a function within wfreview? Can't find out myself while the source is encoded.....
Please fix the documentation.. 4.0 upgrade is useless to me imho.
WFReviewAdmin
03-16-2010, 06:54 PM
In the mean time, you can get all the custom queries and comparison chart code from the free themes. Add the themes to your account for free at http://www.reviewpluginforwordpress.com/member/member.php and then look in the unencoded templates available for download.
spyderman4g63
03-18-2010, 04:11 PM
Edit this probably will work: http://www.reviewpluginforwordpress.com/support/showthread.php?t=14
We need to include all this?
<!-- BEGIN: RANKING TABLE -->
<table class="ranking">
<thead>
<tr>
<th class="number">#</th>
<th class="name">NAME</th>
<th class="price">PRICE</th>
<th class="ranking">RANKING</th>
<th class="info">INFO</th>
</tr>
</thead>
<tbody>
<?php
$myrows = $wpdb->get_results( "SELECT post_id,post_title,overall_rating FROM ".$table_name."posts,".$table_name."wfreview_weights WHERE ".$table_name."wfreview_weights.post_id = ".$table_name."posts.id ORDER BY overall_rating DESC limit 5",ARRAY_A );
$sor=0;
//var_dump($myrows);
if(is_array($myrows)):
foreach($myrows as $value):
$sor++;
$custom = get_post_custom($value['post_id']);
$permalink = get_permalink($value['post_id']);
?>
<td class="number"><?php echo $sor; ?></td>
<td class="name"><a href="<?php echo $permalink?>"><?php echo $value['post_title']?></a></td>
<td class="price"><?php echo $custom['Price'][0] ?></td>
<td class="rating"><?php
for($i=0; $i<$value['overall_rating'];$i++):
?>
<img src="<?php bloginfo('stylesheet_directory'); ?>/img/star.png" alt="" />
<?php endfor;?>
</td>
<td class="info">
<a href="<?php echo $permalink ?>">Review</a><br />
<!-- <a href="http://
//<?php //echo $custom['WebPage'][0]?>
">Visit Site</a> -->
</td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
<!-- END: RANKING TABLE -->
In the future is there going to be a simple function?
WFReviewAdmin
03-18-2010, 04:12 PM
yes, this is going to be in a simple function in 4.1 or 4.2
jchunk
04-09-2010, 09:24 AM
Is there *any* documentation yet? The solution to build comparison charts is fairly inflexible at this moment. Hardcoding is not the way..... And, the latest build has thesis 1.7 compability... well, what does that mean and how can WE benifit from it since I can nowhere read what functions to use from WFReview.
fbeach73
09-10-2010, 11:39 PM
bump ditty bump
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.