But it seems only field groups can be repeatable and not a single field inside.
Can’t you make a dummy (image+something) group for this? Then, hide the something
with CSS.
unfortunately I cannot change the plugin for this project
In the backend, if another plugin uses the same meta names -let’s say Simple Fields and ACF- both plugins will show mirrored values (in non-repeatable cases). Although, I don’t know if saving the post has unintended consequences. This is useful to make tests in a clone site before migrating from one plugin to another. In the frontend, using get_post_meta
covers any plugin.
So do I really have to extend the simple fields plugin to accomplish this?
You could use ACF or a handmade solution to create another meta box.
there seems to be no option to make conditional fields for the cms only
ACF has that. Anyway, in this situations jQuery is our friend.
Related Posts:
- The correct method to pass query vars in AJAX using ajaxurl
- Display user’s total comment count outside The Loop
- Getting the action’s tag name within the action
- WordPress Infinite Scroll without using any plugin
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- How to add query vars with paginated URLs?
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- How to Join two tables from separate databases within WordPress
- How to get user by display_name with WP_User_Query
- Changing Link Attributes for Wp_Link_Pages
- Unusable menus and “Illegal widget setting ID: nav_menu_item[]” error
- How to change
- Get only the grandchildren, not the direct children of page/current page?
- Passing POST data from one WP post to another
- Use wp_remote_get to get JSON instagram feed from public profile
- How to add SVG icon above product tab title
- WP_Query sort using multiple numeric meta values
- Call to undefined function issue
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- How can I generate random numbers inside my shortcodes on each implementation?
- custom widget on the footer
- WordPress automatically adding html tag around PHP code
- WordPress does not load page.php, return 404.php
- Converting HTML Template to WordPress Theme
- How to hide all child pages with post_query?
- Saving an array of dynamic repeater data as post_meta
- How can I apply_filters from inside a function?
- Image rotation and editing stopped working in WordPress after upgrading Ubuntu from 16.04 to 18.04
- How do I start using an external API and PHP for a WordPress.org page?
- Populate editor with some content of a page with a page template
- I want to load in a new class but only if the current page is single-movies.php
- wp query foreach deleting record returning only first or last item
- Customizer: Category Select Sanitize
- action theme mailchimp subscriber fields
- Using $wpdb (WPDB class) ‘replace’ with multiple WHERE criteria problem
- Skt full width basic slideshow problem
- RTL Stylesheet Confusion with WordPress
- How to create an ACF shortcode with Repeater Field in WordPress? [duplicate]
- get_template_part() not firing within a switch statement when template has new WP_Query
- How to show/hide php table rows based on the content of custom fields
- How to determine from a different folder (outside wordpress) if a visitor is logged into WordPress
- Is a series of update_option calls safe, performance wise?
- How to call multiple functions from multiple files into a WordPress page template [closed]
- how to get serialized post meta
- Scheduling an event inside plugin class is not working
- How to catch wordpress post ID when it’s published
- WP check_ajax_referer() is not working
- How to access or parse key/values that have “string”
- Will I have problem with PHP 5.5 and WordPress 4.9.4?
- WordPress widget and customize.php not working in Ubuntu16.04 VPS
- wp_localize_script() and JavaScript namespaces
- How do i wrap woocomerce attribute in list?
- Removing files programmatically
- Class property seems to lose scope, attached to save_post action?
- exclude custom post type from running a function
- Anonymous functions usage
- WordPress – Get Posts with Category data
- Change Language Title Pagination on Subdomain non Multisite
- Call to “admin_notices” hook from a static method
- How to Create custom block for displaying information in content section which act like shortcode
- How to use Page link field with is_page()
- Running SMTP Conditionally
- How can I pass php code as a content while publishing a post
- Trying to show the category of a post in the post display
- Displaying SQL query result from user input via wpdb
- Display specific page if user signed in
- 500 Error, Get custom field and returning it
- How do I add this OnClick event script to a custom button I’ve created?
- How can i limit the number of posts to the most recent 6 in my query?
- wordpress dependent dropdownlist using post type is not working
- Post content, PHP help
- PHP error after theme update
- How to insert text into post based on category – via single.php file
- Access certain Entry in HTML-Table and pass the entry-data in WP not working [closed]
- is_user_logged_in() not working in homepage
- Custom Post type Ajax search results
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- I want url from a file in media using title file
- how to get buddy press messages based on thready_id?
- Widget Logic – display on page and all child
- How to associate dynamic PHP page for chosen WordPress tag?
- Get dimensions of logo
- How to call javascript function (jquery) in a shortcode?
- Add custom filter to register data in array
- Rename Index.php
- Why does WP_Query show only the same post even with different categories and endwhile?
- Dynamically pull the correct email address from a match
- Custom single.php files for different post formats
- Troubleshooting “loopback requests that take too long”
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- Order woo products, but first products must be with acf fields
- Remove /category/ from category (archive) page URLs (without using a plugin)
- JSON Object Value Show Undefine
- Customize the summary table of an order in the email
- Query posts by custom taxonomy slug in WP REST API?
- How to disable page create for custom post type, but allow a page with the post types slug to be created?
- WooCommerce Modal Fly cart on add to cart – With AJAX
- /page/2/ redirect to 404
- How can I trim /page/ URL with PHP in WordPress
- Adding date and time to the same request