• Resolved Corinna

    (@corinnak)


    Hi there,

    We have pages like this:
    .com/us/services/service-1/tech-specs/
    .com/us/services/service-2/tech-specs/
    .com/us/services/service-3/tech-specs/
    .com/us/services/service-4/tech-specs/
    etc.

    I want to assign an individual menu to /service-1/tech-specs/ but after saving the menus, the plugin also assigned this individual menu to the /service-2/tech-specs/, /service-3/tech-specs/ and /service-4/tech-specs/. I assume this happens, because they have the same slug? In any case, they definately need different menus. Can you please help?

    Thanks and regards,
    Corinna

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi Corinna,

    Unfortunately, we don’t have the option to assign conditional menus on similar slugs as per your situation. However, you can manually set the menu manually on the sub pages.

    Thread Starter Corinna

    (@corinnak)

    Hi there!

    Thanks for your quick reply!

    Maybe my explanation wasn’t clear enough. What I need is to assign the following:

    Menu 1 to .com/us/services/service-1/tech-specs/
    Menu 2 to .com/us/services/service-2/tech-specs/
    Menu 3 to .com/us/services/service-3/tech-specs/
    Menu 4 to .com/us/services/service-4/tech-specs/

    But what happens after I assigned Menu 1 to .com/us/services/service-1/tech-specs/ and clicked “Save” in the Themify lightbox and afterwards saved the WordPress menus, is that Menu 1 automatically got assigned to ALL tech spec pages. Just for my understanding: Is this the intended behaviour of the plugin? Because this is exactly what I did NOT want ??

    Kind regards
    Corinna

    Plugin Author themifyme

    (@themifyme)

    Hi Corinaa,

    Thanks for clarifying. It looks like you have the same post slug for all those sub-pages. Not sure if it causes any error/confusion. Will ask our developer to check this.

    Thread Starter Corinna

    (@corinnak)

    Thank you very much!

    Yes, all tech specs pages have the same last slug, just the front part of the URL differs depending on the product/service.

    I hope your developers will find a solution ??

    Kind regards
    Corinna

    Plugin Author themifyme

    (@themifyme)

    I think we’ve found the problem. Does your menu have different view type conditions? (ie. do you have the sub pages checked and another view type checked?)

    We’ve confirmed that bug and will fix it in the next update. Meanwhile, please select the sub-page conditions. If you need the menu on other view types, please add another conditional menu.

    Thread Starter Corinna

    (@corinnak)

    Hi there,

    first of all: Happy New Year!
    Sorry for my late reply, I was on vacation.

    What do you mean by “view type”? Do you mean the tabs “General, Pages, In Categories, Categories, Post Types,” etc.? If yes, then no, our page only has 1 checkmark.

    Best regards
    Corinna

    Plugin Author themifyme

    (@themifyme)

    Can you post screenshots of your menu conditions to show what you’ve selected/checked? If you don’t have other conditions selected, it shouldn’t have any conflict.

    Thread Starter Corinna

    (@corinnak)

    Hi,
    very sorry for my super late reply, we had to finish an important project. Here are the screenshots.

    First I created a new conditional menu, selected the page I want this menu to be displayed and pressed “save”:
    https://www.retarus.com/au/wp-content/uploads/sites/10/2020/01/step1.jpeg
    (and there is 100% no other checkbox ticked. this is the only one.)

    Then saved all WordPress menus:
    https://www.retarus.com/au/wp-content/uploads/sites/10/2020/01/step2.jpeg

    When double-checking, I get this:
    https://www.retarus.com/au/wp-content/uploads/sites/10/2020/01/step3_doublecheck.jpeg

    NOTE: When I double-check BEFORE saving the WORDPRESS menus (so only having saved the CONDITIONAL menu so far), it keeps the correct status. It only gets messed up after saving the WORDPRESS menus.

    Can you please help?

    Best regards
    Corinna

    Plugin Author themifyme

    (@themifyme)

    Can you make sure you are using the latest Conditional Menus version? According to your screenshot, it might not be the latest version.

    Another thing I noticed is that it auto check the other “service” posts with similar post title. Can you try to check another service post and see if it will auto check any other post checkbox?

    Thread Starter Corinna

    (@corinnak)

    We have updated the plugin yesterday from version 1.1.5 to 1.1.6, but it doesn’t make a difference, still the same behaviour.

    All service posts that have unique slug at the end of the URL work fine (we have like 20 conditional menus in total). The only problem occurs with those service posts that have the same slug at the end of the URL:

    works for:
    /services/fax/
    /services/sms/
    /services/email-security/

    does not work for:
    /services/fax/tech-specs/
    /services/sms/tech-specs/
    /services/email-security/tech-specs/

    After saving the WordPress menus (see step2.jpg from my last answer above), it auto-checks all /…/…/tech-specs/ posts.

    Maybe your plugin only observes the last slug and not the whole URL path?

    Thread Starter Corinna

    (@corinnak)

    Oh, and: when I change one of the tech page’s slug from /…/…/tech-specs/ to /…/…/tech-specs-xyz/, then the conditional menu works (does not auto-check other posts). So it seems that the plugin has a problem with multiple posts ending on the same slug.

    Plugin Author themifyme

    (@themifyme)

    We’ve released another update, could you check if that resolves your issue? Please let us know.

    Thread Starter Corinna

    (@corinnak)

    Also with version 1.1.7 unfortunately still the same problem. After saving the wordpress menus, it still auto-activates all /…/…/tech-specs/ pages ??

    So, I did some further tests and created a new post:
    /services/conditional/fax/

    Remember, that we already have:
    /services/fax/ (see above)

    When I want to assign the menu now to this new post, also the /services/fax/ post automatically gets this menu. So it definitely looks like your plugin is only watching the last slug of a page/post and assigns the menu to all pages/posts which have the same last slug.

    @corinnak Hi,
    We’ve fixed the issue and if you want to have it earlier than the next release, please let us know.

    Thread Starter Corinna

    (@corinnak)

    Hi Mahmood,
    that’s great news! I’d love to get it earlier. Also, I can then confirm if it works before you release it ??
    Best
    Corinna

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Automatically activates all sub-posts with the same slug’ is closed to new replies.