@ Patrick
I just went thru the process myself, but used the core Profile template instead of Card (I already had a plugin duplicated of Card):
- Move the
profilefolder from../connections/templates/to../wp-content/plugins/ - Change the folder name from
profiletoconnections-profile. (Not necessary) - Open the
profile.phpfile and renamed all instances of theCN_Profile_Templateclass tomyCN_Profile_Template. - Change the slug from
profiletomyprofile. - Activated the template on the Plugins admin page.
- Navigated to the Connections Template page and tested the Customizer. It worked as expected.
- Because I moved the
profilefolder originally, the original Profile was no longer running at the same time so I copied a duplicate of the original back to thetemplatesfolder so both Profile templates exists. - I tested Customizer on both instances of Profile and they functioned independently of each other as they should.
So, I guess my advice would be to take a step back. Archive your duplicate and make sure the original Card template is in fact original with no changes (that’s important) and that is in in the ../connections/templates/ folder.
Then, follow my steps above which are basically the same as the tutorial. I need to add the instruction to change the slug.
The only other thing you’ll have to do which I did not is change the Customizer line from require_once CN_PATH . 'templates/card/class.customizer.php'; to require_once plugin_dir_path( FILE ) . 'class.customizer.php'; The next update to Connections will include that change so it will no longer be necessary.
Hope this helps, let me know how it goes.
