includes/admin/class-forms.php
in which, if the type of a field does not have an accompanying 'render_'. $data['type']
method (e.g. render_media( $field_data)
. I would like to be able to do this within the front end of the site.
The use case I have is as follows, I have overridden the job-submission.php
template within my theme, in which I would like to add a new file upload (which would want to be either a .pdf
or .docx
format). For this I would add something like the following to my $job_details_fields
array.Plain Text
array( 'type' => 'media', 'label' => __( 'Job Application Form', 'jobboardwp' ), 'id' => 'application_form', 'action' => 'upload-application-form', 'value' => $application_form,),
This would then be accompanied by an action added to functions.php
to leverage functionality similar to the below render_field_by_hook($data)
found within includes/admin/class-forms.php
except this would be part of includes/frontend/class-forms.php
.Plain Text
public function render_field_by_hook( $data ) {??????/**?????? * Filters the custom field content.?????? *?????? * Note: You could use this hook for getting rendered your custom field in wp-admin Forms.?????? *?????? * @since 1.1.0?????? * @hook jb_render_field_type_{$field_type}?????? *?????? * @param {string} $content Field content. It's '' by default.?????? * @param {array} $data Field data.?????? * @param {array} $form_data Admin form data.?????? * @param {object} $form Admin form class (\jb\admin\Forms) instance.?????? *?????? * @return {string} Rendered custom field content.?????? */??????return apply_filters( 'jb_render_field_type_' . $data['type'], '', $data, $this->form_data, $this );????}
Is there something within the plugin that already provides this extensibility that I have missed? if not, is there a justification for this?
]]>As long as this forceful replacement is happening, we will not be able to change much from our end. The developers have advised to check out if the plugin has an option to correctly change the template.”
From what I gather from that, the MAS Company templates are either not standard CPT’s or are implementing functionality that forces the original templates to be used.
I do already know that the Company Archive settings requires that we declare compatibility in the child theme’s functions.php file and I have successfully implemented that already. It would be great to learn how to now override MAS Company templates, and the single-company.php and archive-company.php templates in particular with php templates or FSE themes – and especially with Blocksy’s content blocks (typically if they are standard CPT’s that can be overridden with php templates than Blocksy Content Blocks should work too).
]]>minimum/woocommerce/myaccount/form-login.php version 4.1.0 is out of date. The core version is 6.0.0
This is strange as if I open this very file in the path /themes/minimum/woocommerce/myaccount/form-login.php
it says:
* @version 6.0.0
just as the original.
I use a child theme of Minimum. I don’t see this specific warning in the main server with WC 6.8.2. Naturally, I’ve cleaned out caches and also restarted the server.
Any suggestions welcome.
### WordPress Environment ###
WordPress address (URL): https://localhost
Site address (URL): https://localhost
WC Version: 6.9.2
REST API Version: 6.9.2
WC Blocks Version: 8.3.2
Action Scheduler Version: 3.4.0
Log Directory Writable:
WP Version: 6.0.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode:
WP Cron:
Language: sv_SE
External object cache: –
### Server Environment ###
Server Info: Apache/2.4.46 (Unix) OpenSSL/1.0.2u PHP/8.0.8 mod_wsgi/3.5 Python/2.7.18 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1
PHP Version: 8.0.8
PHP Post Max Size: 0 B
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.0.2u
SUHOSIN Installed: –
MySQL Version: 5.7.34
Max Upload Size: 0 B
Default Timezone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Multibyte String:
Remote Post:
Remote Get:
### Database ###
WC Database Version: 6.9.2
WC Database Prefix: wp_
Total Database Size: 42.18MB
Database Data Size: 31.65MB
Database Index Size: 10.53MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.13MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.50MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.23MB + Index: 0.22MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.19MB + Index: 0.16MB + Engine InnoDB
wp_burst_goals: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_burst_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_burst_statistics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_clean_up_optimizer: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
wp_clean_up_optimizer_meta: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_commentmeta: Data: 0.08MB + Index: 0.13MB + Engine InnoDB
wp_comments: Data: 0.34MB + Index: 0.38MB + Engine InnoDB
wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_eum_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 3.41MB + Index: 0.13MB + Engine InnoDB
wp_postmeta: Data: 5.52MB + Index: 4.03MB + Engine InnoDB
wp_postmeta_copy: Data: 3.52MB + Index: 3.03MB + Engine InnoDB
wp_posts: Data: 2.52MB + Index: 0.45MB + Engine InnoDB
wp_revslider_css: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
wp_revslider_css_bkp: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
wp_revslider_layer_animations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_rsssl_csp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_say_what_strings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_trp_gettext_de_de_formal: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woel_woocommerce_order_emails_log: Data: 8.02MB + Index: 0.00MB + Engine InnoDB
wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
### Post Type Counts ###
attachment: 1114
custom_css: 1
et_pb_layout: 32
global_product_addon: 1
nav_menu_item: 13
page: 27
post: 98
product: 15
revision: 47
shop_order: 588
wpchtmlp_page: 1
wpforms: 1
### Security ###
Secure connection (HTTPS):
Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors:
### Active Plugins (26) ###
Query Monitor: by John Blackbourn – 3.10.1
Burst Statistics – Privacy-Friendly Analytics for WordPress: by Really Simple Plugins – 1.2.0
Classic Editor: by WordPress Contributors – 1.6.2
Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.3.2.1
Complianz – Terms and Conditions: by Really Simple Plugins – 1.1.2
Duplicator: by Snap Creek – 1.5.0
Duplicator: by Snap Creek – 1.5.0
Envato Market: by Envato – 2.0.7
Facebook for WooCommerce: by Facebook – 2.6.23
Gmail SMTP: by naa986 – 1.2.3.2
Health Check & Troubleshooting: by www.remarpro.com-gemenskapen – 1.5.0
OMGF: by Daan from Daan.dev – 5.3.7
Minimum Core: by Qode Themes – 1.0.4
WooCommerce Order Emails Log: by RaiserWeb – 1.4
Slider Revolution: by ThemePunch – 6.3.1
Server IP & Memory Usage Display: by Apasionados
Apasionados del Marketing – 2.1.0
Easy Updates Manager: by Easy Updates Manager Team – 9.0.13
String Locator: by InstaWP – 2.6.0
TLS 1.2 Compatibility Test: by Stranger Studios – 1.0.1
W3 Total Cache: by BoldGrid – 2.2.4
Which Template File: by Gilles Dumas – 4.6.0
WooCommerce Extra Product Options Pro: by ThemeHigh – 2.4.4
WooCommerce Product Enquiry Form: by WooThemes – 1.1.8
WooCommerce: by Automattic – 6.9.2
WP Crontrol: by John Blackbourn & crontributors – 1.14.0
WPForms Lite: by WPForms – 1.7.6
### Inactive Plugins (10) ###
CodeStyling Localization: by Heiko Rabe – 1.99.30
Delete Expired Transients: by WebAware – 2.0.7
GA Google Analytics: by Jeff Starr – 20220517
Loco Translate: by Tim Whitlock – 2.6.2
PublishPress Capabilities: by PublishPress – 2.5.1
Say What?: by Ademti Software – 2.1.1
Search Regex: by John Godley – 3.0.6
SoundPress Plugin: by Emad Messiha – 3.0.1
TranslatePress – Multilingual: by Cozmoslabs
Razvan Mocanu
Madalin Ungureanu
Cristophor Hurduban – 2.3.7
WP Database Backup: by Prashant Walke – 5.8.3
### Dropin Plugins (2) ###
advanced-cache.php: advanced-cache.php
db.php: Query Monitor Database Class (Drop-in)
### Must Use Plugins (1) ###
Health Check Troubleshooting Mode: by – 1.5.1
### Settings ###
API Enabled:
Force SSL: –
Currency: SEK (kr)
Currency Position: right
Thousand Separator:
Decimal Separator: :
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: –
### WC Pages ###
Shop base: #3704 – /shop/
Cart: #12 – /varukorg/
Checkout: #13 – /till-kassan/
My account: #14 – /mitt-konto/
Terms and conditions: Page not set
### Theme ###
Name: Minimum Child
Version: 1.1.4
Author URL: https://www.qodeinteractive.com/
Child Theme:
Parent Theme Name: Minimum
Parent Theme Version: 4.2
Parent Theme Author URL: https://www.qodeinteractive.com/
WooCommerce Support:
### Templates ###
Archive Template: Your theme has a woocommerce.php file
you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
Overrides: minimum/woocommerce/cart/cart-empty.php
minimum/woocommerce/cart/cart-item-data.php
minimum/woocommerce/cart/cart-shipping.php
minimum/woocommerce/cart/cart-totals.php
minimum/woocommerce/cart/cart.php
minimum/woocommerce/cart/shipping-calculator.php
minimum/woocommerce/checkout/form-coupon.php
minimum/woocommerce/checkout/thankyou.php
minimum/woocommerce/content-product.php
minimum/woocommerce/global/quantity-input.php
minimum/woocommerce/myaccount/form-edit-account.php
minimum/woocommerce/myaccount/form-edit-address.php
minimum/woocommerce/myaccount/form-login.php version 4.1.0 is out of date. The core version is 6.0.0
minimum/woocommerce/myaccount/form-lost-password.php
minimum/woocommerce/myaccount/my-account.php
Outdated Templates:
Learn how to update
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
experimental-product-tour
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
wc-pay-promotion
wc-pay-welcome-page
Disabled Features: minified-js
new-product-management-experience
settings
Daily Cron: Next scheduled: 2022-09-18 12:56:46 +02:00
Options:
Notes: 78
Onboarding: completed
### Action Scheduler ###
Complete: 670
Oldest: 2022-09-05 19:58:38 +0200
Newest: 2022-09-17 19:11:29 +0200
Failed: 1
Oldest: –
Newest: –
Pending: 8
Oldest: 2022-09-18 18:50:30 +0200
Newest: 2022-09-20 18:31:58 +0200
### Status report information ###
Generated at: 2022-09-17 19:43:45 +02:00
`
Please note I do not wish to change the language. I just wish to amend this message in English as we have many users who are trying to purchase another one for a friend or family member which is totally fine so I just want to advise them that they need to log out and create a new account for that person. I hope that makes sense.
Does this plugin have any hooks or support overrides in the theme files or something like that to allow customization of this message?
Thanks very much,
Nicole
So I have setup some custom Event Fields which I tied into the template override in my child theme.
I am wondering is there anyway to pass HTML data through the fields as I want to have an option in the Events page for the user to include an iFrame with data for an off-site registration.
So far it looks like none of the fields parse HTML.
Thank you,
Gareth
I am trying to simply move the 2 buttons (Edit Listing and Submit Listing) that are currently at the top of my Preview Page so they appear at the bottom of page.
I have looked at content-single-job_listing.php and I cant see where this is set (or even if I am looking in the right file….
Any help appreciated
Thanks!
]]>My problem is that I can’t see the category in the job list page or in the single job page. How can I show the category as any other meta element?
Thanks a lot!
]]>