I have resolved this issue finally by making changes directly in “/wp-content/themes/themify-ultra/themify/themify-builder/templates/template-gallery-grid.php”.
Try to find below lines.
$link_before="" != $link ? sprintf( '', esc_attr( $image->post_title ), esc_url( $link ) ) : ''; $link_before = apply_filters( 'themify_builder_image_link_before', $link_before, $image, $settings );
And replace with,
$custom_link = get_post_meta( $image->ID, '_gallery_link_url', true ); $custom_link_target = get_post_meta( $image->ID, '_gallery_link_target', true ); if($custom_link){ $link = $custom_link; } $link_before="" != $link ? sprintf( '', esc_attr( $image->post_title ), esc_url( $link ), $custom_link_target ) : ''; //$link_before = apply_filters( 'themify_builder_image_link_before', $link_before, $image, $settings );
Thanks
Related Posts:
- Disable plugin / plugin action via theme
- Shared functionality in plugins and themes
- Need to create a Theme demo site that features multiple themes
- Declare a function before plugin does on the theme functions.php file
- Override the core function locate_template
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- Fatal error: Call to undefined function cmsms_theme_page_layout_scheme()
- All sites themes functions.php have been changed
- Overwrite category head title
- Proper way to use plugin functions in functions.php
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Removing the custom_image_header from wp_head
- What is the most efficient way of adding additional functionaliy for admin only
- Hide Plugin Custom Post Type Menu Link
- Securing langugae folder
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- How to Call Function From Separate WordPress Install on Same Server?
- pluggable function in theme, to be overridden by plugin
- Can’t get custom user meta to show in header
- Best collection of code for your 'functions.php' file [closed]
- Tips for using WordPress as a CMS? [closed]
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- How to include a plugin’s php file to another plugin functions file [duplicate]
- if plugin is active? check if plugin is enabled or not?
- Disable author pages for specific users
- Set active theme via URL
- Seeking clarification on page request life-cycle
- How to assign user a role if none is present when logging in
- Migrating a File from Plugin to Theme and changing its path → instead create a REST endpoint
- How to find out what blocks are added by a plugin
- Translating plugin inside the theme [closed]
- How to prevent users to download videos from lms website?
- Dropdown menu on custom page with product to choose number of products per page
- Different UI in WordPress
- How to append to title via functions.php for auto-posting plugin [duplicate]
- Bootstrap Drop Down menu is not working
- How to change constants in WordPress wp-config.php programmatically?
- Override Plugin Script Fucnction in WordPress
- Child Pages Short Code plug-in and hover capabilities?
- How to call WordPress function other files
- How to create an option page for this simple plugin
- What is @Action in WordPress?
- Where are theme codes located for WordPress?
- using do_shortcode
- WordPress checkbox and Illegal string offset
- How to get menu location in wp_update_nav_menu hook
- Undefined index: action plugin problem
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- Adding class to last list item? Not WP generated
- Which wordpress theme is compatible Optima Express theme (real estate inventory) plugin?
- How to Include File from Plugins into Template?
- How to execute plugin and theme updates from a web hook / endpoint?
- wp_enqueue_scripts
- Licensing options for WordPress Plugins
- Changing plugin options from theme functions file?
- Extending a theme: build new features as plugin or core modules?
- Expected ‘add_filter’ (T_STRING)
- Is there a Image Gallery which will load all my posted Images like twitter’s image grid?
- Adding a pagenavi to function for displaying bookmarks
- How do I work with the SlideDeck plug-in?
- “User need to be logged in in order to make a booking” issue
- Custom Plugin scripts from admin working in frontend
- Error Metabox Warning: call_user_func() expects parameter 1 to be a valid callback
- Replace the_content with ACF Flexible Content via function
- Scrape key check failed. Please try again
- Disable WordPress Theme Browser and Plugin Browser
- Sold out Label for variable products which are partially sold out
- Create automatic latest version link
- How to Access a file that is inside a plugin’s dir from the theme’s `functions.php` file
- Create category for each user
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- dokan edit functionality
- how to split and upload a theme on wordpress?
- Cannot pass value variable to WP AJAX functions
- Sharing varible between two add_actions
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- post id or permalink auto-incrementing number and reset everyday
- how to add navigation icons in specific template?
- Get a Taxonomy values in an array
- How to link file or image from wordpress plugin dir to theme by using themes function.php, is it possible?
- Why isn’t my plugin seeing other classes?
- Theme styling for plugins
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- Creating themes using the one Plugin (Toolkit)
- jquery-issue: cannot load the basic jquery
- Template from scratch: Sidebars not showing widget
- Contact Form 7: custom validation [closed]
- functions.php conditional output for a single plugin
- Single dash converted to double dash
- Site is setup statically – how to make it content managable?
- How to declare this function correctly?
- Javascript as Jquery Function Call?
- Can’t modify plugin function
- How to escape html code?
- Elementor with system colors instead of kit colors [closed]
- How to Add Extra Text In WordPress Title Before Post Publish
- Issue with customizer and widget page
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- WordPress Convert queries to slashes using function.php