Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: โœ…Connecting Related Custom Post Types With Frontend Form #32228
    Margaret BlauveltMargaret Blauvelt
    Participant

    Anything new with MB for this question?

    I have a similar situation. I have a custom post type 'events' (created by the Events Manager plugin) and another, 'instructor' (created via Meta Box). I used MB Relationships to generate code for a bidirectional (many-to-many) relationship. Works beautifully in the back end, with a drop-down box for Instructors appearing on Add and Edit Events pages and a column for instructors on the Events list and one for Events on the Instructors list (which I may remove from that Events list but it's nice to see it working in both directions).

    Now I am trying to figure out how to add one or more instructors to a given event being added or edited on the front end. If a user could add the instructors on the front end exactly as happens on the back end, that would be fine, though I already have coded a multiple-select list showing all possible instructors. Once the user picks the instructors that belong to the event, how do I save the instructor(s) to that event record? Ideally, the user would press Submit just once, which would create or update the Event record at the same time that one or more records are created to link that event to the chosen Instructors.

    Please point me in the right direction. I am quite new with WordPress and somewhat familiar with PHP and JavaScript (though I have used other programming languages much longer).

    Thanks!

    in reply to: โœ…Permalink issue with Custom Post Type #28929
    Margaret BlauveltMargaret Blauvelt
    Participant

    OK I get it. The goal is to get WordPress to save the permalink structure again. I changed the permalink structure and changed it back. I may or may not have had to save a new permalink structure before saving the original again. All is well. Thanks.

    in reply to: โœ…Permalink issue with Custom Post Type #28787
    Margaret BlauveltMargaret Blauvelt
    Participant

    I am having the same issue (and I cannot understand what the last person posted - "plain test" or "plain text"? How do I do that?).

    Anyway, I tried using a custom archive slug in the "Advanced" Meta Box menu for the custom post type and it made NO difference. My custom post type is named "mjb-post" and the slug I put in is "mjb". Rather than trying to find my post under "mydomain.com/mjb/my-title", the system still wanted to list the URL to the article as "mydomain.com/mjb-post/my-title". In either case, I could never bring up the article as a published article. (I could preview it fine.) Also, if I found it by searching, a nice excerpt was listed in the search results but when I clicked the title, I was taken to the "Not Found" page. If I tried typing directly in the URL, "mydomain.com/my-title", the system redirected it to "mydomain.com/mjb-post/my-title" and again the result was the "Not Found" page.

    Another bit of trivia: When I found the excerpt by searching, I could click the "Edit" link below it (logged in as administrator) and I was correctly taken to the edit page for that post. So the system understands everything about the post except the pretty URL.

    I tried disabling EVERY plugin except Meta Box and Meta Box AIO. No change.

    I don't know if it makes a difference, but WordPress is installed in a subdomain. I tried switching the .htaccess file for one I used originally to run WordPress out of the subfolder. No difference. The newest version has no reference to the subdomain while the old, original version did, so I'm not sure why the new one works. If I remove the .htaccess file completely, the only page URL that works is the home page, which correctly shows the excerpts but when I click on any title link, I get not only a "Not Found" error, but also that error does not display on the WordPress "Not Found" page because WordPress cannot find the "Not Found" page.

Viewing 3 posts - 1 through 3 (of 3 total)