Save Post To Show Image
-
We are updating the fifu_image_url custom field programatically, however the image does not show on the product page unless we save the post manually.
-
Hi, @repupress.
We are updating the fifu_image_url custom field programatically
Are you using REST API or did you write your own script?
We used the WordPress API update_post_meta($post_id, ‘fifu_image_url, $image_url);
The image shows on the product edit page but does not show on the front end until save post is called. We are using it for WooCommerce product pages.
Hi, @repupress.
Please access Settings > Help > Support > data button. Click on that, copy and send me the data.
Hi, we are facing the exact same problem. We are using
update_post_meta($postid, 'fifu_image_url', $url)
but the featured image does not show up until we update the post manually. May we know how to go about solving this?This is our data
Featured Image from URL:3.1.1;
WordPress:5.4.2;
Site:https://fakect.com;
Theme:Maxwell Child;
PHP:7.3.14;
WooCommerce:;
Pages:13;
Posts:8;
Products:;
Images without Dimensions:;
URLs with Metadata:4;
URLs:7;
php-curl:yes;
Plugins:
– Akismet Anti-Spam (akismet)
– All-in-One WP Migration (all-in-one-wp-migration)
– All In One SEO Pack (all-in-one-seo-pack)
– AMP (amp)
– AWS for WordPress (amazonpolly)
– Code Snippets (code-snippets)
– Cronjob Scheduler (cronjob-scheduler)
– Featured Image from URL (featured-image-from-url)
– Google Analytics for WordPress by MonsterInsights (google-analytics-for-wordpress)
– Gravity Forms (gravityforms)
– Hello Dolly ()
– Jetpack by WordPress.com (jetpack)
– Lazy Social Comments (lazy-facebook-comments)
– Maxwell Pro (maxwell-pro)
– Members (members)
– Nextend Social Login (nextend-facebook-connect)
– Pods – Custom Content Types and Fields (pods)
– Pods Gravity Forms Add-On (pods-gravity-forms)
– Posts Table Pro (posts-table-pro)
– Simple Tags (simpletags)
– WP Mail SMTP (wp-mail-smtp);
Active Plugins:
– gravityforms
– amazon-polly
– code-snippets
– cronjob-scheduler
– featured-image-from-url
– hello.php
– lazy-facebook-comments
– maxwell-pro
– members
– nextend-facebook-connect
– pods-gravity-forms
– pods
– posts-table-pro
– simple-tags
– wp-mail-smtp;
fifu_auto_alt:toggleon;
fifu_class:toggleoff;
fifu_clean_dimensions_all:toggleoff;
fifu_column_height:64;
fifu_confirm_delete_all:toggleoff;
fifu_confirm_delete_all_time:;
fifu_content:toggleon;
fifu_content_page:toggleoff;
fifu_css:;
fifu_data_clean:toggleoff;
fifu_default_url:;
fifu_dynamic_alt:toggleoff;
fifu_enable_default_url:toggleoff;
fifu_fake:toggleon;
fifu_get_first:toggleoff;
fifu_grid_category:toggleoff;
fifu_hide_cpt:toggleoff;
fifu_hide_page:toggleoff;
fifu_hide_post:toggleoff;
fifu_image_height_arch:;
fifu_image_height_cart:;
fifu_image_height_ctgr:;
fifu_image_height_home:;
fifu_image_height_page:;
fifu_image_height_post:;
fifu_image_height_prod:;
fifu_image_height_shop:;
fifu_image_width_arch:;
fifu_image_width_cart:;
fifu_image_width_ctgr:;
fifu_image_width_home:;
fifu_image_width_page:;
fifu_image_width_post:;
fifu_image_width_prod:;
fifu_image_width_shop:;
fifu_jquery:toggleoff;
fifu_lazy:toggleoff;
fifu_media_library:toggleoff;
fifu_original:toggleoff;
fifu_ovw_first:toggleoff;
fifu_parameters:toggleoff;
fifu_pop_first:toggleoff;
fifu_query_strings:toggleoff;
fifu_run_delete_all:toggleoff;
fifu_run_delete_all_time:;
fifu_save_dimensions:toggleoff;
fifu_save_dimensions_all:toggleoff;
fifu_save_dimensions_redirect:toggleoff;
fifu_social:toggleon;
fifu_social_image_only:toggleoff;
fifu_spinner_db:100;
fifu_spinner_nth:1;
fifu_wc_lbox:toggleon;
fifu_wc_zoom:toggleon;
Image:
| https://coconuts.co/wp-content/uploads/2020/06/beerguy3.jpg
|__ https://fakect.com/item/bored-expat-reconnects-patrons-to-singapores-shuttered-bars-coconuts-singapore/
| https://coconuts.co/wp-content/uploads/2020/06/101544807_948628145590990_5534007584995934208_o.jpg
|__ https://fakect.com/item/shake-shack-iii-nyc-burger-chain-coming-to-orchard-road-coconuts-singapore/
| https://coconuts.co/wp-content/uploads/2020/06/101544807_948628145590990_5534007584995934208_o-960×540.jpg
|__ https://fakect.com/item/shake-shack-iii-nyc-burger-chain-coming-to-orchard-road-coconuts-singapore-2/;
Video:;
Slider:;
Shortcode:;
REST Routes:
– https://fakect.com/wp-json/:PHP;
– https://fakect.com/wp-json/:JSHi, @sanchari9971.
“fifu_image_url” is not the only field necessary. More registers need to be created in order to show the external featured image.
As described in the plugin settings,
You can set external featured images using custom fields. The main one is fifu_image_url. However the REST API is only supported by FIFU Premium. For nonstandard automation, just enable Schedule Metadata Generation, at Admin tab (no additional code required).
In the version 1 “fifu_image_url” used to be the only field necessary. But there were serious compatibility problems with themes and plugins.
- The topic ‘Save Post To Show Image’ is closed to new replies.