Support » Plugin: Domain Mapping System » [Plugin: Domain Mapping System] Map to Custom Post Types

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author deniaz


    Hey there

    Cheers! Happy to see people using DMS.
    Well, I haven’t thought about it yet, but I’ll look into it this week.
    I’ll report back asap.


    Plugin Author deniaz


    So, I got bored this afternoon 😉
    I’ve just released DMS 1.2 with support for custom post types.
    I’d really appreciate it, if you could give it a shot and give feedback. Thanks a lot!

    Wow, that was incredibly fast, thank you so much Robert!

    There seems to be a problem with 1.2:

    On the DMS Options page, the Page/CPT select dropdown is empty.

    I am testing it on a fresh installation of WP 3.3.2 with no other plugins activated.

    Further testing reveals that the Select dropdown DOES work, but only after you have created your first custom post type.

    It did not work after creating my first page (in addition to the “Sample Page” included in every fresh installation of WordPress) but, once I had made my first CPT, both pages and custom post types appeared in the Select dropdown.

    By the way, the mapping to custom post type worked wonderfully, thank you so much!

    Plugin Author deniaz


    Thanks for the testing! 🙂
    Sounds strange, I’ll look into it tomorrow. Glad it works overall, though.
    I’ll let you know when I’ve fixed the issue.

    CPT support sounded like a good idea, so I’m happy I could help.

    It more than a good idea – I think most people currently using WordPress Networks will be thrilled when they realize how much more easily DMS can achieve the same effect, especially with the combined flexibility of custom templates and Custom Post Types

    I am still have teething problems, however, with getting CPTs to appear in the Select dropdown. I was unable to reproduce my earlier success, when I was able to get both pages and CPTs to appear by creating a first CPT. Now that only makes the pages appear, the CPTs remain missing.

    I am testing using several different installations of WordPress but have been unable to reproduce whatever it was that made DMS recognize the CPTs earlier.

    Plugin Author deniaz


    Good morning Donnacha

    It was a stupid programming mistake. I’ve fixed it and tested the code with pages and two different CPT. I believe the reported bug is now fixed.

    The problem appeared, when no CPT were registered – as I said, a stupid programming mistake.

    You can download the fixed Version (1.2.1) here.

    As soon as you verify the fix, I will mark this version as stable 🙂

    Edit: btw, only public and non-builtin (the builtin ones are Pages, Posts, Attachments, Revisions, …) CPT + Pages appear. I can change this though if you wish.

    Hi again Robert, apologies for this delayed reply.

    Yes, 1.2.1 works flawlessly, you’ve done a great job!

    Personally, I will only be using pages and CPTs but adding the option of using built-in ones too would be a good idea if you think it would not add too much complexity; I can guess that, once DMS starts becoming popular, you will get a lot of requests from users who want to map to normal posts.

    My next plan is to test just how far I can take DMS – it will take some time but I am going to map a few hundred domains to just one installation of WordPress, I will let you know how it goes 😀

    Plugin Author deniaz


    No worries.

    Great to hear!
    Alright, I’ll think about how to do this in a good way for the next release. It could be useful to map domains to posts, but I don’t see it with other types.

    Oh god, I’m looking forward to the result 😉
    Thanks for your support, Donnacha!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Domain Mapping System] Map to Custom Post Types’ is closed to new replies.