{"id":1745,"date":"2026-01-29T21:17:35","date_gmt":"2026-01-29T21:17:35","guid":{"rendered":"https:\/\/sfplugin.com\/docs\/?post_type=docs&#038;p=1745"},"modified":"2026-01-30T05:07:41","modified_gmt":"2026-01-30T05:07:41","slug":"create-a-job-posting-website-using-salesforce-and-wordpress","status":"publish","type":"docs","link":"https:\/\/sfplugin.com\/docs\/customize-salesforce-and-wordpress\/create-a-job-posting-website-using-salesforce-and-wordpress\/","title":{"rendered":"Create a Job Posting Website using Salesforce and WordPress"},"content":{"rendered":"<p>Building a dynamic job board that syncs directly with Salesforce is a brilliant way to save time. Instead of manual data entry, your WordPress site updates in real-time with the latest Jobs that you add from Salesforce. This article shows how you can use the Sawfish Plugin to quickly set up a job listing page on WordPress.<\/p>\n<p><strong>Estimated Time Needed<\/strong>: 5 minutes<\/p>\n<hr \/>\n<figure id=\"attachment_1755\" aria-describedby=\"caption-attachment-1755\" style=\"width: 980px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/westernhealthcarellc.com\/\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1755 size-large\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-1024x513.png\" alt=\"Salesforce Job Posting WordPress using Sawfish\" width=\"980\" height=\"491\" srcset=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-1024x513.png 1024w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-300x150.png 300w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-768x385.png 768w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-1536x769.png 1536w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Salesforce-Job-Posting-WordPress-2048x1026.png 2048w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><figcaption id=\"caption-attachment-1755\" class=\"wp-caption-text\">Here&#8217;s how the page will look like.<\/figcaption><\/figure>\n<p>We are going to create two simple pages:<\/p>\n<ul>\n<li><strong>The Job Board:<\/strong> A list of all open positions with &#8220;View Details&#8221; links.<\/li>\n<li><strong>The Job Detail Page:<\/strong> A page that automatically fills with the specific Job Title, Description, and City based on which job was clicked.<\/li>\n<\/ul>\n<hr \/>\n<h2>2. Step 1: Create the Job Board (The List)<\/h2>\n<p>On your main &#8220;Careers&#8221; page, you\u2019ll want a clean table of jobs. Paste the following shortcode into your WordPress editor.<\/p>\n<p>&nbsp;<\/p>\n<pre>[showsforce fields=\"Job_Title__c, City__c\" o=\"Job_Object__c\" limit=\"10\" search=\"on\"]<\/pre>\n<p>&nbsp;<\/p>\n<p>You also use the <strong>Add New Layout<\/strong> feature from the plugin to generate your shortcode with desired fields and filters.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium aligncenter\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Install-Salesforce-Plugin-for-WordPress.png\" alt=\"Add New Layout from Sawfish WordPress plugin\" width=\"808\" height=\"652\" \/><\/p>\n<p>The Sawfish plugin shortcode lists the Job listing records in a neat searchable table. You can also add filters to only shows the jobs you want.<\/p>\n<p>This script after it makes the rows &#8220;clickable&#8221; so users can jump to the full description. Note how it&#8217;s set to navigate to <strong>\/job-details<\/strong> page. You can set any value here, as long as it&#8217;s consistent everywhere.<\/p>\n<h3>The Redirect Script &amp; Table<\/h3>\n<pre style=\"background: #f4f4f4; padding: 15px; border: 1px solid #ddd; border-radius: 5px; overflow-x: auto;\">[showsforce fields=\"Job_Title__c, City__c\" o=\"Job_Object__c\" limit=\"10\" search=\"on\"]\r\n\r\n&lt;script type=\"text\/javascript\"&gt;\r\nwindow.onload = function() {\r\n  jQuery(document).on('click', '.sforc-row', function () {\r\n    \/\/ This sends the user to your detail page with the Job ID attached\r\n    var recordId = jQuery(this).attr('data-sforclink');\r\n    window.location.href = window.location.origin + \"\/job-details\/?sId=\" + recordId;\r\n  });\r\n};\r\n&lt;\/script&gt;\r\n\r\n<\/pre>\n<hr \/>\n<figure id=\"attachment_1756\" aria-describedby=\"caption-attachment-1756\" style=\"width: 980px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1756 size-large\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website-1024x678.png\" alt=\"Job Detail Page in Salesforce WordPress Website using Sawfish\" width=\"980\" height=\"649\" srcset=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website-1024x678.png 1024w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website-300x199.png 300w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website-768x509.png 768w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website-1536x1017.png 1536w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2026\/01\/Show-Job-Detail-Page-in-Salesforce-WordPress-Website.png 1990w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><figcaption id=\"caption-attachment-1756\" class=\"wp-caption-text\">Featured: Western Healthcare, a leading healthcare staffing firm offering opportunities in all 50 states<\/figcaption><\/figure>\n<h2>3. Step 2: Create the Job Detail Page<\/h2>\n<p>Create a new page in WordPress with the URL slug <strong>job-details<\/strong>. This page acts as a Job Details section that changes its content depending on which job was selected. It can show Long Text and Rich Text fields.<\/p>\n<p>Paste this shortcode into the page:<\/p>\n<pre style=\"background: #f4f4f4; padding: 15px; border: 1px solid #ddd; border-radius: 5px; overflow-x: auto;\">[sectionsforce o=\"Job_Object__c\" filter=\"Id='{!sId}'\"]\r\n  \r\n  &lt;h1&gt;{!Job_Title__c}&lt;\/h1&gt;\r\n  &lt;h3&gt;Location: {!City__c}&lt;\/h3&gt;\r\n  \r\n  &lt;hr \/&gt;\r\n  \r\n  &lt;h4&gt;About the Role&lt;\/h4&gt;\r\n  &lt;div class=\"job-description\"&gt;\r\n    {!Job_Description__c}\r\n  &lt;\/div&gt;\r\n\r\n[\/sectionsforce]\r\n<\/pre>\n<hr \/>\n<h2>4. How it Works<\/h2>\n<ul>\n<li><strong>The Filter:<\/strong> The <code>filter=\"Id='{!sId}'\"<\/code> part is the secret sauce. It looks at the URL (the <code>sId<\/code> we sent from the first page) and tells Salesforce: &#8220;Only show the data for this specific job ID.&#8221;<\/li>\n<li><strong>The Fields:<\/strong> Using <code>{!FieldName}<\/code> allows you to drop Salesforce data right into your layout like a Salesforce Email template.<\/li>\n<\/ul>\n<h2>5. Further Enhancements<\/h2>\n<p>Yes, you can also add a form here so your candidates can submit their information. Check out the post below to see how you can add a form.<\/p>\n<p><a href=\"https:\/\/sfplugin.com\/docs\/how-to\/how-to-send-form-information-from-wordpress-to-salesforce\/\" target=\"_blank\" rel=\"noopener\">How to send form information from WordPress to Salesforce<\/a><\/p>\n<p>Feel free to send us a message if you\u2019d like more information on setting this up.<\/p>\n","protected":false},"featured_media":1755,"parent":1725,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1745","docs","type-docs","status-publish","has-post-thumbnail","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/comments?post=1745"}],"version-history":[{"count":17,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1745\/revisions"}],"predecessor-version":[{"id":1771,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1745\/revisions\/1771"}],"up":[{"embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1725"}],"prev":[{"title":"Add Salesforce Table on WordPress with Detail Links","link":"https:\/\/sfplugin.com\/docs\/customize-salesforce-and-wordpress\/add-salesforce-table-on-wordpress-with-detail-links\/","href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1735"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/media\/1755"}],"wp:attachment":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/media?parent=1745"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=1745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}