asked 9 years ago

Hi Admins,
I really love the way a featured category is displayed above the related questions widget.
Could you help us create one?

2 Answers
answered 9 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.

replied 9 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

answered 9 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
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!

Powered by DW Question & Answer Pro