chertz
Forum Replies Created
-
The new version 1.4.0 should fix many of these issues.
Forum: Plugins
In reply to: [WP Easy Post Types] Template missing for fieldthe_ept_field function displays that message when a post does not have that custom field (orateurs). It looks like your template doe not display only post types with that custom field.
We fixed the issue by removing the .dialog(‘destroy’) function call on line 855 and 937 of the custom-type.js file in the root folder of the plug in.
The 1.3 tag on EPT and the Trunk were updated with the new custom-type.js file.Hope this solves your issues.
$reviews = get_ept_field(‘game_review’, array(‘raw’ => true));
$reviews = unserialize($reviews);$reviews will be an array of posts ID.
Forum: Plugins
In reply to: [Plugin: WP Easy Post Types] Show in admin deactivates after editing columnsIt is an issue with the checkboxes and the new Ajax code implemented.
custom-type.php has been changed and it is already up to date on SVN. We will update revision soon.Try doing this way, which works only for TextFields.
<?php
$val=get_ept_field(‘film_format’,array(‘raw’=>true));
if(!empty($val)) the_ept_field(‘film_format’);
?>Next release will have a parameter for not showing the field if empty.
Hi roctimo, You should use the <?php the_ept_field(‘date’); ?> snippet, which will handle of the code to display the date as you defined when you created the field. There is also a template system that lets you change the default beahvior. If you copy the theme-datefield.php template in the classes/custom-datefield folder and you put it in your theme folder, then the plugin will call that file instead of the default one. You can also override it for each field, in your case you should rename it theme-datefield-date.php and it will be used by the plugin just for the date field. Let me know if this helps.
You can use something like this for now:
<?php if(!empty(get_ept_field(‘film_format’))) the_ept_field(‘film_format’); ?>
We have fixed this issue in our development environment, and will post this fix in the next release of the codebase. I’ll follow up once we do that. Thanks.
Right now you can use get_ept_field(‘film_format’) before and check for emptiness, such as: if (!empty(get_ept_field(‘film_format’)))
In a future release we can add an option for “show label if not empty,” but for right now this would be the workaround.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] Single-post.php explainedWe’ve released an updated plugin with a number of updates included in it. Version 1.0.1 is now available as a download. Thanks.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] How to display categoriesHi All – just to let you know, we’ve released an updated plugin with a number of updates included in it. Version 1.0.1 is now available as a download. Thanks.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] A few other improvementsHi – we’ve reviewed the Magic Fields plugin and don’t see any reason why you couldn’t use it alongside Easy Post Types. There isn’t direct integration between the plugins, but they should play fine together.
Also, we’ve released an updated plugin with a number of updates included in it. Version 1.0.1 is now available as a download. Thanks.Hi All – just to let you know, we’ve released an updated plugin with a number of updates included in it. Version 1.0.1 is now available as a download. Thanks.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] A few other improvementsThanks for the feedback and notes! We will review these today and will incorporate some or all of these suggestions into a new release shortly.