Code Monkey home page Code Monkey logo

wp-persian's Introduction

WP-Persian Wordpress Plugin

version: 3.2.6

Tested on: Wordpress 5.2.3 + PHP 7.3 + Google Chrome 68.0 + Firefox 69.0

Fast and Powerful plugin for Jalali calendar and Farsi language support in Wordpress and standard plugins.

wp-persian's People

Contributors

30yavash avatar mhitman avatar

Stargazers

Nasser Mansouri avatar

Watchers

 avatar

Forkers

mhitman

wp-persian's Issues

ایراد تبدیل در ویرایش محصول ووکامرس

با تشکر از این پلاگین عالی.
در قسمت ویرایش محصول ووکامرس اگر برای یک محصول و یک تنوع بخواهیم تا تاریخ شروع و پایان فروش ویژه رو تعیین بکنیم می تونیم از طریق ورود دستی یا استفاده از تقویم تاریخ میلادی رو انتخاب و ذخیره کنیم. تا این مرحله مشکلی پیش نمی یاد.

اما اگر همان محصول را مجددا باز کنیم برای ویرایش، تاریخ های میلادی ذخیره شده به صورت تاریخ شمسی در فیلد تاریخ نماید داده می شود که در موارد مربوط به نمایش اطلاعات کاملا درست هست اما اگر همان محصول را که الان فیلدهای تاریخ یا تاریخ های شمسی پر شده اند ذخیره کنیم، تاریخ ارسال شده به سرور، شمسی هست و ووکامرس تلاش می کنه تا اون رو به صورت میلادی ذخیره کنه که این تاریخ طبیعتا نادرست هست.

به عبارت دیگه دو کار می شه کرد برای ویرایش محصول ووکامرس در مورد این ایراد
۱- تاریخ های این فیلد همچنان به صورت میلادی نمایش داده بشن نه شمسی که در این صورت تاریخ ارسال شده به سرور هم میلادی خواهد بود و مشکلی پیش نخواهد امد
۲- تاریخ ارسال شده به سرور قبل از ذخیره شدن ابتدا تبدیل به تاریخ میلادی بشوند و بعد ذخیره شوند.

ممنون می شم این مورد رو بررسی بفرمایید یا راهنمایی کنید به چه نحوی می شه این مورد رو از طریق کد نویسی اصلاح و پوش کرد.

Issue with "wp-persian" Plugin: Sitemap Date Modification

Firstly, I would like to express my appreciation for developing the "wp-persian" plugin. It has undoubtedly enhanced the functionality of WordPress for Persian language users.
However, I have encountered an issue regarding the modification of the updated date in the WordPress sitemap by the plugin. As you may know, the sitemap serves as an external page within WordPress, and your plugin seems to alter its date just like other pages. This alteration has inadvertently caused a problem within the sitemap when inspected through Google Search Console.
To address this issue and ensure the proper indexing of our website's pages, I suggest implementing a solution that excludes the conversion of dates specifically within the sitemap routes. By doing so, we can prevent any further complications arising from the date modifications.
Thank you for your attention to this matter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.