Answered: I want whole image or div clickable and it should redirect to question page.

Post date: 2020-11-23 01:05:06
Views: 105

Try

$q_list'qs']$index]'content'] = '<a href="/'.$postinfo$question'raw']'postid']].'" rel="nofollow">'.$image.'</a>';

Or maybe just

$q_list'qs']$index]'content'] = '<a href="/'.$question'raw']'postid'].'" rel="nofollow">'.$image.'</a>';

Correct syntax errors if any.

It is advisable to use rel="nofollow" tags because the links will redirect to the questions will full urls, and it won't hurt your website crawl budget if Googlebots discover them.

Please click Here to read the full story.
 
Other Top and Latest Questions:
What will it take to get tech stocks rising again? An unemployment rate above 4%
A pullback in this biotech stock has created a buying opportunity, according to the charts
EU threatens to suspend TikTok Lite’s money-for-views program over addiction fears
Given a lifeline by the U.S., Ukraine must now prove it can beat Russia
83% of teenagers are already thinking about retirement — but many make this one mistake
The Apothecary Diaries: Chilly Apothecary
Movie: Old School
Movie: [REC] 3: Genesis
Movie: Superman IV: The Quest for Peace
Foot Locker debuts 'store of the future' as it looks to win back Wall Street's confidence