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
- Custom Post Type Templates from Plugin Folder?
- Manually set global $post vars with an ID, in order to use template tags
- How to not allow users to create new tags, but allow to them to use existing ones
- Limit access to posts/pages by user roles
- Plugin (or Theme) containing its own Plugins?
- Remove Google Fonts Which Are (Probably) Added By Plugins
- Common functionality between my own plugins
- Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations
- Editor access to plugin settings
- Saving Plugin settings to the database
- Shortcode display outside the div
- Custom Widget outputs the input but doesn’t save anything inside the textarea
- Why users disable the WordPress update?
- I can’t upload a new wordpress theme from a zipped file
- Get list of sites that uses specific plugin or theme
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- Woocommerce sidebar not loading in theme
- Include Max mega menu Plugin into theme
- Where to place custom functions?
- How to remove all javascript in a theme wordpress?
- wordpress theme backend admin only
- Deactivate Plugin on Theme Switch
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]
- AJAX button run function
- How to get current post user id
- Re-naming a theme/child theme whilst maintaining updates
- Unable to upload wordpress plugins
- The problem with WordPress Importer
- How to disable CSS rule in Twentythirteen style.css?
- Display post lists in 2nd paragraph
- How to display custom sidebar in wordpress 5.5.2
- creating html reusable blocks via shortcodes
- Replacing a plugin function with a custom renamed function doesn’t work
- Linux Permissions and Ownership for WordPress
- Homemade plugin while using Themify Ultra
- Disqus deleted comments are syncing with wordpress but active comments do not
- Theme/Plugin installation through url on button click
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- How can I list all installed plugins/themes/versions from CLI/API?
- Why does my file_exist check fail?
- Return multiple values in a shortcode attribute
- get specific value of a array | PHP
- Is it possible not to load theme on a specific page in wordpress?
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- Blocking Plugin Css to load custom in template directory
- Different registration form for different roles
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- Display WordPress comments before the plugins?
- add_rewrite_rule to load different page, without changing URL in browser
- Replace old theme that understand old css (vcex_icon_box css_animation)
- custom fields not displaying on wordpress site
- Overriding a function in a WordPress plugin
- Precheck fields when I add a new post
- How to get a post views count using ‘WordPress popular posts’ plugin
- Get Shortcode output to database for static post_content
- How to prevent redoing get_posts queries and make results available to other scripts?
- Change custom rewrite rule when permalink is updated/changed
- In the WordPress API is there a way to set the width of the post/page container
- wp_login_form() ignoring login_form action hook
- How to fix On “An unexpected error occurred” message when I click on Add new theme or plugin?
- Images is not showing after migration
- Create csv file in plugin
- Child Theme Changes Are Not Reflecting In Parent Theme
- Input gets deleted/overwritten after changing to different Admin Menu
- Theme specific plugin, how?
- How do add_action and WP_Query
- Theme causing SSL break on chrome
- Override the plugin class and function
- Activate and deactivate two plugins automatically at certain hours
- How to disable plugin capability : “create new category”
- Option value not getting updated until page refresh in WordPress
- How to create an Info Box on WordPress [closed]
- WordPress Custom Page Blog Template Pagination Problem (Pagination Not Displaying)
- How to make content as required in custom post type?
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Any plugin installation and update overwrite current theme
- Problem on a wordpress website with a plugin [closed]
- stop resize button for wordpress media
- Mixed results with is_page() WordPress function, when using $this, or self
- Add new Plugin or Delete option Not Showing and Also Theme delete option not showing