Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • SCNisHere,

    you put that code wherever you want to allow the user to submit an application.
    To me, it makes the most sense to make available on the actual job posting.

    out of the box, the master plugin has a template file called job-application.php, which controls the information that shows up when you press “Apply for Job” button on the job posting.

    However, you may need to take away portions of the code to make it work with your own theme depending on how your theme works. Using the standard installation of Genesis, mine had trouble locating the plugins class. Just an FYI.

    You can put that code in that spot of the template file. You may also wish to comment out the standard code that tells the application to submit via email.

    The only other issue I see with this add-on for the job manager is that it doesn’t do anything to link the form to the application. The only link you’ll see is gravity form’s native embed page link which shows the page slug where the form was entered. That’s not real helpful for a full blow job listing.

    To make this really helpful, you’d need some custom code to pre-fill a gravity form field with the job name / id.

    Good luck.

    Yes, custom meta boxes uses the prefix _cmb_ to hide the fields from custom field list in post editor. They’re saved, they just dont show in list. This is commented fairly well in the example-functions file that is included with CMB.

    Like John says, just delete that underscore before CMB in the file you use to register the meta boxes, and then again if you’re calling the boxes to be seen on the front end – like in a template page.

    If anyone else is looking at this and thinking “I did all that but the fields are still not showing in my custom post type” make sure that your custom post type is registered to support custom fields.

    That line in your custom post registration code will be like this:

    <?php
    
    add_action( 'init', 'register_cpt_careerops' );
    
    function register_cpt_careerops() {
    
        $labels = array(
            'name' => _x( 'Career Opportunities', 'careerops' ),
            'singular_name' => _x( 'Career Opportunity', 'careerops' ),
            'add_new' => _x( 'Add New', 'careerops' ),
            'add_new_item' => _x( 'Add New Career Opportunity', 'careerops' ),
            'edit_item' => _x( 'Edit Career Opportunity', 'careerops' ),
            'new_item' => _x( 'New Career Opportunity', 'careerops' ),
            'view_item' => _x( 'View Career Opportunity', 'careerops' ),
            'search_items' => _x( 'Search Career Opportunities', 'careerops' ),
            'not_found' => _x( 'No career opportunities found', 'careerops' ),
            'not_found_in_trash' => _x( 'No career opportunities found in Trash', 'careerops' ),
            'parent_item_colon' => _x( 'Parent Career Opportunity:', 'careerops' ),
            'menu_name' => _x( 'Career Opportunities', 'careerops' ),
        );
    
        $args = array(
            'labels' => $labels,
            'hierarchical' => false,
    
            'supports' => array( 'title', 'author', 'revisions', 'page-attributes','custom-fields' ),
    
            'public' => true,
            'show_ui' => true,
            'show_in_menu' => true,
            'menu_position' => 5,
    
            'show_in_nav_menus' => true,
            'publicly_queryable' => true,
            'exclude_from_search' => false,
            'has_archive' => true,
            'query_var' => true,
            'can_export' => true,
            'rewrite' => true,
            'capability_type' => 'post'
        );
    
        register_post_type( 'careerops', $args );
    }
    ?>

    Third line in the $arg array starts with support. make sure custom-fields is in there.

    I’ve been looking for an improvement in my workflow for backing up my multisite installation. Is there any advice you can give me on setting backup routines like you suggest in the second paragraph of your note?

    Any articles or plugins that can help?

    Thanks.

    Craig

    That am/pm thing jammed me up too.

    You can find some pretty good formatting options here:
    https://trentrichardson.com/examples/timepicker/#tp-formatting

    There are other links to other format box options too.

Viewing 4 replies - 1 through 4 (of 4 total)