The Job Title widget is designed to display a job’s title on your WordPress site using Matador Jobs. This widget can be used in various contexts, such as on job archive pages to list job titles or on a job’s single page to highlight the title prominently. The widget is built to automatically detect the job’s WordPress ID when used within typical contexts, like within a loop on an archive page or on a single job page. However, when used outside these contexts, you will need to manually specify the job’s ID to ensure the correct title is displayed.
Content Settings
Display Method
This setting determines how the job ID is handled:
- Inherit from Context: Choose this option if the widget is used in a context where the job’s WordPress ID can be automatically detected, such as within a job listing loop or on a job single page.
- Specify Job’s ID: Select this option if the widget is placed in a context where the job’s ID needs to be manually entered. This ensures the correct job title is displayed when the widget is used outside typical job contexts.
Job ID
This field appears when “Specify Job’s ID” is selected under Display Method. Enter the WordPress ID of the job whose title you want to display. This is necessary when the widget cannot automatically detect the job’s ID.
Job Title Format
This setting allows you to choose how the job title is displayed:
- Link: Displays the job title as a clickable link, directing users to the job’s single page. This option is ideal for use on archive pages or other listings where you want users to be able to click through to more details.
- Text: Displays the job title as plain text. This option is suitable for situations where you want to show the title without linking to the job’s details.
Job Title HTML Tags
This setting provides control over the HTML tags used for the title markup. You can select from a range of options to match the widget’s output to your site’s design and hierarchy. The default choices include:
- H1: Used for the most important heading on a page, typically the main title.
- H2: Used for secondary headings.
- H3, H4, H5, H6: Used for progressively smaller headings.
- P: Renders the job title as a paragraph.
- Span: Renders the job title as inline text, allowing for custom styling without altering the page structure.
Style Settings
Fully Customizable Styles:
The widget inherits styles from your WordPress theme by default. However, if the default styles do not align with your design preferences, you can fully customize the appearance of the Job Title widget. This includes adjusting fonts, colors, spacing, and other CSS properties, ensuring that the widget integrates seamlessly with your site’s design.
Use Cases
- Job Archive Pages:
Use the Job Title widget to list job titles within a job archive. You can set the titles as links, allowing users to click through to the full job description for more details. - Job Single Pages:
On individual job pages, use the widget to display the job title prominently. You can choose the appropriate HTML tag to fit within your site’s hierarchy, such as using an H1 tag for the primary title.
Custom Display Locations:
When placing the widget outside of standard job contexts, such as in a custom sidebar or footer, you can specify the job’s ID and control whether the title is a link or plain text. This flexibility allows you to feature job titles in various sections of your site, enhancing user navigation and engagement.**