Hide rtmedia comments in widget


#1

How can I skip rtmedia comments in this loop:

http://pastebin.com/deVCwqaH

Thank you

please also note that the boxspinner.gif keeps loading forever on the user activity page since last update


#2

Hi Daniele,

rtMedia comments are nothing but comment to WordPress attachment comments. You can check the post type of associated post and according to that can filter out media comments.

Regarding boxspinner.gif, which theme you are using?


#3

Hi Daniele,

rtMedia comments are nothing but comment to WordPress attachment comments. You can check the post type of associated post and according to that can filter out media comments.

Regarding boxspinner.gif, which theme you are using? Can you give debug info?


#4

By default wp it hides rtmedia comment inside his recent comment widget, but I’ve create that custom recent comment widget and it still shows rtmedia comments but the linked url is wrong, it opens a page not found.
I’ve fixed the boxspinner problem.
Thank you


#5

can you please help me to hide the rtmedia comments from my recent comment widget?


#6

Hi Daniele,

As I suggested in my last reply, check for the post type of the post on which comment was made and if it is attachment than do not shot that comment, that’s the way you can stop showing media comments.


#7

Hi Ritesh,

I’m still having problem with this, can you send an example please?

Thank you very much for your help


#8