TotalPress.org
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Plugin not visible on sidebarCan you attach a screenshot of your dashboard with the menu Extend/Manage opened?
WordPress version? Active plugin list? Used theme?
Many thanks
Forum: Reviews
In reply to: [Custom post types, Custom Fields & more] Documentazione vecchia e scarsaHi @matsco ??
The official docs of the plugin features is on our website (for free), you can find the documentation link on the plugin details page.
Use the reviews to comment and suggest (or not) the plugin based mainly on the features (in this case, the features of the FREE version).
Our plugin is compatible with tha last WordPress version and all features work fine.
For all others request (also PRO version) using our website.
Many thanks
- This reply was modified 1 year, 2 months ago by TotalPress.org.
Attach here 3 screenshots of your wp-admin:
- post relationship field configuration screen
- post type list
- dropdown with 3 chars of post title non present by default
Hi @alessiac95,
The dropdown list a few items, but if you start to write the post title on the dropdown search box other items will load.
Let us if it work.
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Import/Export DocumentationHI @johns1951
the PRO Import/Export functions deal exclusively with the entities created by the plugin.
Example:
If you created the “Rooms” post type with the plugin, you can export the post type configuration via PRO. To export the “Rooms” you added you can use the native function or the dedicated plugins.
Hi @artgoddess
We provided to Schema & Structured Data for WP & AMP team the indications to integrate the new version of our plugin (V 5.x) that we will release very soon.
We look forward to receiving your review ??
Hi @magazine3 (thanks @artgoddess)
we are working on this integration, we can insert the logic in the “saswp_modify_post_meta_list” filter into our plugin, but your modification would still be necessary to recover the image-type fields (already integrated with ACF).
We will soon release version 5.x of our plugin, some methods of the code below will only be available with the new version, I advise you to wait for our update before releasing this integration:
// Add fields to dropdown add_filter( 'saswp_modify_post_meta_list', function ( $options ) { $field_groups = cpt_field_groups()->get_registered_groups(); foreach ( $field_groups as $field_group ) { $id = ! empty( $field_group['id'] ) ? $field_group['id'] : false; $label = ! empty( $field_group['label'] ) ? $field_group['label'] : CPT_NAME; $supports = ! empty( $field_group['supports'] ) && is_array( $field_group['supports'] ) ? $field_group['supports'] : false; $fields = ! empty( $field_group['fields'] ) ? $field_group['fields'] : array(); if ( ! $id || in_array( $id, array_keys( cpt_pro_ui()->post_types ), true ) ) { continue; } $meta_text = array(); $meta_image = array(); foreach ( $fields as $field_config ) { if ( 'file' == $field_config['type'] && 2 > count( $field_config['extra']['types'] ) && ( empty( $field_config['extra']['types'][0] ) || 'image' == $field_config['extra']['types'][0] ) ) { $meta_image[ $field_config['key'] ] = $field_config['label']; continue; } $meta_text[ $field_config['key'] ] = $field_config['label']; } if ( ! empty( $meta_text ) ) { $options['text'][] = array( 'label' => $label . ' [' . implode( ', ', array_map( function ( $item ) { return $item['id']; }, $supports ) ) . ']', 'meta-list' => $meta_text, ); } if ( ! empty( $meta_image ) ) { $options['image'][] = array( 'label' => $label . ' [' . implode( ', ', array_map( function ( $item ) { return $item['id']; }, $supports ) ) . ']', 'meta-list' => $meta_image, ); } } return $options; } ); // My test to override ACF function, please adapt without override if ( ! function_exists( 'get_field_object' ) ) { function get_field_object( $field ) { global $post; $field_object = cpt_fields()->get_field_object( $field, \CPT_Field_Groups::SUPPORT_TYPE_CPT, $post->post_type ); if ( 'file' == $field_object['type'] && 2 > count( $field_object['extra']['types'] ) && ( empty( $field_object['extra']['types'][0] ) || 'image' == $field_object['extra']['types'][0] ) ) { $field_object['type'] = 'image'; } return $field_object; } }
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Displaying Categories in Post FeedHi @suzanna99
The categories now appear to be present in the html output in the grid block with this css class:
wp-block-getwid-custom-post-type custom-post-type-products has-layout-grid has-spacing-medium show-pro custom
It seems that the “custom” css class hides the category labels above the title:
.custom .taxonomy-category a {display: none;}
Incredible Cone -> Cones
Reduced Fat Vanilla Mighty Mini -> SandwichesIf you want to show the taxonomy, search and comment/remove that css rule in the style.css file
- This reply was modified 1 year, 5 months ago by TotalPress.org.
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Multiple post RelationshipHi @marcogabelli thanks for using this plugin ??
There are several ways to get the result you need.
For example, you could create a field group assigned to the “Employees” post type with a “Post relationship” field by choosing the “Companies” post type. In this way in each single “Employees” you will be able to choose a single “Companies”.
Dont forget to leave your 5 star reviews ??
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Post relationship problemHi @jitka88
We just did a test but we can’t reproduce the problem, it could be due to the update to version 4.
Have you tried saving the field group again without changes?
Have you tried creating a new field group with that field?
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Template: add CPT imageadd_filter(‘post_thumbnail_html’, function($html, $post_id, $post_thumbnail_id){ if(is_singular(‘YOUR_POST_TYPE_KEY’)){ return wp_get_attachment_url($post_thumbnail_id); } return $html; }, 10, 3);
Add this code on the functions.php file of your theme/child theme, change YOUR_POST_TYPE_KEY of your template (ex: post, product, ecc).
Now the shortcode return the image url.
Let us if it works ??
- This reply was modified 1 year, 6 months ago by TotalPress.org.
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Template: add CPT imageHi @artgoddess and thanks for using this plugin ??
If the post type supports native WordPress thumbnails, on the template creation page as soon as you choose the post type among the first available shorcodes you will find the “thumbnail” one.
Dont forget to leave your review ??
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Fields list does not shonPRO version request
Hi @mhannpannos and thanks for using our plugin ??
Thanks to your report, a bug has been fixed (version 4.0.12).
If you want to try the PRO version, use the coupon:
BUG-REPORT-CPT
for get discount on the first year.Don’t forget to leave your review, it’s really important to us ??
- This reply was modified 1 year, 6 months ago by TotalPress.org.
Forum: Plugins
In reply to: [Custom post types, Custom Fields & more] Translations with locoHi @jitka88 and thanks for your support <3
With the new version 4.0.8 we introduced translation templates (pot), now trying to translate through any translation plugin should work, we did a test with Loco and it’s ok.
For translating custom content settings created via our plugin, we are working for this feature (unfortunately each translation plugin works differently, this makes the task not easy).