imcobarn
Forum Replies Created
-
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, 4 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 6 years, 10 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 6 years, 11 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.
Forum: Plugins
In reply to: [WP Job Manager] Breadcrumb link on job postingsHi Adam, thank you for the reply.
This install is on local environment.
I tested with different theme and same result.
I didn’t solve it but I think I figured out where the problem might be.
In Permalinks, “Job base” default is “job” so url is mysite.com/job/job-post
At first clicking that link in breadcrumb took to the page job which didn’t exist.I switched permalink to “careers” and url became mysite.com/careers/job-post
That’s good.But since I put Job dashboard, job posting form and search page under Careers page as parent, those pages return 404 Not found.
(mysite.com/careers/job-dashboard/ for example)If I switch permalink to default (job) those pages work again but single job pages take on mysite.com/job/job-post url.
Also link “job” in breadcrumb when clicked takes to mysite.com/job/ which redirects to Job Dashboard page, /job-dashboard/.
That must come from the plugin right?Does that help?
Thank you.
- This reply was modified 6 years, 11 months ago by imcobarn.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Admin sidebar toggle buttonI’m not even sure how I ended up on /wp-admin/admin.php?page=freemius page, there’s no link to it anywhere except admin menu toggle button becomes that link.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Admin sidebar toggle buttonOk
On this page: wp-admin/admin.php?page=cf7md
Link to open the menu again is: /wp-admin/freemius
This link leads to not found page.JS Warning is this:
“This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!”CSS:
Several of these:
Error in parsing value for ‘display’. Declaration dropped. cf7-material-design-admin.css:1291:13
and Error in parsing value for ‘cursor’. Declaration dropped. for same css fileUnknown property ‘-moz-border-radius’. Declaration dropped. common.css:1:568
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. common.css:1:916
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. common.css:1:975////////////////////////////////////////////////////////
On this page: /wp-admin/admin.php?page=freemius
Link to open the menu again is:/wp-admin/admin.php?page=freemiusNo errors with JS but only CSS:
Error in parsing value for ‘background’. Declaration dropped. debug.css:1:853
Error in parsing value for ‘background’. Declaration dropped. debug.css:1:911
Expected color but found ‘top’. Error in parsing value for ‘background’. Declaration dropped. debug.css:1:986
Error in parsing value for ‘pointer-events’. Declaration dropped.All debug.css files on this page point to /wp-content/plugins/material-design-for-contact-form-7/freemius/assets/css/admin/debug.css