'}}

Creating a matching site using WordPress [HivePress] Changing the URL slug of the Add Listing page

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

We will explain the code introduced in the HivePress code recipe.

Change URL slug for Add Listing page

Add to function.php

The code is added to function.php.

  • Create a child theme and add it to function.php
  • Added using the code snippets plugin

Please edit function.php in one of two ways.

<?php
add_filter('hivepress/v1/routes', function($routes) {
    $routes['listing_submit_page']['path']='/custom-slug-here';

    return $routes;
}, 1000);

Finally, go to Settings > Permalinks and click the [Update] button to reload the permalinks.

This blog post explains the prerequisites you need to know before editing function.php!

Leave the reskilling of your website to us!

Since 2019, we have been sharing skills related to WordPress and websites. We have accumulated case studies and know-how, and are good at quickly and accurately solving problems. If you have any concerns about your website, please feel free to contact us via our official LINE account!

↑Click to open the official LINE page

Latest Articles

'}}
Explains how to customize the LifterLMS system automatic output page
'}}
LifterLMS Customization example when the registration date and active date are different due to bank transfer, etc.
'}}
(Solved) Emails sent from WordPress to Gmail are not being sent [Lollipop]
'}}
Explaining package (ticket) settings for the WordPress reservation system Amelia
WP Rocket - WordPress Caching Plugin
en_USEnglish