Set up the URL in WordPress
For this type of records, there are two taxonomies “service_type” and “service_hierarchical_type”. The main task was to connect the main service with her daughter. That is, there is a service "Targeg" and several of its types. With the taxonomy "service_type" we indicate for each service its direction ("target", "context" ...) (in the main and subsidiary service they match - this is how we connect them), and with the use of "service_hierarchical_type" we note it will be the main or subsidiary.
You need to add to the url a taxonomy about the direction of the service, but do it only for subsidiary services. The main service will remain:
Domain / Services / Target /
The daughter will have:
domain/services/target/sub_target
If there are simpler solutions to this task also ready to hear the proposals, the main thing to work in this way.
Always open to dialogue
Client's review of cooperation with Aleksandr Blyaher
Set up the URL in WordPressAlexander knows his work well, all the work is done at the highest level and most importantly in time! He joined the task, find the right solution and did everything perfectly!
I really liked the work, I’ll talk to you again.
Freelancer's review of cooperation with Nikolay Nevzorov
Set up the URL in WordPressEverything is great!
Thank you for cooperation.
-
575 37 0 Hello to you.
For custom post type (services), I will make that the link is a category if the service is subsidiary.
domain/services/sub_target/target/
-
852 21 0 WordPress has huts to include taxonomy in the main section, so everything you’ve written is easy to realize
-
Здравствуйте. Странный костыль вы придумали потому и не работает. Таксономии в wp сами по себе иерархические и все работает из коробки как нужно. Нужна 1 таксономия тип_услуги и всё. Просто создаем категорию тип_услуги1 и дочернюю к ней тип_услуги2... Дальше просто одну услугу кладём в родительскую а вторую услугу в дочернюю. и тип ссылки /%category%/%postname%/
и всё.
-
В результате /parent_cat1/child_cat1/what-is-vs-code-peek-definition/
По другому не могу сделать. Но по идее если правильно разложить категории и пост положить в правильную категорию оно так и будет. Если вы понимаете о чем я говорю. У вас же тип записи это просто категория. Вот тип записи сделать родительской категорией.
-
Current freelance projects in the category PHP
Refinement of the existing project on Laravel (PHP)Need to refine an existing project on Laravel (PHP). The project includes a ready-made admin panel that has a builder inside it for creating pages through it with layout (html+css+js) using PHP code for data output. In the project, it is necessary to implement 2-3 pages based… Content Management Systems, PHP ∙ 2 hours 19 minutes back ∙ 21 proposals |
New store on Woocommerce
2308 USD
Looking for a developer to create an online store on Woocommerce. Project - a store for daily promotions, popular products in limited quantities. What is already available: layout of all pages (showcase, checkout, content pages, customer account), corporate identity, logo,… PHP, Web Programming ∙ 4 hours 40 minutes back ∙ 79 proposals |
Need to make improvements on the Modx Evolution CMS 3.1.7 site.
22 USD
The design refinement and layout of the website are being developed, and these works will need to be implemented on the site.Also, some adjustments need to be implemented on the site. HTML & CSS, PHP ∙ 8 hours 46 minutes back ∙ 21 proposals |
Implementation of a technical SEO audit on OpenCartGood day. Need to implement technical SEO fixes on the site softugo.com. The site is already developed but not fully launched yet. Platform: ocStore 3.0.2.0 / OpenCart + custom code. Hosting: Hostinger. Current PHP version: 7.3. (transition to PHP 8.2 is planned) A checklist… PHP, Web Programming ∙ 1 day 6 hours back ∙ 57 proposals |
Execution of work after SEO audit
334 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 4 days 5 hours back ∙ 63 proposals |