{"action":"closed","issue":{"url":"https://api.github.com/repos/reduxframework/redux-extensions/issues/207","labels_url":"https://api.github.com/repos/reduxframework/redux-extensions/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/reduxframework/redux-extensions/issues/207/comments","events_url":"https://api.github.com/repos/reduxframework/redux-extensions/issues/207/events","html_url":"https://github.com/reduxframework/redux-extensions/issues/207","id":92181480,"number":207,"title":"Metabox fields doesn't generate custom css for custom post types or posts","user":{"login":"jpcid","id":1781805,"avatar_url":"https://avatars.githubusercontent.com/u/1781805?v=3","gravatar_id":"","url":"https://api.github.com/users/jpcid","html_url":"https://github.com/jpcid","followers_url":"https://api.github.com/users/jpcid/followers","following_url":"https://api.github.com/users/jpcid/following{/other_user}","gists_url":"https://api.github.com/users/jpcid/gists{/gist_id}","starred_url":"https://api.github.com/users/jpcid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpcid/subscriptions","organizations_url":"https://api.github.com/users/jpcid/orgs","repos_url":"https://api.github.com/users/jpcid/repos","events_url":"https://api.github.com/users/jpcid/events{/privacy}","received_events_url":"https://api.github.com/users/jpcid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T19:41:09Z","updated_at":"2015-06-30T19:43:23Z","closed_at":"2015-06-30T19:43:23Z","body":"Hi,\r\n\r\nI've identified this issue by configuring in our theme a metabox for posts which allow to change navbar background color. If we try to access to the metabox field value, in any template, we get the modified value. But the fields which generate css are not adding the style to the page because url_to_postid function is returning 0 as post_id. However page post type generate custom css as expected.\r\n\r\nI've changed url_to_postid implementation by the native one and works. Could you take a look to this? ~~$this->url_to_postid(...)~~ url_to_postid(...)\r\n\r\nWe are using version 1.2.9 because version 1.3.0 is not rendering correctly side metaboxes ... anyway same behaviour in 1.3.0.\r\n\r\nI can send you a copy of our [theme](http://themeforest.net/item/themesy-responsive-multipurpose-wordpress-theme/10606401) if you want to reproduce this issues easily.\r\n\r\nBest Regards Team"}}