Maximus
Forum Replies Created
-
Forum: Plugins
In reply to: [Getwid - Gutenberg Blocks] Post list ErrorThank you @dimned .
Forum: Plugins
In reply to: [Getwid - Gutenberg Blocks] Custom Post Type CustomizationOkay, now that i know it will work. How do i avoid my custom meta erasing when getwid plugin is updated?
Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – CoBlocks] Preview Error with Map and FormHello Anthony,
I will review and check again. I will also uninstall other block plugins and retry.
Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – CoBlocks] Retrieving Block ContentThank you Anthony.
I can call post meta data in a template based on conditions as it suits me.
How can I do same with coblocks contents? Any ideas or Articles? My template supports the Gutenberg editor but I want to arrange the contents the way I want it on the frontend.
Please note that this is for a custom post type.Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – CoBlocks] Preview Error with Map and FormBy form, I am referring to Contact Form
Forum: Plugins
In reply to: [Custom Query Blocks] PaginationYes , fixed. Pagination works perfect
Forum: Plugins
In reply to: [CMB2] Read-only Field for Specific User RoleIt works
Forum: Plugins
In reply to: [Custom Query Blocks] PaginationI have it tested on my local server at the moment not yet on a web host. I selected the block just like any other block and enabled pagination but when i click on a next page it refreshes the page without moving on the selected page.
Forum: Plugins
In reply to: [CMB2] Read-only Field for Specific User RoleThank you Justin,
I tried the code stated above but it makes the field read-only and disabled irrespective of the post status.
In other words, even with post status such as pending and published, the specific field is still read-only and disabled.
Can you please fix this?
Forum: Plugins
In reply to: [CMB2] Read-only Field for Specific User RoleHello Michael,
I am trying to make post status in addition with user capability for the read only fields.
For example,the code below did not work. What I want to achieve is that along with condition with user capability, if the post status is draft, the specific field or metabox will be readonly.
$attributes = array();
if ( ! current_user_can( ‘manage_options’ ) ) {if ( ‘draft’ == $post->post_status )
{ $attributes[‘readonly’] = ‘1’;
$attributes[‘disabled’] = ‘1’;
}
}- This reply was modified 5 years, 6 months ago by Maximus.
Forum: Plugins
In reply to: [CMB2] Read-only Field for Specific User RoleThank you Michael, it worked.
Forum: Plugins
In reply to: [CMB2] Read-only Field for Specific User RoleThank you Michael.
I tested the above code , it works but it effects the read-only on all users irrespective of their capabilities.
In other words, those without manage_options capabilities have their fields in read-only mode as well.
Can you please fix this?
Forum: Plugins
In reply to: [CMB2] Summing numeric Meta-Value(s)This is what the new column will be :
‘_my_membersquorum_column’ => array(
‘label’ => _(‘Members Quorum’, ‘cbi-tt’),
‘type’=> ‘post_meta’,
‘meta_key’=> ‘’,//*****************
‘orderby’=> ‘meta_value’,//**************
‘sortable’=> true,
‘def’=> ”,
),Like i said earlier, the content will be the sum of Meta-values from two Meta-Keys => allmembers and meeting
Forum: Plugins
In reply to: [Custom Post Type UI] Multiple CustomPost TypesThank you Michael. I will try this out.
Forum: Plugins
In reply to: [Custom Post Type UI] Multiple CustomPost TypesYes this is what i want => ” A list of post type post titles” in the Post edit screen of another post type