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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.