pantsman28
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Bottom Menu] all but one pagethanks but it doesn’t answer my question. the conditional logic doesn’t work. I want it on all pages except one?
There is no documentation to follow on how to do this.
Forum: Plugins
In reply to: [WP Job Manager] how to export candidatesMy apologies. I didn’t realise it was an addon we brought when we first created the site many years ago. Does the WP Jobs Application addon allow you to download all the applicate details into a csv file so we can have a spring clean. Would this be the correct plugin to purchase? or would I need another one? thanks
Forum: Plugins
In reply to: [WP Job Manager] how to export candidatesAll I need is a method to download the applicants to csv so I can clean up the bloating of the database.
Yes thank you for the update. I can confirm the update to the plugin fixed the issue. Thank you.
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Text decoration underlineapologies for the delay.
if I can take the underline away the text might site more center in the coloured box. thanks
Forum: Plugins
In reply to: [The Events Calendar] import csv date errorHi Guys,
I have noticed 2 minor updates to the plugin since starting this thread. any joy with fixing the import issues?
Thanx
Forum: Plugins
In reply to: [The Events Calendar] import csv date error@geoffbel thanks for the update. This was a head scratcher regarding all-day event true.
also the date keeps referring to January 1, 1970…:
I downloaded your csv-event-file-example.csv changed the date on the 1st record, imported this in to the plugin and the date changed to the above?Do you want me to create a video so you can look into this issue aswell?
Thanks
Forum: Plugins
In reply to: [The Events Calendar] import csv date errorWould appear the import function just doesn’t work properly. Major Bugs in this plugin.
After running more tests ALL DAY EVENT set to TRUE is also ignored. https://theeventscalendar.com/knowledgebase/k/csv-file-examples-for-importing/
Events Calendar Version 6.0.1.1
Can support look into this as it’s caused a major headache.
WP Version 6.0.2
PHP. 7.4.26Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] change to fixture timefound away to update this area, without additional plugins or development costs.
UPDATE wp_posts SET post_date = replace(post_date,'20:30:00', '20:15:00'); UPDATE wp_posts SET post_date_gmt = replace(post_date_gmt,'20:30:00', '20:15:00');
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] change to fixture timeit’s a shame and something to consider for a future release.
Instead of custom coding is there not a way to put a rewrite into sql for a quick fix.
UPDATE wp_posts SET post_content = replace(post_date,'20:30:00', '20:15:00'); UPDATE wp_posts SET post_content = replace(post_date_gmt,'20:30:00', '20:15:00');
but this doesn’t seem to change anything
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] change to fixture timeDoesn’t work. it changes all the fixture dates to the same day and time.
Tested on a handful of fixtures, does change the time but also the dates they play.
Glad I didn’t do this on a live site.Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] change to fixture timebefore I try on my local version. Will this change the fixture dates? or only change the scheduled/publish date?
not sure if these are separate entities?
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Permissions on Free versionhttps://www.unlimitedwebhosting.co.uk/
Unlimitedwebhosting. Seem to have changed their terms and conditions, so apps like this don’t work.
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Permissions on Free versionJust found out this plugin is now rendered useless on my hosting server. They have turned off permissions to backup plugins.
This is because programs such as a1wm-backups conflict with our Terms & Conditions regarding Data Warehousing.
The only method is direct FTP. If I am using FTP I might as well just do it manually and save my self $99
Forum: Plugins
In reply to: [WP Job Manager] google jobsOk to explain things better ‘Location’ is a viewable field on the frontend of the site. We only use a area location, i.e. Worcester
As you know this creates errors for google job listings as it’s an incomplete address. However, I see the plugin maps streetAddress etc.
To get around this I have used the salary function code to rewrite a new field called ‘Address’ This field will be a full address to cater for google jobs schema, but not visible on the frontend to the public.
The code so far
/* START ADD ADDRESS */ add_filter( 'submit_job_form_fields', 'frontend_add_address_field' ); function frontend_add_address_field( $fields ) { $fields['job']['job_address'] = array( 'label' => __( 'Address', 'job_manager' ), 'type' => 'text', 'required' => true, 'placeholder' => 'e.g. 20000', 'priority' => 8 ); return $fields; } add_filter( 'job_manager_job_listing_data_fields', 'admin_add_address_field' ); function admin_add_address_field( $fields ) { $fields['_job_address'] = array( 'label' => __( 'Address', 'job_manager' ), 'type' => 'text', 'placeholder' => 'Worcester', 'description' => '' ); return $fields; } add_action( 'single_job_listing_meta_end', 'display_job_address_data' ); function display_job_address_data() { global $post; $address = get_post_meta( $post->ID, '_job_address', true ); if ( $address ) { echo '<li class="hideadd">' . __( 'Address:' ) . ' ' . esc_html( $address ) . '</li>'; } } // Add Google structured data add_filter( 'wpjm_get_job_listing_structured_data', 'add_basesaddress_data'); function add_basesaddress_data( $data ) { global $post; $data['jobLocation'] = []; $data['jobLocation']['@type'] = 'Place'; $data['jobLocation']['address'] = []; $data['jobLocation']['address']['@type'] = 'PostalAddress'; $data['jobLocation']['address']['streetAddress'] = get_post_meta( $post->ID, '_job_address', true ); $data['jobLocation']['address']['addressLocality'] = []; $data['jobLocation']['address']['addressRegion'] = []; $data['jobLocation']['address']['postalCode'] = []; $data['jobLocation']['address']['addressCountry'] = 'UK'; return $data; } /* END ADD ADDRESS */
Now the street address becomes visible in the job data and on the frontend of the single job listing. How I can hide this from public view or competitors.
https://ibb.co/hR1Tprb
How do you map [‘addressLocality’] to the custom fields or to the existing job_listing_location_structured_data ?- This reply was modified 3 years, 10 months ago by pantsman28. Reason: gramma