dwboed
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostMike,
I just overrode the template files. and it is working fine.
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHey Mike,
I thought I would mention that I purchased all of your add-ons and didn’t know if this would make a difference on how I could get this done using filters, since filters would be the fastest way to do this, at least from what I understand. I also thought the add-ons may effect things differently or possibly add an easy way to get this accomplished.
Thanks,
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHi Jan,
Thanks and sorry for that.
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHey Mike,
Is there another filter that would put the other fields right under the description. single_job_listing_end puts it under the Apply button, which is too far down. 🙂
Thanks,
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHey Mike,
Thanks, I’ll give it a shot, I’m just now learning how to program the WordPress way, it’s a lot different to me than straight up coding. Sorry about pasting the code in without the backticks, I didn’t pay attention to the text underneath this box. 🙂
Thanks,
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHey Mike,
Here is the code that displays the salary:
add_action('single_job_listing_meta_end', 'display_job_salary_data'); function display_job_salary_data() { global $post; $salary = get_post_meta($post->ID, '_job_salary', true); if ($salary) { echo ' <li>' . __('Salary:') . ' ' . $salary . '</li> '; } }I removed the other code that I had for the other fields because it displayed it next to the salary and not below the description.
Here is the link to your demo page that displays everything like I would like it do display.
http://demo.wpjobmanager.com/job/user-experience-designer-lead-systems-analyst/
The code I pasted above is what I have left that actually worked, it displays the salary on top. I copied and pasted the top of the single job post below, of course there isn’t any styling going on.
Full Time Houston TX Posted 6 days ago Salary: $90,000
I used the same code for the other fields but I am assuming I need different code to get it to show below the description.
Thanks,
Dave
Forum: Plugins
In reply to: [WP Job Manager] How to Display More Fields on a Single Job PostHey Scott,
Yes, salary starts at a priority of 7 and it displays at the top, which is fine. My other fields start at 8 and end at 10. They are all displaying after the salary.
Thanks,
Dave