Alex
Forum Replies Created
-
Forum: Plugins
In reply to: [Shariff Wrapper] Working strangely on author pageThank you for your direction, JP.
Forum: Plugins
In reply to: [Customize Posts] Conflict with Shortcake UIAppreciate it, many thanks, Weston.
Forum: Plugins
In reply to: [Shariff Wrapper] Can be opened in a popup instead of a new tab?Really great! Many thanks, JP!
Hi Jordy!
Followed this thread and as I see the transliteration might be already in the plugin. But found out that actually there is no one.
As Andy I would also need Cyrillic to Latin..
Any chance that this feature would be in the plugin?
Forum: Plugins
In reply to: [CMB2] Strore all fields within a metabox as an arrayYes, thanks.
Forum: Plugins
In reply to: [CMB2] Strore all fields within a metabox as an arrayI’ll have large number of parameters (15-20) per post. I don’t need them to be searchable at all as they are only to override global options and to setup the posts layout. In case of many thousands of posts, all these meta fields will generate significant amount of wp_postmeta records. I don’t think it’s good for performace and efficiency points of view. This is the reason I’m prone to store these post options serialized.
- This reply was modified 8 years, 2 months ago by Alex.
Yup, I’m going to this and learn more about cmb2, for now just need a easy-go solution.
Thank you, guys!I’ve added my custom styles, though can’t get full control over layout.. Went this way.
Ok. Thanks for helping.Cool. That’s one I needed. Thank you!
And as far as I know only way for now to change Repeatable Groups Layout – only with css which is a limit over design or with custom fields (like address field in examples).
The goal is to have more lightweight look like ACF has (table layout) https://uploadpie.com/2BWfx (screenshot).Non-repeatable group:
... $prefix = '_ao_post'; $group_pro = $cmb->add_field( array( 'id' => $prefix . 'pro_info', 'type' => 'group', 'options' => array( 'group_title' => __( 'Professional details', 'cmb2' ), ), 'repeatable' => false, ) ); $cmb->add_group_field($group_pro, array( //'before_field' => __( 'Headline', 'cmb2' ), 'name' => 'Headline', 'id' => $prefix . 'headline', 'type' => 'text', ) ); $cmb->add_group_field($group_pro, array( 'name' => 'Position', 'id' => $prefix . 'position', 'type' => 'text' ) ); ... /* Other group fields goes below */
1) Is it possible to save fields within a group separetely? Now they all saved as one meta key in serialized array.
2) Can I anyway change a group markup/layout (including remove and add buttons)? (it’s not about field/row markup)Hi Michael,
Sure, I’ve been at both links and looked into the issues as well. My questions are more specific to the group fields.
Can’t find answers for #1For #2:
I thought I could use groups for just visually sorting the fields, but if I can’t choose how to save data (separetely or serialized), this is probably not suitable.As per my question #3:
I found that group rendered byrender_group_row
function in CMB.php. Unfortunetly I can’t find any filter I can use to change the group’s output.
Withrender_row_cb
as far as I see I can’t control it.Only the way – a custom field. Yes, I used this solution to combine some fields. But I thought there might be more easy way to choose and control group field, that would speed things up out of the box. Some ideas on that have been discussed in the topic at https://github.com/WebDevStudios/CMB2/issues/364.
Forum: Plugins
In reply to: [Featured Galleries] make custom fields with ids invisible in metaboxWith the plugin metabox is everything ok. Please see what I meant (screenshot): https://www.tiikoni.com/tis/view/?id=e9ba9db
This is a native Custom Fields metabox in WordPress.Forum: Plugins
In reply to: [Shariff Wrapper] Can be opened in a popup instead of a new tab?Hi JP,
Yup, you spelled out my last lines right, I myself hardly got what I wrote
I meant what you said ??As for the popup, my personal thoughts – people got used already to see a popup appears when clicking on social share button and not leaving the current page, instead of open it in a new tab. Maybe I’m wrong.
Anyway, I can add it though javascript, as well as the popup size depends on the button clicked. Don’t worry.Thank you.
Forum: Plugins
In reply to: [Permalink Manager Lite] Pagination on Permalink editor tab not workingYes, both are local. I think, I’ll mark the topic as resolved. If I figure out the problem later I share it here.
Thanks, Maciej.
Forum: Plugins
In reply to: [Featured Galleries] make custom fields with ids invisible in metaboxHi Andy!
No they are not ) The id values are shown in the Custom fields Metabox in the Edit post screen. So I thought this is a bit sore for the end-user, who says, what are these figures ).. With a prefix _fg they would be invisible.
But it’s my thought, you’re an author )) thanks anyway