function pouya_words($translated)
{
$words = array( "مشکلاتی در اقلام سبد خرید شما وجود دارد . خواهشمندیمً به برگه سبد خرید بازگشته و پیش از پرداخت این مشکلات را رفع کنید." => "کاربر گرامی تعداد محصول درخواستی شما بیشتر از موجودی ما میباشد لطفا برای دریافت اطلاعات بیشتر با مدیریت در تماس باشید." );
$translated = str_ireplace(array_keys($words), $words, $translated);
return $translated;
}
function hrd_widgets_single_sidebar()
{
register_sidebar(array( "name" => "سایدبار تک نوشته", "id" => "post_single_sidebar", "before_widget" => "<div class=\"pym-blog-sidebar-img\">", "after_widget" => "</div>", "before_title" => "<h2 class=\"pym-h-sidebar\">", "after_title" => "</h2>" ));
register_sidebar(array( "name" => "سایدبار وبلاگ اصلی", "id" => "post_archiv_sidebar", "before_widget" => "<div class=\"pym-blog-sidebar-img\">", "after_widget" => "</div>", "before_title" => "<h2 class=\"pym-h-sidebar\">", "after_title" => "</h2>" ));
register_sidebar(array( "name" => "تبلیغات تصویری سایدبار", "id" => "hrd_ads_sidebar", "before_widget" => "<div class=\"pym-blog-sidebar-img\">", "after_widget" => "</div>", "before_title" => "<h2 class=\"pym-h-sidebar\">", "after_title" => "</h2>" ));
register_sidebar(array( "name" => "تبلیغات متنی سایدبار", "id" => "hrd_ads_text_sidebar", "before_widget" => "<div class=\"pym-blog-sidebar\">", "after_widget" => "</div>", "before_title" => "<h2><i class=\"fa fa-adn\"></i>", "after_title" => "</h2><hr>" ));
}