Help with coding

This topic contains 28 replies, has 3 voices, and was last updated by  m forbes 10 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #8746

    purpleedge
    Expired Member
    Post count: 539

    Can someone please share it with the rest of us?

    #8753

    m forbes
    Full Member
    Post count: 338
    This reply has been marked as private.
    #8755

    purpleedge
    Expired Member
    Post count: 539

    @m forbes – not sure if you were replying to my request, but your last post was private and I can’t see the solution?

    #8757

    m forbes
    Full Member
    Post count: 338

    Purple edge, I don’t have the solution yet 🙂 and sorry, I meant to let you know that I’m happy to share, when i have something to share!

    #8759

    purpleedge
    Expired Member
    Post count: 539

    Ah, OK I thought you got an answer.

    Try replacing the code you uploaded with the attached…

    #8812

    Simone
    Expired Member
    Post count: 3515
    This reply has been marked as private.
    #8864

    m forbes
    Full Member
    Post count: 338
    This reply has been marked as private.
    #8897

    m forbes
    Full Member
    Post count: 338

    Hi Purpleedge, I tried your code, THANKS for your help! Screenshot is what it does. Shows the same on the Add Events page.

    #8913

    purpleedge
    Expired Member
    Post count: 539

    It is only showing 3 of your 4 CPTs, so it is filtering out the gd_event CPT.

    You’ll need to use CSS to style the option boxes.

    Now we need to figure out what your link to Events does 🙂

    #8941

    m forbes
    Full Member
    Post count: 338

    Purple edge, Oh, I am so sorry, I didn’t even notice that the Event cpt was not showing! I’ve been researching so much lately that my eyes are crossing! Thank you for working on this!

    Is the reason the gd_places, gd_places_to_eat, etc. are showing because of the need for .css formatting?

    Simone, did I lose you with my last attempt to explain :)? I am happy to use what you came up with, I can just add directions for folks above the radio buttons… I am not trying to drive anyone too crazy!

    Thank you both again! I cannot help but think someone else might like their Add Listing page to be all inclusive??

    #8946

    purpleedge
    Expired Member
    Post count: 539

    ge_places etc are showing because I added some debug code to see how many and the names of your CPTs.

    You can get rid of them by changing the line to …

    //        echo $key . '<br />';           // debug code

    i.e. add // to the beginning of the line that has “//debug code” in it.

    #8978

    Simone
    Expired Member
    Post count: 3515

    attached you’ll find the code, add it to the functions file

    #9038

    m forbes
    Full Member
    Post count: 338

    Simone, thank you very much. I must apologize for my communication yesterday, I was on the road most of the day and quickly checking the forum as I could.

    I think I figured out what you were suggesting… Make a new page and hardcode the links to specific CPTs for listing entries, correct?

    I am guessing… yes, it’s a guess, that one of the radio buttons needs to be checked for the code you did to work?

    Thanks again,
    Micki

    #9056

    m forbes
    Full Member
    Post count: 338

    Hi Purpleedge, I should have looked more carefully and figured out the debug code myself. Thank you!

Viewing 14 posts - 16 through 29 (of 29 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount