• Resolved barneyneal96

    (@barneyneal96)


    Hi all,

    I’ve previoulsy created several Custom Post Types, however today, CPT UI is not enabling me to change “has archive” to “True”. The dropdown box is simply not showing up.

    Hoping for an easy fix!

    Thank you,

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi @barneyneal96

    So what you should be seeing is:

    Screen Shot

    And what you’re actually seeing is:

    Screen Shot

    ?

    Thread Starter barneyneal96

    (@barneyneal96)

    I see the Has Archive and the text below it. But then, to the right, where you see the drop-down box, I see nothing, just white space. Not sure how to attach an image.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    You can email [email protected] and attach some images that way, I’ll be able to retrieve and review it.

    I’m wondering if somehow some javascript or CSS is visually hiding it, but the field is technically there.

    Not sure if you’re familiar with your browser’s developer tools.

    Ace

    (@h4hagency)

    I have the same issue. I imported this site via Prime Mover – but the Multisite setup is the same. Will be emailing you.

    It’s def not there. The <td> is non-existent.

    Cheers

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @h4hagency Did you just send an email regarding this? Wanting to make sure I’m responding appropriately, or if that’s someone else that submitted.

    Also if it was you, is that a live site or one that’s in development and able to be tinkered with?

    Ace

    (@h4hagency)

    Yes, that is me – thanks for checking. In development. Have backups.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @h4hagency I think I left everything as it was originally, and my apologies if I missed re-setting anything.

    The issue, I finally managed to figure out, is coming from BuddyBoss and some really recent version, after version 2.1.0. I think I saw 3 releases after that specific version.

    They added this bit of jQuery code to their settings page JS file.

    $( 'span:contains("Slug")' ).each( function () {
    	$( this ).parent().remove();
    } );
    

    It’s generic and not specific enough to be exclusive to just their usage. What it does is find any span that has the word “Slug” in it, ala <span>Slug thing</span> and remove it’s parent DOM element.

    In the case of Custom Post Type UI, we have some text output for our fields, hidden in spans, and meant for accessibility purposes. The spans just so happen to be inside our always going missing <td> cell.

    So, BuddyBoss either needs to make their selector more specific, or perhaps even more ideally, not load their Settings JS where it’s not needed.

    I don’t have an account with them, so I don’t know how much support access I’d be able to get. I’d be greatly appreciative if someone else in this thread could reach out and let them know that they need to touch up their javascript.

    Ace

    (@h4hagency)

    Thanks for digging into this!

    I’m 95% sure that’s the issue, because the Slug disappears in the Quick Edit mode too.

    They’re working on it but I’ll add this issue to the ticket as well.

    Cheers!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds like they affected more than just us, and good to know it’s known.

    I’m going for a beverage after that one ??

    ovitormmatos

    (@ovitormmatos)

    I tried disable MINIFY JAVASCRIPT IN BUDDYBOSS OPTIONS, but no sucess

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @ovitormmatos Have you checked with BuddyBoss lately and if they’ve released an update yet?

    Disabling minification doesn’t remove the offending code, it’d just make seeing where the offending code is a bit easier.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘‘Has Archive’ Not showing up’ is closed to new replies.