Thread Starter
besfe
(@besfe)
hi
#كريستيان
the language is rtl
there is plugin called Hashtag is working fine with any language but is outdated
$hash = $regular ? '' : '%23';
$content = str_replace('>#','> #',$content);
$content = preg_replace('/(?<!:|\s|&|"|\')(\s)#([^\s<]+)/i', '<span class="'.$class.'">\1#<a href="'.site_url().'?s='.$hash.'\2">\2</a></span>', $content);
return $content;
The only solution for this problem is to delete any orphaned product variations
please run this sql
SELECT * FROM wp_posts
o
LEFT OUTER JOIN wp_posts
r
ON o.post_parent = r.ID
WHERE r.id IS null AND o.post_type = ‘product_variation’
ok how about the opening in x hours? it always shows wrong calculation, can you help?
thanks