fireproofsocks
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Type Manager] categories and taxonomiesYes: just enable them in the post type definition.
I’m not familiar with Bedrock and I haven’t tested against it. Strictly speaking, WordPress is not a composer app and compatibility with it is a bit stop-gap at best. Further complications here are the fact that WP does not offer normal configuration attributes that define where its path, so it’s not uncommon that paths break in different environments. The task becomes more difficult with Ajax controllers which sometimes need to operate outside of the WP app in order to work outside of WP’s short-sighted limitations (which is what the download_def controller does). In that case, you’d need to update the path in that controller manually.
However, it would be nice to support composer, so the proper place for this would be in the bug-tracker as a feature request: https://code.google.com/p/wordpress-custom-content-type-manager/issues/list
Forum: Plugins
In reply to: [Custom Content Type Manager] Date format stored as timestamp or without "-"Date format options can be defined on a per-field basis. Edit the settings for the field in question.
You can’t use get_custom_field or print_custom_field when in a loop like that because the context of the variables: those functions are meant for the single-page templates only.
When looping over values in a case like this, the task becomes converting the post id (i.e. the asset id) into its src or url. You can use WP’s built-in functions for this, e.g. http://codex.ww.wp.xz.cn/Function_Reference/wp_get_attachment_image_src : just pass it the id of the post in question. See updated example at https://code.google.com/p/wordpress-custom-content-type-manager/wiki/to_image_src_OutputFilter
Forum: Plugins
In reply to: [Custom Content Type Manager] Upgrade to 9.7.13 broke custom dropdownsI’m guessing the broken dropdown contains a character that is not converting to JSON and back, so the “is checked” test fails. It would be helpful to have a list of the dropdown options you are using. Did the fix outlined in https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=545 work?
Forum: Plugins
In reply to: [Custom Content Type Manager] Permalinks not workingThere are known errors I’m working on in the next release. You can follow the issue in the bug tracker: https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=534
Workarounds are hard to list since WP’s url routing is notoriously convoluted.
Forum: Plugins
In reply to: [PHP Snippets] Warning: scandir()Looks like your permissions are incorrect on your directories. This is an environment issue, so the solution depends on your particular environment. Often directories need permissions of 755 and they need to belong to the same user and group as what PHP is running as (e.g. often as the apache user/group), but that may be different on your particular host.
I’m not familiar with the other plugin, so I don’t know what to tell you. Sorry.
It’d be best to file a bug report in the bug tracker (https://code.google.com/p/wordpress-custom-content-type-manager/issues/list) so that it gets addressed in the codebase.
but it looks like the attribute isn’t being set for whatever reason. You can update the if statement on line 117 to:
elseif (!$this->allow_decimals && $this->decimal_separator && strpos($input, $this->decimal_separator) !== false) {Forum: Plugins
In reply to: [Custom Content Type Manager] Hierarchical Custom Post Types Broken in 3.9Yes, I’m working on a code rewrite with unit tests for this. You can subscribe to the relevant bugs in the bug-tracker or sign up for the newsletter to get the latest updates.
Forum: Plugins
In reply to: [Custom Content Type Manager] After update content not saveI’m not sure I understand enough of what you’re doing to be able to reproduce the problem. But if you can outline the steps to reproduce the problem, you can file a bug report @ https://code.google.com/p/wordpress-custom-content-type-manager/issues/list
Please file this in the bug-tracker: https://code.google.com/p/wordpress-custom-content-type-manager/issues/list
Ah, that’s something custom — you could build out a custom query and format it as an RSS feed, but that’s not something the plugin can do automatically by default.
There is an advanced setting when you define your post-type that determines whether or not the post-type shows in the rss feed.