Hi!

I’m including thumbnails from the questions in the users page, like this:

But in some pages I can’t take the ID from the question to put the image, like in Reputation page. I tried some functions, but I can only get the answer ID.

For example, in theme/default/user/reputation-content.php

<?php
/**
 * Reputation loop item template
 * 
 */
?>

<?php //Do not change id attribute ?>
<div id="ap-reputation-<?php ap_reputation_get_the_id(); ?>" class="ap-reputation-item <?php ap_reputation_get_the_class(); ?>">
	<?php 
		$questionID = FUNCTION_TO_GET_THE_QUESTION_ID;
		echo '<div class="float: left; containerIMG" style="border: solid 1px white;outline: solid 1px;margin-right: 10px;width: 54px;float: left;height: 54px;">'. imgBackground( 52, $questionID ).' </div>';
	?>
	<span class="point"><?php ap_reputation_get_the_reputation() ?></span>	
	<div class="no-overflow">
		<span class="time"><?php ap_reputation_get_the_date(); ?></span>
		<span class="info"><?php ap_reputation_get_the_info(); ?></span>			
					
	</div>
</div>

 

What I should use in $questionID ?

Thanks.

No sharing plugin till now is showing the question title on facebook

 

Is there a work around for this issue??

Hello. I want to show recent questions of Anspress in a page by shortcode. How can I do that?..

Hi there,

here is another question, hope this has response ; )

How can I show in a widget area ‘how many Questions’ have been published?

Thank you

I can not create sign up or login page with an anspress. When users want to sign up, register link direct this users to wp-login page. How can I fix this issue?

Can We Hide answer from anspress banned users?

Should probably be ID based links.

Hi, Is tht possible to hide answer from public?