I’ve been playing around with theme development for a little while now and have been creating a settings page to store information such as social media links, contact details etc …
However this requires me to have already hard coded the Social Media fields for the settings page.
Ideally I would like to create a Social Media Post type and then the user can add as many to the list as they like, and I just run through a loop of the post type where I want to print the links.
The problem is I don’t want this post type to have a Permalink, I don’t want people to be able to find a “Facebook” page on the site and all that’s on it is a post title. Now I know I could set up a 301 for the custom post type eg: “/socialmedia/” in my htaccess file, but ideally I would just like to remove the Permalink from the post type all together.
I’ve had a Google around for any tips but not found anything yet, If anyone could help me out I’d greatly appreciate it. =)
I’m pretty competent with WordPress so I’m not asking for a complete solution, a pointer in the right direction or just some suggested functions would probably be enough to get me going =)
Thanks in advanced!