rrasco
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Custom Post Types not on SubsiteActually I wouldn’t be, I work in IT as a network admin so I am used to vague or incorrect jargon, excuses, etc. I try to put as much info in my posts without deferring from the important stuff. At any rate…
I have no idea what the previous devs did. This is my first multisite environment. I did however build this theme on a non-MS site so I am fairly certain it works as a standalone feature. I’m rather confused because registering a custom post type is fairly simple in and of itself.
When you say ‘checks’, do you mean conditional statements to check which subsite is running? Say, something similar to:
if(this-site) { register_post_type() }I’m almost positive it’s something to do with the MS env I inherited, I was just looking for leads on what next to check because I’ve run out of ideas. I’ve gone through all the standard stuff. I was thinking it might have something do to with the other themes on the network, there are about 8-9; one for each subsite. I’m tempted to delete them, but that would break the rest of the network. I know I’ve worked on some sites where the prev dev hacked together themes and broke stuff like page templates, etc.
Forum: Networking WordPress
In reply to: Custom Post Types not on SubsiteI understand, but I believe I explained that all in my first post.
The theme is active on the subsite. It is not a child theme.
My first post also states this works on a separate server I originally developed this theme on. I added a subsite to that MP environment after I encountered this issue to test and it does work on both the main and subsite there.
Is there a native WP cache I am overlooking? I do not believe there is any other cache system installed. I will double check though.
Forum: Networking WordPress
In reply to: Custom Post Types not on SubsiteI realize the functions.php file is for the specific theme.
The client wanted the site on their server before going live, so what I did was create subsite new.domain.com, it’s a dev site. This is the subsite the CPT are not working on. I also tested this theme on the main site (domain.com) in which the CPT work. So, the theme is not in use on ALL sites, but it is in use on the two sites I am trying to work on. One dev, one production. It is currently the active theme on the dev site, in which I would expect the functions.php file to load and register the CPT. This is not the case.
I figured it had something to do with that function, but after making the change I am still getting the mysterious line breaks.
EDIT: Disregard, must be my theme, twenty eleven is not the producing line breaks, with or without the default wpcf7_autop() function.