Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

“Load more” button show hastag content

$
0
0

Replies: 0

Hi. Hi have this `$(‘#cff .cff-item’).each(function(){
var $self = $(this);
$(this).find(‘.cff-more’).on(‘click’, function(){
setTimeout(function(){
var str = $self.find(‘.cff-text’).html();
if( typeof str !== ‘undefined’ ) $self.find(‘.cff-text’).html( str.replace(“#NoticiaWeb”, “”) );
}, 1);
});
});`
to hidde the text in the hastag, but when clic on the Load More button, the hastag text appear again. Only works in “Number of posts to display” set.

Thanks

  • This topic was modified 19 minutes ago by mdomfu.

Viewing all articles
Browse latest Browse all 59525

Trending Articles