imcobarn
Forum Replies Created
-
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Undefined index: display_typeActually error was there before but turning WP_DEBUG to true displays error.
Just checked on older install.Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Templates overrideFigured it out.
For anyone else looking for the answer name the file single-properties.php
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Templates overrideI was able to get that by adding my divs directly to archive-properties.php file and uncommenting //do_action( ‘es_before_content’ )
How can I make single.php for property single page?
what should I name the file?Thanks.
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Templates overrideNow I need to add my theme divs in the wrapper-start.php
I use Mesmerize theme with custom child theme.
I added customized wrapper-start.php to my theme /estatik/partials/ folder but it is not taking effect.
Am I doing that correctly?
Thanks.
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Templates overridePerfect!
Thank you!
Forum: Plugins
In reply to: [Embed PDF Viewer] height attributesThank you very much, that works.
I copied code from the Github and code below is what I’m using.
I was trying to add “100%” width so it would scale on different screens but the function add “px” to the end of attribute so even if I add “500px” in new filter hook it would return 500pxpx on the page.
So in the hook dimensions need to be without px.Anyway to get around that?
add_filter( 'embed_pdf_viewer_pdf_attributes', function($attr) { $attr['height'] = "600"; $attr['width'] = "1000"; return $attr; });
- This reply was modified 6 years, 8 months ago by imcobarn.
Forum: Plugins
In reply to: [Advanced PDF Generator] how create template pdfSame issue here, it’s not clear what to put in the file?
Forum: Plugins
In reply to: [Contact Form 7] reuse recaptcha keys from cf7 integration settingsI was able to get the Sitekey with code below but can’t seem to get the Secret
How could I get the secret?
here is code to get sitekey:
$sitekeys = WPCF7::get_option( 'recaptcha'); $sitekeys = array_keys( $sitekeys ); $key = $sitekeys[0];
Hi,
I’m using this great plugin on several site, it is great.
I recently installed Multisite/network/WPMS
I network enabled this plugin and set hide login settings but I get “Warning: Your login URL is unchanged because the Rename WP Login feature is not currently supported on WPMS.”How can I use the plugin on Multisite setup?
Activate individually on sub-blogs?
Thank you.
Great, looking forward to it.
Thank you!
Figured it out.
In this case url is mysite.com/”myloginstring” , skipping subdirectory in the url
That’s the solution in case someone else runs into this problem.Marking resolved.
Thanks.
- This reply was modified 7 years, 2 months ago by imcobarn.
Forum: Plugins
In reply to: [WP Job Manager] Change to use different loopI don’t think wp job manager uses “standard” loop from your theme file, looks like it’s done with a shortcode added to the page, [jobs] for example, if I’m not wrong.
Code is in wp-job-manager\includes\class-wp-job-manager-shortcodes.php which calls then wp-job manager templates to display either list or single job.To edit how single job is displayed override plugin templates in your theme and also you can create outer template to match you theme by creating custom post type templates, https://developer.www.ads-software.com/themes/template-files-section/custom-post-type-template-files/
Hope that helps.
Forum: Plugins
In reply to: [WP Job Manager] Post a job – pre-populate company detailsHere is what I’m using to remove fields.
Inside the function:unset( $fields['company']['company_logo'] ); return $fields;
Of course change “company_logo” with field name you need to remove.
Hope that helps.I’ll try code you sent
I created custom function to use different default image and then call it in templates but your solution I think is better.Forum: Plugins
In reply to: [WP Job Manager] Post a job – pre-populate company detailsThis is same topic so figured not to open new topic.
I’m using populate logo snippet.
add_filter('submit_job_form_fields', 'dm_prefill_company_logo'); function dm_prefill_company_logo( $fields ) { $fields['company']['company_logo']['value'] = 'https://s3-us-west-2.amazonaws.com/whiteoakglobal/assets/WhiteOakJobsDefault-200.jpg'; return $fields; }
As you can see I’m using image hosted on AWS S3.
It works fine in the form but once submitted it doesn’t display the logo.
Looking in source code img url becomes: https://mysite.com/wp-content/uploads/https://s3-us-west-2.amazonaws.com/whiteoakglobal/assets/WhiteOakJobsDefault-200.jpgIt adds “https://mysite.com/wp-content/uploads” in front of url value specified in function.
Any thoughts?
In my case would be better if we could change the default image from plugin function “the_company_logo” which calls image from JOB_MANAGER_PLUGIN_URL . ‘/assets/images/company.png’
Thanks.
- This reply was modified 7 years, 3 months ago by imcobarn.
Forum: Plugins
In reply to: [WP Job Manager] Breadcrumb link on job postingsOk, thanks for the reply.
I did solved it sort of.
Changed job base url to “jobs”, created page “jobs” that lists jobs via shortcode and placed that page under careers page as a child.
using function snippet from your site Documentation to rewrite jobs to careers/jobs, “change_job_listing_slug”
So now single job posts url is mysite.com/careers/jobs/job-post
Breadcrumb links to that new page mysite.com/careers/jobs/ so that’s better then before.
Still can’t change the text of the link in breadcrumb, it says “Job” regardless of the Title of that page I created but it links correctly now.Thank you.