• Hello,

    Service category and services section not visible in sidebar area after update.

    The service products I added earlier remain in the sidebars, but I cannot add a service to a new sidebar because there is no service selection.

    I am waiting for your support in this regard. Thank you from now

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter dursunkarabatak

    (@dursunkarabatak)

    If there is no solution, can you please send me the previous version of the plugin? I think the previous version will also revert

    Hi, I have the same problem after the update. Is it possible to solve it somehow?

    Thread Starter dursunkarabatak

    (@dursunkarabatak)

    I haven’t found the solution yet, I’m waiting for a return from the plug-in maker

    Plugin Author Sunny Johal

    (@sunny_johal)

    Hi @dursunkarabatak,
    Is the services posttype one that you have registered yourself or is it part of a plugin? The main reason this would be occurring is if the posttype is not enabled in the REST api

    Sunny

    Thread Starter dursunkarabatak

    (@dursunkarabatak)

    First of all, thank you very much for your comment.

    Services is a plugin that comes with the theme I use. It is an OT Services add-on from OceanThemes.

    https://hizliresim.com/0wsTcL –> As you can see in the image, I added the “service” sidebars before, but the “service” tab on the left panel disappeared after the update.

    I am waiting for your support on this subject

    Thread Starter dursunkarabatak

    (@dursunkarabatak)

    Waiting for your help

    Plugin Author Sunny Johal

    (@sunny_johal)

    Hi @dursunkarabatak

    This issue is happening because the taxonomy you are referring to has not been enabled for the REST API. To remedy this you would need to put the following code in your theme (replacing your_tax_name with your taxonomy name).

    
    add_filter(
      'register_taxonomy_args',
      function ( $args, $taxonomy_name ) {
        if ( 'your_tax_name' === $taxonomy_name ) {
          $args['show_in_rest'] = true;
        }
    
        return $args;
      },
      10,
      2
    );
    

    If the section relates to a posttype then you would just hook into the appropriate filter and enable rest support as needed.

    As an aside, please note that repeatedly posting will not get you a support response any faster.

    • This reply was modified 3 years, 9 months ago by Sunny Johal.
    • This reply was modified 3 years, 9 months ago by Sunny Johal.
    • This reply was modified 3 years, 9 months ago by Sunny Johal.
    Thread Starter dursunkarabatak

    (@dursunkarabatak)

    I couldn’t ?? I tried but it doesn’t work

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Service category and services section not visible in sidebar area after update’ is closed to new replies.