Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
yadavrohit
tagDiv Member

This is not going anywhere. Leave it.

yadavrohit
tagDiv Member

Please remove the name of the hosting provider.

yadavrohit
tagDiv Member

But, you can connect with the developer to get the solutions, right? I would not even take 5 min for someone who had made the theme. I am not requesting for custom code, rather how the website works–how does the website return permalink.

Anyway, where do I have to add this code?

$buffy .='<div class="fb-comments" data-href="'. get_permalink($post_views_data['post_id']) .'" data-width="100%" data-numposts="5" data-order-by="social" data-colorscheme="light"></div>';

I tried adding it in the raw HTML element, it did not work.

yadavrohit
tagDiv Member

I want this thread to be deleted because there are details that reveal our tech stack, which we do not want.

yadavrohit
tagDiv Member

Yes, that code is not working with the Single Post Template – Default PRO.

But, aren’t you all the one who developed the website? I am not asking for making those changes. Since you all have developed the website, you should be able to tell how things work (to get permalink).

yadavrohit
tagDiv Member

Oh! so I cannot add php with raw html or text with title element.

So do I have to add a php file with a new name at the location (~..shortcodes/single) you mentioned? plugin files -> wp-content/plugins/td-cloud-library/shortcodes/single

What all code do I have to add there? The code:
<div class="fb-comments" data-href="php code to get the parmalink" data-numposts="5" data-width=""></div>, or the code for getting parmalink?

And then how do I use it to get that thing running under every article?

The thread that you shared did not help.

yadavrohit
tagDiv Member

Hi Calin,

We are using Single Post Template – Default PRO.
Here’s the link to one of the articles. I hope this helps. Let me know if you need more information.

Viewing 7 posts - 1 through 7 (of 7 total)