• Hi,

    I am using WP Job Manager plugin to manage jobs.

    But for some functions to work in the plugin, I have to enable theme support.

    Here is what I found in their documentation,

    Inside your theme, include the following code:
    add_theme_support( ‘job-manager-templates’ );

    My question is, how can I include this in my theme?

    Here is their documentation for reference,
    https://wpjobmanager.com/document/enabling-full-template-support/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Leo

    (@leohsiang)

    Hi there,

    Try adding it using one of these methods:
    https://docs.generatepress.com/article/adding-php/

    Thread Starter qph9697

    (@qph9697)

    Hi, I don’t know how to code in PHP.

    Can you please tell me what code should I add in my code snippets?

    It will be a great help.

    Thank You.

    Theme Author Tom

    (@edge22)

    Hi there,

    You’ll want to create a new snippet, then add the code they mentioned like this:

    add_theme_support( 'job-manager-templates' );

    Thread Starter qph9697

    (@qph9697)

    Hi, but where should I add, for example, should I do something like this

    <?php add_action( ‘your_hook_name’,’example_function_name’ );
    function example_function_name() { ?>
    add_theme_support( ‘job-manager-templates’ );
    <?php }

    Is this how I should add?

    And if yes, then where must I add this? I mean what must be the “your_hook_name”?

    Sorry, I don’t have any knowledge related to PHP.

    Thank You.

    Hi there,

    you simply need to add the code Tom provided here to your Child Theme Functions.PHP or add it to a new Snippet in the Code Snippets plugin.

    There should be no requirement to Hook that code in.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme Support’ is closed to new replies.