There are a couple of different ways to work with the ACF image object, depending on the return type: https://www.advancedcustomfields.com/resources/image/. It looks like you’re working with an array, but you’ve got some extra image attribute markup. Try something like this:
<img src="https://wordpress.stackexchange.com/questions/354614/<?php echo esc_url($im["url']); ?>" alt="<?php echo esc_attr($im['alt']); ?>" class="top-ten">
Related Posts:
- How to add a shortcode button to the TinyMCE editor?
- Is there a plugin that provides a stackoverflow style editor for wordpress? [closed]
- How to check if the product is in a certain category on a single-product.php in Woocommerce?
- Plugin upgrading: Widget settings
- Create a table in custom plugin on the activating it?
- How to call plugin path in JS?
- Getting Custom Post Type content from main-site of a Multisite
- Editor not displaying dynamically after clicking on the button
- $current_user var returns NULL
- Quote rotator in the sidebar
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Very stubborn wp_register_script / add_action vs remove
- remove filter which calls a public static function
- How to submit documentation with plugin
- Placement of Code in Plugin for hooking `save_post`
- How can plugins have their own pages?
- Why is the generated POT file from WordPress.org not adding my plugin description to the POT file?
- Where does WordPress store plugin (enabled/disabled) status for multisite?
- Bouncing scroll
- Reusable functions and tools (Framework)
- Override Javascript in a Plugin?
- Preview featured image using frontend post plugin
- Globally register styles but enqueue them selectively
- Creating a plugin to sanitize comment and the url field before display only
- Debugs/errors in oqey gallery
- Does using WP-cron make the site slower for the user?
- uninstall.php does not appear to trigger when uninstalling my plugin
- Why “Call to a member function on a non-object” in plugin only?
- Auto move media file to cloud
- Best place to load wp_ajax_the_ajax_hook action in plugin
- jQuery.post not working within shortcode – WordPress Ajax
- Login cookies set as wrong domain
- Warning: Use of undefined constant list_all – assumed ‘list_all’ (this will throw an Error in a future version of PHP)
- How to distinguish if a plugin is not installed or just not active
- WordPress Apply filter in plugin causes 500 internal error
- How to enable customer login to customer specific admin page
- How to prevent plugins from sniffing/stealing other plugins’ options?
- How to use printf to output two links?
- 2 wordpress site same database
- Executing Javascript in Plugin
- Retrieve options set through a plugin
- How to Include Custom Post Content From Plugin
- How to redirect to a page after the form is submitted
- How do i ‘deactivate’ a plugin only on a certain page template?
- WordPress plugin for Limited days user
- Running a function with args in add_action()
- Identify current wordpress theme
- How to write a new file when new post has been published in WordPress
- Custom Caption on WP Nivo Slider
- Using call_user_func() within add_settings_section() within a Class
- How to makes changes on the shop/category/tag pages but not on the product pages in woocommerce?
- Javascript console errors and WSOD on edit post pages
- Order by post_date does not work in Previous and Next post pagination
- WordPress default post categories meta box widget
- Save order without sending the invoice / order details woocommerce [closed]
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Make modification of add_to_cart button specific to single page
- Discern a specific plugin’s action hooks
- How to get the checkout form data from checkout page when place-order button is clicked
- WordPress post status change from published to draft
- Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin
- the content of the uploads folder gets deleted periodically, how to figure out what causes it?
- Product Page loads terribly slow when product gallery images are added
- when i activate my WordPress plugin cannot see customizer options or preview
- Writing SEO for Homepage when homepage is set to display latest posts
- multiple image upload using wp_enqueue_media
- On save_post need to wp_insert_post and save partent post id to child post and child post id to parent post
- Overwrite a file with the content of a textarea
- Website painfully slow after migration to VPS2
- How to Modify WordPress Plugin Placement/Position on Post Page?
- Protect WordPress option value
- wp rest api (v2) filter not working (404 error – rest_no_route)
- Edit plugin filter
- can’t use span or icon tags on when editing visual composer element
- WordPress crob job performance
- Team member plugin problem after changing to another hosting
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- How to disable wordpress page rewrite rule?
- AJAX login without a plugin does not work. when add a action to function.php
- How do i get all author posts on custom post type list
- Programmatically retrieve the sidebar/s classes
- Displaying image from a repeatable group
- AJAX doesn’t pass variables to the php function in the plugin
- Modifying WordPress XML-RPC Built-Ins
- Submit form stored in one plugin from another plugin?
- wp_query for more fields plugin
- How to add character to content of post?
- Trouble After Update, Removing Plugin
- Move related products after product summary? [closed]
- Cannot modify header information – headers already sent by
- How can I get information on who is downloading my plugin? (new to this)
- Browser Cache causes ‘Orderby=rand’ to return the same posts
- How we add tabs in plugin page
- Woocommerce Revenue
- How to register new elementor widget in functions.php
- How to have certain products show for only certain users (Not roles)
- Display file contents within Plugin
- Content being rendered as empty string in posts endpoint
- WordPress Global Var in Plugin but Outside Function
- Call to undefined function create_function() – PHP 8.2