Guru
asked 6 years ago

Hi Admins,
I really love the way a featured category is displayed above the related questions widget. 
http://s10.postimg.org/x516pjl2x/Untitled.png
Could you help us create one?

2 Answers
DominicStaff
answered 6 years ago

Hi Guru,
That is a tweak on live site, however we do not or the plugin yet. We will discuss about this issue in the next version.
Cheers,

Guru
replied 6 years ago

Than kyou Dominic for responding to the question. I understand that this is not part of the plugin. But if you could guide me in the right direction, perhaps with some code. I will improvise with the rest!

Best regards

BigHug
answered 6 years ago

Hi Guru,

Glad that you love the feature, I uploaded the “content-end-wrapper.php” of designwall to gist of github. Please check out here https://gist.github.com/bighug/9268584.
As you can see in that file, start from line 18 to line 74 is our Related Product widget, the code in these lines was use to detect what type of tag that the question is belong to.
    Each tag has a meta field to save image ( you can use a metabox plugin to do that)
    We get that image then show it up in the question sidebar in the tag related to this question.

That’s all and goodluck!
Regards
Rambu

Powered by DW Question & Answer Pro