Create a php function to allow category/taxonomy, post/page to share the same slugs
- or -
Post a project like this2137
$100
- Posted:
- Proposals: 8
- Remote
- #2028180
- Awarded
Full Stack Developer✔Shopify✔Wordpress ✔Digital Marketing✔UI Designs ✔Branding ✔Bootstrap ✔ReactJS ✔
Chandigarh
PHP | MYSQL | Magento | Joomla | Wordpress | Responsive | Jquery | HTML | CSS | Javascript
Kanpur
Ranked in Top 10 % of Web Developers on PPH - Woocommerce, Wordpress,PSD to HTML,CSS
Ahmedabad
WordPress , Shopify, Wix, Django, Laravel, PHP, .Net, Java, React JS, MYSQL | Social Media Manager | ML & AI Engineer | Mobile Application Developer | Graphics Designer | Electrical Engineer
Albany
35139428794661379510305061505883197172321181872222748
Description
Experience Level: Intermediate
Hello,
I need to create a php function so that I can have the same slugs category/taxonomy, post/page, etc. on my bilingual website. My website is using AIT theme with its AIT luguage plugins which is based on POLYLANG.
For example, I have the following category:
http://www.mydomain.com/cat/foods (for English)
I cannot create:
http://www.mydomain.com/fr/cat/foods (for French)
It would come like this: http://www.mydomain.com/fr/cat/foods-2
That is not good, I want to be able to create the first one. I have used Polylang Slug plugins created by Community. It is very good to allow post/page/item to have the same slugs on Polylang-built websites.
Moreover, you may ask me why I dont buy Polylang Pro which can sort out all the above issues? I did, but it is not fully compatible with AIT language plugins which causes the whole wordpress to crash (default WP content where users can edit text, short codes, etc. does not work correctly)
Therefore, my goal right now is to create the same slugs for all categories and taxonomies on Polylang as described above.
Thanks a lots.
I need to create a php function so that I can have the same slugs category/taxonomy, post/page, etc. on my bilingual website. My website is using AIT theme with its AIT luguage plugins which is based on POLYLANG.
For example, I have the following category:
http://www.mydomain.com/cat/foods (for English)
I cannot create:
http://www.mydomain.com/fr/cat/foods (for French)
It would come like this: http://www.mydomain.com/fr/cat/foods-2
That is not good, I want to be able to create the first one. I have used Polylang Slug plugins created by Community. It is very good to allow post/page/item to have the same slugs on Polylang-built websites.
Moreover, you may ask me why I dont buy Polylang Pro which can sort out all the above issues? I did, but it is not fully compatible with AIT language plugins which causes the whole wordpress to crash (default WP content where users can edit text, short codes, etc. does not work correctly)
Therefore, my goal right now is to create the same slugs for all categories and taxonomies on Polylang as described above.
Thanks a lots.
Thon H.
100% (3)Projects Completed
2
Freelancers worked with
1
Projects awarded
25%
Last project
1 Jun 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Thon , please share your website link for quick review.
650877
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies