- NewspaperCustom Fields Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a form contact page
- NewspaperUsing the Theme Translations with WPML
I followed instruction on this page.
https://www.advancedcustomfields.com/resources/gallery/
i want to add code written in this documentation in single post template so it can show images in post.
I attempted to find my previous post with the same title but it doesn’t appear to be archived, so… here we go again.
I am using a child-theme of Newspaper
I do not have any alterations to the theme. I use the child theme merely as a good practices measure.
Newspaper theme is set to auto update.
Every time a new version updates the tag-div plugins uninstall and a majority of previous set settings in the theme panel revert to the defaults, such as logos, template thumbnail sizes, choice of headers, and more that I cannot remember but, I’ll make a list as I now have to once again go into the theme panel and change them.
Also I have to reactivate the theme with my purchase code every update as well.
I find this highly annoying, time-consuming and generally a pain in the ass.
Here is a printout of the WPeMatico status report of the current setup, including server information, plug-ins, etc…
### Begin Debug Info ###
— Server Environment
Hosting Provider: DBH: localhost, SRV: wildsage.us
WebServer Info: Apache
MySQL Version: 5.6.41
PHP Version: 7.4.29
Disk Total Space: 1.48 TB
Disk Free Space: 1.25 TB
— Required Apache Mods
Mod Rewrite: Enabled
Mod Mime: Enabled
Mod Deflate: Disabled
— PHP Environment
Post Max Size: 260M
Max Input Vars: 3000
PHP Time Limit: 300
PHP Memory Limit: 512 MB
Allow URL fopen: On
ini_set: On
Disabled Functions:
Display Errors: On (1)
error_reporting levels: E_ERROR, E_WARNING, E_PARSE, , E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, , E_USER_ERROR, E_USER_WARNING, , , E_RECOVERABLE_ERROR, , ,
— PHP Extensions
cURL (php.net/curl): 7.81.0
ZipArchive: Enabled
DOMDocument: Enabled
GD Library: Enabled
XML (php.net/xml): Enabled, and sane
PCRE (php.net/pcre): Enabled
Zlib (php.net/zlib): Enabled
php.net/mbstring: Enabled
iconv (php.net/iconv): Enabled
OpenSSL(php.net/openssl):Enabled
MCrypt (php.net/mcrypt): Disabled
— Session Configuration
Session: Enabled
Session Name: SSESS6f380fa6739ae0d497146b3199b96450
Cookie Path: /
Save Path: /var/cpanel/php/sessions/ea-php74
Use Cookies: On
Use Only Cookies: On
— WordPress Environment
— User Browser
Platform: Windows
Browser Name: Chrome
Browser Version: 101.0.4951.64
User Agent String: Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64) AppleWebKit/537.36 (KH
TML, like Gecko) Chrome/101.0.49
51.64 Safari/537.36
Home URL: https://wildsage.us
Site URL: https://wildsage.us
Version: 5.9.3
Multisite: No
Admin Email: admin@webdoghosting.net
Current User Email: sage_rebel@wildsage.us
— WordPress Configuration
Language WPLANG: en_US
Language Setting: Default
Permalink Structure: /index.php/%year%/%monthnum%/%day%/%postname%/
Active Theme: WildSage 10.3.1651792370
Show On Front: page
Page On Front: Home (#80241)
Page For Posts: Unset
Remote Get: wp_remote_get() works
Remote Post: wp_remote_post() works
Table Prefix: Length: 3 Status: Acceptable
Memory Limit: 256 MB
WP Max Upload Size: 260 MB
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled, spam, dp-rewrite-republish
FileSystem Method: direct
WP_DEBUG: Disabled
WP_DEBUG_LOG: Disabled
WP_DEBUG_DISPLAY: Enabled
DISABLE_WP_CRON: Not set
WP_CRON_LOCK_TIMEOUT: 60
ALTERNATE_WP_CRON: Not set
— Campaigns Infos
Total campaigns: 32
Campaign ID: 80461
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 3
Last Run: May 12, 2022 8:46 am
Next Run: May 13, 2022 8:45 am
Campaign ID: 96784
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 8:46 am
Next Run: May 13, 2022 8:45 am
Campaign ID: 84995
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 1:21 pm
Next Run: May 12, 2022 3:20 pm
Campaign ID: 83318
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 3:11 pm
Next Run: May 12, 2022 4:10 pm
Campaign ID: 84232
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 3:11 pm
Next Run: May 12, 2022 5:10 pm
Campaign ID: 88833
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 2:11 pm
Next Run: May 12, 2022 4:10 pm
Campaign ID: 96675
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 1:26 pm
Next Run: May 12, 2022 5:25 pm
Campaign ID: 106278
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 3:01 pm
Next Run: May 12, 2022 8:00 pm
Campaign ID: 107979
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 11:01 am
Next Run: May 12, 2022 4:00 pm
Campaign ID: 108047
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 3:01 pm
Next Run: May 12, 2022 8:00 pm
Campaign ID: 108050
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 11:21 am
Next Run: May 12, 2022 3:20 pm
Campaign ID: 108058
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 3:01 pm
Next Run: May 12, 2022 8:00 pm
Campaign ID: 67142
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 12:31 pm
Next Run: May 12, 2022 4:30 pm
Campaign ID: 68432
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 3
Max items: 1
Last Run: May 12, 2022 5:26 am
Next Run: May 13, 2022 5:25 am
Campaign ID: 83826
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 2:36 pm
Next Run: May 12, 2022 4:35 pm
Campaign ID: 108933
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 2:36 pm
Next Run: May 12, 2022 4:35 pm
Campaign ID: 52644
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 8, 2022 2:26 pm
Next Run: May 13, 2022 2:25 pm
Campaign ID: 57034
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 10, 2022 3:26 am
Next Run: May 17, 2022 3:25 am
Campaign ID: 108957
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 2:26 pm
Next Run: May 13, 2022 2:25 pm
Campaign ID: 10902
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 3
Max items: 1
Last Run: May 12, 2022 4:11 am
Next Run: May 12, 2022 4:10 pm
Campaign ID: 76442
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 12:56 pm
Next Run: May 12, 2022 3:55 pm
Campaign ID: 76443
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 1:41 pm
Next Run: May 12, 2022 4:40 pm
Campaign ID: 18506
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 3, 2022 3:11 am
Next Run: May 17, 2022 3:10 am
Campaign ID: 4098
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 2
Max items: 1
Last Run: May 12, 2022 9:51 am
Next Run: May 12, 2022 3:50 pm
Campaign ID: 17201
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 7:51 am
Next Run: May 12, 2022 7:50 pm
Campaign ID: 19273
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 12, 2022 4:36 am
Next Run: May 12, 2022 3:35 pm
Campaign ID: 489
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 3
Max items: 1
Last Run: May 12, 2022 12:11 pm
Next Run: May 12, 2022 5:10 pm
Campaign ID: 72425
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 2
Max items: 1
Last Run: May 11, 2022 5:01 pm
Next Run: May 12, 2022 5:00 pm
Campaign ID: 72426
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 1
Last Run: May 11, 2022 5:06 pm
Next Run: May 12, 2022 5:05 pm
Campaign ID: 72427
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 2
Max items: 1
Last Run: May 12, 2022 6:51 am
Next Run: May 12, 2022 6:50 pm
Campaign ID: 94736
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 1
Max items: 2
Last Run: May 12, 2022 4:51 am
Next Run: May 12, 2022 4:50 pm
Campaign ID: 105759
Campaign type: feed
Publish as: post
Campaign Status: publish
Number of feeds: 3
Max items: 1
Last Run: May 11, 2022 8:41 pm
Next Run: May 14, 2022 2:40 am
— WPeMatico Configuration
Version: 2.6.15
mailmethod: mail
mailsndemail: noreply@wildsage.us
mailsndname: WPeMatico Log
disabledashboard:
roles_widget: Array
(
[administrator] => administrator
[editor] => editor
[author] => author
)
dontruncron:
enable_alternate_wp_cron:
disablewpcron:
set_cron_code:
cron_code:
logexternalcron:
disable_credits: 1
disablecheckfeeds:
enabledelhash: 1
enableseelog: 1
enablerewrite: 1
enableword2cats: 1
customupload: 1
imgattach: 1
imgcache: 1
fifu:
gralnolinkimg:
image_srcset:
audio_attach: 1
audio_cache: 1
gralnolink_audio:
customupload_audios: 1
audio_allowed_ext: mp3,m4a,m4b,aac,ra,ram,wav,ogg,oga,flac,mid,midi,wma,wax,mka
video_attach: 1
video_cache: 1
gralnolink_video: 1
customupload_videos: 1
video_allowed_ext: asf,asx,wmv,wmx,wm,avi,divx,flv,mov,qt,mpeg,mpg,mpe,mp4,m4v,ogv,webm,mkv,3gp,3gpp,3g2,3gp2
images_allowed_ext: jpg,jpeg,jpe,gif,png,bmp,tiff,tif,webp,ico,heic
featuredimg:
rmfeaturedimg:
force_mysimplepie:
set_stupidly_fast:
simplepie_strip_htmltags: 1
simplepie_strip_attributes: 1
strip_htmltags: base,blink,body,doctype,font,form,frame,frameset,html,input,marquee,meta,noscript,object,param,script,style,phoenix-ad-outstream
strip_htmlattr: bgsound,class,expr,id,style,onclick,onerror,onfinish,onmouseover,onmouseout,onfocus,onblur,lowsrc,dynsrc
woutfilter:
campaign_timeout: 300
throttle: 4
allowduplicates:
allowduptitle:
allowduphash:
jumpduplicates:
disableccf:
add_extra_duplicate_filter_meta_source: 1
nonstatic: 1
emptytrashbutton: 1
cpt_trashbutton: Array
(
[post] => 1
[page] => 1
[attachment] => 1
[customize_changeset] => 1
[oembed_cache] => 1
[user_request] => 1
[wp_block] => 1
[wp_template] => 1
[wp_template_part] => 1
[wp_global_styles] => 1
[wp_navigation] => 1
[jb_store_css] => 1
[acf-field-group] => 1
[acf-field] => 1
[wpematico] => 1
[make-me-feed] => 1
)
campaign_in_postslist: 1
column_campaign_pos: 2
disable_metaboxes_wpematico_posts:
disable_categories_description: 1
enable_xml_upload: 1
entity_decode_html: 1
disable_extensions_feed_page:
overwrite_audio: rename
clean_audios_urls: 1
rss_audio: 1
rss_audio_enclosure: 1
rss_audio_ifno: 1
strip_all_audios:
enable_audio_rename:
audio_rename: {slug}
audio_upload_ranges:
audio_upload_range_mb: 5
overwrite_video: rename
clean_videos_urls: 1
rss_video: 1
rss_video_enclosure: 1
rss_video_ifno: 1
strip_all_videos:
enable_video_rename:
video_rename: {slug}
video_upload_ranges: 1
video_upload_range_mb: 4
— WPeMatico Full Content Configuration
Version: 2.4
License Status: valid
License Expiration: 2023-02-09
— WPeMatico PROFESSIONAL Configuration
Version: 2.14
enablekwordf: 1
enablewcf:
enablecustomtitle: 1
enablefullcontent:
enableauthorxfeed:
enableimportfeed:
enablemultifeed: 1
enabletags: 1
all_badtags:
enablecfields: 1
enableimgfilter: 1
enableeximport: 1
enablepromenu: 1
enable_ramdom_words_rewrites:
end_of_the_line: 1
end_of_the_line_characters:
enable_custom_feed_tags: 1
enable_filter_per_author:
enable_word_to_taxonomy: 1
License Status: valid
License Expiration: 2023-02-09
— Must-Use Plugins (1)
Health Check Troubleshooting Mode: 1.7.2
— WordPress Active Plugins (38)
Native PHP Sessions for WordPress: 1.2.4
Advanced Custom Fields: 5.12.2
Autoremove Attachments: 1.3.1
Bulk Delete: 6.0.2
Child Theme Configurator: 2.5.9
Custom Post Type UI: 1.12.0
Yoast Duplicate Post: 4.4
Enable SVG, WebP, and ICO Upload: 1.0.1
Envato Market: 2.0.7
Everest Coming Soon Lite: 1.1.1
Featured Image from URL (FIFU) Premium: 5.6.3
Site Kit by Google: 1.74.0
Health Check & Troubleshooting: 1.4.5
Jetpack Boost: 1.4.2
Jetpack: 10.9
Really Simple SSL: 5.3.2
Regenerate Thumbnails: 3.1.5
Shortcodes Ultimate: 5.12.0
Easy Updates Manager: 9.0.12
tagDiv Cloud Library: 2.3 | built on 12.05.2022 9:11
tagDiv Composer: 3.4 | built on 12.05.2022 9:11
tagDiv Mobile Theme: 2.1 | built on 12.05.2022 9:11
tagDiv Social Counter: 5.1 | built on 12.05.2022 9:11
tagDiv Standard Pack: 1.5 | built on 12.05.2022 9:11
Envato Toolkit: 1.4
Unsplash: 1.0.1
UpdraftPlus – Backup/Restore: 1.22.12
Yoast SEO: 18.8
WP Crontrol: 1.12.1
WP-Optimize – Clean, Compress, Cache: 3.2.3
WPeCounter: 1.2
WPeMatico Custom Hooks: 1.2
WPeMatico: 2.6.15
WPeMatico Better Excerpts: 3.3.1
WPeMatico cats2tags: 2.3
WPeMatico Full Content: 2.4
Make Me Feed: 2.9
WPeMatico Professional: 2.14
— WordPress Inactive Plugins
— WordPress Cron Schedules
Next due: Schedule: Hook
May 12, 2022 10:21 pm: WPeMatico: wpematico_cron
May 12, 2022 10:22 pm: Every 5 minutes: jetpack_sync_full_cron
May 12, 2022 10:25 pm: Every 5 minutes: jetpack_sync_cron
May 12, 2022 10:30 pm: Once Hourly: jetpack_clean_nonces
May 12, 2022 10:34 pm: Once Hourly: wp_privacy_delete_old_export_files
May 13, 2022 12:20 am: Twice Daily: puc_cron_check_updates-fifu-premium
May 13, 2022 5:32 am: Twice Daily: td_instagram_cron_job
May 13, 2022 6:25 am: Sitemap Interval: jp_sitemap_cron_hook
May 13, 2022 6:28 am: Once Daily: wp_scheduled_auto_draft_delete
May 13, 2022 6:29 am: Once Daily: jetpack_v2_heartbeat
May 13, 2022 6:30 am: Once Daily: jp_purge_transients_cron
May 13, 2022 6:34 am: Twice Daily: wp_update_plugins
May 13, 2022 6:34 am: Twice Daily: wp_update_themes
May 13, 2022 6:34 am: Twice Daily: wp_version_check
May 13, 2022 6:35 am: Twice Daily: get_transient_features
May 13, 2022 6:35 am: Twice Daily: jetpack_waf_rules_update_cron
May 13, 2022 6:35 am: Twice Daily: googlesitekit_cron_update_remote_features
May 13, 2022 6:37 am: Twice Daily: wp_https_detection
May 13, 2022 12:49 pm: Once Daily: wpo_minify_purge_old_cache
May 13, 2022 12:49 pm: Once Daily: wpo_smush_clear_backup_images
May 13, 2022 1:01 pm: Once Daily: wpo_cron_event2
May 13, 2022 6:18 pm: Once Daily: recovery_mode_clean_expired_keys
May 13, 2022 6:34 pm: Once Daily: wp_scheduled_delete
May 13, 2022 6:34 pm: Once Daily: delete_expired_transients
May 13, 2022 6:35 pm: Once Daily: wpseo_permalink_structure_check
May 13, 2022 6:46 pm: Once Daily: wpseo-reindex
May 13, 2022 10:13 pm: Once Daily: tribe_common_log_cleanup
May 13, 2022 10:13 pm: Once Daily: tribe_daily_cron
May 15, 2022 6:01 am: Once Weekly: wpo_weekly_cron_tasks
May 16, 2022 10:59 pm: Once Weekly: wpseo_ryte_fetch
May 18, 2022 6:49 pm: Once Weekly: updraft_backup
May 18, 2022 6:49 pm: Once Weekly: updraft_backup_database
May 19, 2022 3:01 am: Once Weekly: health-check-scheduled-site-status-check
May 19, 2022 4:01 am: Once Weekly: wp_site_health_scheduled_check
— WordPress user Defined Constants
Array
(
[KB_IN_BYTES] => 1024
[MB_IN_BYTES] => 1048576
[GB_IN_BYTES] => 1073741824
[TB_IN_BYTES] => 1099511627776
[WP_MEMORY_LIMIT] => 256M
[WP_MAX_MEMORY_LIMIT] => 512M
[WP_CONTENT_DIR] => /home2/wildsage/public_html/wp-content
[WP_DEBUG] =>
[WP_DEBUG_DISPLAY] => 1
[WP_DEBUG_LOG] =>
[WP_CACHE] => 1
[SCRIPT_DEBUG] =>
[MEDIA_TRASH] =>
[SHORTINIT] =>
[MINUTE_IN_SECONDS] => 60
[HOUR_IN_SECONDS] => 3600
[DAY_IN_SECONDS] => 86400
[WEEK_IN_SECONDS] => 604800
[MONTH_IN_SECONDS] => 2592000
[YEAR_IN_SECONDS] => 31536000
[WP_CONTENT_URL] => https://wildsage.us/wp-content
[WP_PLUGIN_DIR] => /home2/wildsage/public_html/wp-content/plugins
[WP_PLUGIN_URL] => https://wildsage.us/wp-content/plugins
[PLUGINDIR] => wp-content/plugins
[WPMU_PLUGIN_DIR] => /home2/wildsage/public_html/wp-content/mu-plugins
[WPMU_PLUGIN_URL] => https://wildsage.us/wp-content/mu-plugins
[MUPLUGINDIR] => wp-content/mu-plugins
[FORCE_SSL_ADMIN] => 1
[FORCE_SSL_LOGIN] => undefined
[AUTOSAVE_INTERVAL] => 60
[EMPTY_TRASH_DAYS] => 30
[WP_POST_REVISIONS] => 1
[WP_CRON_LOCK_TIMEOUT] => 60
[TEMPLATEPATH] => /home2/wildsage/public_html/wp-content/themes/Newspaper
[STYLESHEETPATH] => /home2/wildsage/public_html/wp-content/themes/Newspaper-child
[WP_DEFAULT_THEME] => twentytwentytwo
[DISABLE_WP_CRON] => undefined
[ALTERNATE_WP_CRON] => undefined
[WPEMATICOHK_VER] => 1.2
[WPEMATICO_VERSION] => 2.6.15
[WPEMATICO_BASENAME] => wpematico/wpematico.php
[WPEMATICO_ROOTFILE] => /home2/wildsage/public_html/wp-content/plugins/wpematico/wpematico.php
[WPEMATICO_PLUGIN_URL] => https://wildsage.us/wp-content/plugins/wpematico/
[WPEMATICO_PLUGIN_DIR] => /home2/wildsage/public_html/wp-content/plugins/wpematico/
[WPEMATICO_CATS2TAGS_VERSION] => 2.3
[WPEMATICO_CATS2TAGS_STORE_URL] => https://etruel.com
[WPEMATICO_CATS2TAGS_ITEM_NAME] => WPeMatico cats2tags
[WPEMATICO_CATS2TAGS_ROOT_FILE] => /home2/wildsage/public_html/wp-content/plugins/wpematico_cats2tags/wpematico_cats2tags.php
[WPEMATICO_CATS2TAGS_PATH] => /home2/wildsage/public_html/wp-content/plugins/wpematico_cats2tags/
[WPEFULLCONTENT_REQ_WPEMATICO] => 2.6
[WPEMATICOPRO_VERSION] => 2.14
[WPEMATICOPRO_UPDATE_CAMPAIGNS] =>
[WPEMATICOHK_ROOT_FILE] => /home2/wildsage/public_html/wp-content/plugins/wpematico-custom-hooks/wpematico_custom-hooks.php
[WPEMATICOHK_DIR] => /home2/wildsage/public_html/wp-content/plugins/wpematico-custom-hooks/
[WPEMATICOHK_URL] => https://wildsage.us/wp-content/plugins/wpematico-custom-hooks/
[WPEMATICOHK_STORE_URL] => https://etruel.com
[WPEMATICOHK_ITEM_NAME] => wpematico-custom-hooks
[WPEM_ADMIN_DIR] => /home2/wildsage/public_html/wp-admin
)
### End Debug Info ###
Hi Calin,
I have done some more testing, here is what I did and what I found.
Test Environment – new WordPress install
Theme & Plugin
- TagDiv Newspaper theme 11
- Advanced Custom Fields
– to add two text fields to the posts “source_domain” & “source_link” both text fields. - FakerPress – to add test posts.
Test process
- used FakerPress to create 5 test posts. These posts do not contain any data in the ACF fields.added ACF field data to 2 posts via WP post editor.
- added ACF field data to the remaining 3 posts directly to the WP Database _postmeta table using phpMyAdmin.checked all posts via WP post editor to confirm ACF field data was correctly inserted.
- updated 1 of the 3 direct entry posts using WP post editor.
Conclusion.
Viewing the posts using the TagDiv Newspaper theme 11 and displaying the ACF field data, in the post template as as described using [acf field=”source_domain”] I saw:
- first 2 posts, created using the WP post editor – displayed the ACF field data correctly.
- next 2 posts, where ACF field data were entered directly into the database did NOT show any ACF field data.
- last post where ACF field data was entered directly into the database, then post updated using WP post editor- displayed the ACF field data correctly.
So it seems that the theme will only show the ACF field data if the post has been entered or updated via the WP post editor. This is very frustrating as it means that other plugins that enter data directly into the database do not work as intended.
Additionally, when tested with Elementor and a basic WP theme using PHP it works fine.
Have you placed a hook on the WP post editor, to update a cache or something similar?
Help!
Hi,
I made some tests but I used only the Advanced Custom Fields, but today I will test with WordPress Automatic Plugin too and I will let you know the results.
But if you only want to display the source of the post and this to be clickable, then I think that you can use the theme options for posts -> https://i.imgur.com/IT6TNrA.png
For Read more if the code is set like this
https://i.imgur.com/gcVBWlS.png
then should be working and the Read more should be clickable if there is assigned the link.
Thank you!
Hello Calin,
Thanks for your response. Let me explain my setup.
I am using these:
- WordPress Automatic Plugin – to get RSS news feeds and post them on my site.
- Advanced Custom Fields – to add 2 fields to the posts “source_domain” & “source_link”
- TagDiv Newspaper theme 11 – to display everything.
So after more testing, I have discovered 2 issues.
When I edit a post, I can see the correct data being put into the Custom fields by Automatic.
See these screenshots of the ACF setup, Automatic setup, and Edit Post page.
- ACF setup and shortcode names https://imgur.com/a/Bu7QKdY
- Automatic plugin settings to transfer values to Custom Fields https://imgur.com/a/IGq3XhI
- Custom fields, populated by automatic, visible on “Edit Post” page https://imgur.com/a/derrTxm
By messing around I have discovered that the text in the source_domain field will only display if I manually edit it using the post editor. I only have to make a small change like deleting and re-entering the last ‘m’ of the source domain.
See these screenshot.
- Post without manual interventions Custom field values do not show. https://imgur.com/a/amzHeBr
- Post if source_domain Custom field is entered or changed manually then they show.
https://imgur.com/a/Ql4njFm
Can you replicate this bug? Any ideas on how to fix this?
Also, the “source_link” data only show when the “source_domain” is either empty or “cleaned” as described above. Furthermore, I can display the “source_link” data but I cannot generate a link.
This is the code I’m using to create a link
< #a# href=" [acf field="source_link"] "> Read more
Thank you
Hi EamonnO,
Can you please let us know how you set the ACF and how you set the shortcode in single post template.
Did you take the right parameter for shortcode ? -> https://i.imgur.com/Zls1gii.png -> https://www.advancedcustomfields.com/resources/shortcode/
Thank you!
We have added 2 custom fields to our post posts using ACF. We are now trying to display them on the post pages using “Single External Shortcode” shown by Bettina in the post below, but the data is not showing.
Single External Shortcode - content
[acf field="source_domain"]
Is there something else that is needed to do to activate the shortcode?
Hi,
First of all thanks for make such a great theme.
We are looking to integrated ACF to display some contact information fields (phone, email and whatsapp).
When we use the example in this link we can see the data, but we need some assistance with the proper formatting.
https://forum.tagdiv.com/topic/display-advanced-custom-fields-on-post-pages/
In our case we are trying to add the extra contact field data to our travel site, so we can also add post as listings for business when needed (just like one of the NYC sites).
This is our structure:https://tinyurl.com/y78bj2mh
And our fields are:
—
Telefoon 1: [acf field=”telefoon_1″]<br>
Telefoon 2: [acf field=”telefoon_2″]<br>
Telefoon 3: [acf field=”telefoon_3″]<br>
Telefoon 4: [acf field=”telefoon_4″]<br>
Telefoon 5: [acf field=”telefoon_5″]<br>
WhatsApp: [acf field=”whatsapp”]<br>
E-mail: [acf field=”e-mail”]
We need to only show the labels when the fields are populated and have to display the fields next to each other without the <br> (otherwise when empty other pages will get spaces.
We are also looking to like the whatsapp to an url (https://wa.me/field) to be clickable and also the email fields should be to mailto:
Is there any way you can help achieve this, otherwise we don’t see the theme working for us 🙁
P.s.: we tried some php in the shortcode field, but this isn’t working.
https://www.advancedcustomfields.com/resources/hiding-empty-fields/
Regards,
Robert
Hello @expos!
Please check this topic where I explained how to integrate an ACF field in a cloud post/page: https://forum.tagdiv.com/topic/display-advanced-custom-fields-on-post-pages/
Hope that helps you!
Thank you!
Hi, I need to show ACF plugin fields only in some single posts (with a specific category). I try to put my code into personal-single.php template but I can’t see the sidebar in the front. I don’t have a child theme. Can you indicate me a guide for doing this in the simplest way? thanks
Hi,
How is it possible to define default Feature values (like in the screenshot category 1, category 2, category 3: https://i2.paste.pics/FP7GA.png) which are profiled for each new post? Do I need to connect this with advanced custom fields?
Kr
We are using ACF (Advanced Custom Field) on our old site and have a field created for subtitles. We would like to know if there is a way to import the ACF field into the TD Theme Subtitles field so this can be used to display on a post.
Hello,
my website is https://www.lavis.at
(I switched Maintenance Mode on to hide the issue)
The page shows the source code right now which is super weird.
I do not know what caused that but ask you for urgent help, thank you!
This is what the website currently shows:
what my website displays right now
Things that I recently changed:
– updated from PHP 7.4 tpo PHP 8.0
– updated all Plug Ins ( not sure which ones updated)
Plug Ins I have:
Advanced Custom Fields
Contact Form 7
Cookie Notice & Compliance for GDPR / CCPA
Google Tag Manager for WordPress
Maintenance
ManageWP – Worker
MaxButtons
Rank Math SEO
WP Super Cache
Yoast Duplicate Post
thank you! urgent help appreciated
Hello,
I wanna use the plugin https://www.advancedcustomfields.com/ to create meta fields for my Blogposts. The meta fields should be inserted into one template. Then I can fill out all meta fields for all of my 300 blog posts and I’m able to change the blog layout without clicking into every single post to import a new template.
And here is the problem:
My first idea was to create a “Cloud Template”. After working with it I found out that the templates don’t fit my needs. So I decided to create my own hard-coded post template to fit my needs perfectly.
I already duplicated the “loop-single-13.php” and “single_template_13.php”, changed all require_once(‘loop-single-13.php’); functions and also added a “single_template_14.png” as an image.
But somehow the new Post Template doesn’t appear in the backend of WordPress. What did I forget?
I hope somebody can help me.
Kind regards
Elian
Hi Vlad,
the Plugin provides shortcodes (https://www.advancedcustomfields.com/resources/shortcode/)
But how I would loop thru the posts for example that I can show for each Post a card with thumbnail and office name on an overview page?
Thanks, Dennis
Hi Vlad,
I was trying with the plugin custom-post-type-ui and advanced custom fields to generate some generic post template for some custom post types.
As an example we would like show on the frontend an overview of different doctors offices and they should have a detail page. Every office has custom fields like opening hours, address, name of doctors, thumbnail image,…
For this I would like to build a frontend template in tagdiv to show the data on the website.
Thanks, Dennis
Composer does not work, can’t click on elements, and I get this message;
Errors at columns elements: 18(models) : 16(dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)
https://www.dropbox.com/s/wyxaius71nfh2xt/Screenshot%202021-05-06%20at%2013.18.17.png?dl=0
I have these plugins all active:
Advanced Custom Fields
Akismet Anti-Spam
AMP
bunny.net
Contact Form 7
Cookie Notice & Compliance for GDPR / CCPA
Featured Images in RSS for Mailchimp & More
Insert Headers and Footers
MC4WP: Mailchimp for WordPress
Rank Math SEO
roll call (custom plugin)
Site Kit by Google
Smush Pro
TagDiv Cloud Library
tagDiv Composer 2.8
tagDiv Mobile Theme
tagDiv Social Counter
tagDiv Standard Pack
Thrive Leads
Thrive Product Manager
UpdraftPlus – Backup/Restore
Velvet Blues Update URLs
WP File Manager
WP Rocket
WPMU DEV Dashboard
Yoast Duplicate Post
I’ve been using Advanced Custom Fields for a long time and one of the fields is a “subtitle”. Now I’m trying to rely as most as possible on Newspaper features, so I would need to copy all posts (almost one thousand) “subtitle” values to td_subtitle.
I was trying to use SQL, but if I’m not wrong, seems like td_subtitle field is inside an array that is a meta_key of td_post_theme_settings – and I can’t find a way to SQL deal with arrays.
Is there a way to achieve it? Move all my old subtitle values to the Newspaper “td_subtitle” field?
Thank you very much.
I am currently working on a news aggregator website.I’m utilizing the archive to display all my posts in a feed. In addition to including the category and date of the post I also need to have the source listed. I have tried using advanced custom fields and adding code to the archive loop, but have not had much success. What can I do to add new metadata to the archive page? Here is a link to the site: https://skunkbits.com
I need the source to be inline with the date and category.
Hi marcorroma, unfortunately, for the moment we didn’t test the https://it.wordpress.org/plugins/advanced-post-queries/ with our theme, therefor we do not know if this is working correctly or not with our theme.
As for “Advanced Custom Fields” as I know is a plugin that require to add some extra parameters in theme files, as I know this is working with standard templates from our theme, but is a little complicate with cloud templates and one problem is when you update the theme, all the settings made in theme and plugin files will be lost if those files that were edited can not be set in the child theme.
Please take a look over the next useful guides from here -> https://forum.tagdiv.com/topic/add-additional-fields-to-posts-in-category-grid/ -> https://forum.tagdiv.com/topic/add-custom-field-to-post/ to know how you can configure your Advanced Custom Fields.
Thank you!
Hi,
is it possible to use tagDiv post blocks with query based on “Advanced Custom Fields”?
Like, for example, this plugin does with Elementor:
https://it.wordpress.org/plugins/advanced-post-queries/
Thanks for support
Hello !
Unfortunately, Advanced Custom Fields plugin is untested with our theme, therefore we can not say if this will work properly or not with our theme. Also most of these plugins can work with standard styles/templates but is very possible to not work with cloud templates.
We are able to offer you a refund if you make a request here: https://themeforest.net/refund_requests/new
We are sorry for the inconvenience !
Thank you !
Does the theme support ACF Advanced Custom Fields or did we just purchased a theme we cannot use?
Hi,
Unfortunately, Advanced Custom Fields plugin is untested with our theme, therefore we can not say if this will work properly or not with our theme. Also most of these plugins can work with standard styles/templates but is very possible to not work with cloud templates.
Please provide some more details and screenshot about the problem you are facing, now I do not want to say that I will be able to help you, but maybe I can find the problem.
Thank you for your understanding!
Dear Sir,
I am having conflict with Newspaper theme conflict with “Advanced Custom Fields” or “Advanced Custom Fields PRO” Plugin.
When I switch theme to default WordPress theme, Plugin works normally. But when I use Newspaper theme, It conflicts and not working.
Please Help me out in these