• Resolved jandjacres

    (@jandjacres)


    Hello Sir,

    I just installed your plugin and believe it will meet my needs, so thank you very much for your efforts.

    One question though – the pages seem to pick up on the default layout of my template, but the individual posts (job listings) do not.

    Is there a purpose for the jobs to not use the default theme layout? I am unsure if the ability to edit the layout was intentionally removed or simply not included. Even so, I would have expected it to… well… default to the default.

    Thanks,

    Jared

    https://wordpress.org/plugins/wp-job-manager/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey Jared,

    Most likely related to some of the issues we cover here:
    https://wpjobmanager.com/document/dealing-troublesome-themes/

    Hope this helps!

    Kind Regards,
    Scott

    Plugin Author Mike Jolley

    (@mikejolley)

    Just as an FYI you can view the template hierarchy of WP here http://codex.wordpress.org/Template_Hierarchy

    Pages can be treated differently to ‘posts’ and custom post types.

    Thread Starter jandjacres

    (@jandjacres)

    I am using the genesis framework with a child theme. While the framework as a single.php, the child only has a 404, functions and page-landing. Could the lack of a single.php be the issue?

    Mind you, the them processes regular posts just fine with all the expected formatting for the theme.

    Thoughts?

    (thanks for the quick replies!)

    Plugin Author Mike Jolley

    (@mikejolley)

    It should just use the parent’s single.php.

    What do you see anyway? Have you checked genesis documentation on custom post types?

    Thread Starter jandjacres

    (@jandjacres)

    The parent single.php reads:

    <?php
    /**
     * Genesis Framework.
     *
     * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
     * Please do all modifications in the form of a child theme.
     *
     * @package Genesis\Templates
     * @author  StudioPress
     * @license GPL-2.0+
     * @link    http://my.studiopress.com/themes/genesis/
     */
    
    //* This file handles single entries, but only exists for the sake of child theme forward compatibility.
    genesis();

    Which is wholly un-useful to an end-user like myself.

    I tried looking at Genesis’ website – couldn’t find anything in their FAQ, etc., and their forums were not easily searchable as well (too many hits to filter through).

    You probably expected that this would not work, but for kicks I tried creating the single-job_listing.php and coping over the single.php stuff and just got an error – something about something being re-declared.

    What seems odd to me is that it is almost as if a ‘</div>’ is missing or something – which I only say because of some misalignment that is happening.

    If you would like to see what I am seeing you can log in here with test/test.

    Here is a post the way it is supposed to look

    Here is the job listings page with correct formatting

    Here is a single job post with incorrect formatting

    Thanks again.

    Plugin Author Mike Jolley

    (@mikejolley)

    I see why πŸ™‚

    CSS rules like this: http://glui.me/?i=vicnhcx7ued2tn3/2014-10-15_at_22.08.png/

    .page .page, .post,

    Job listings don’t get those classes. They get . job_listing

    Thread Starter jandjacres

    (@jandjacres)

    Sorry for my ignorance – but does that mean there is a way I can fix it in CSS?

    Plugin Author Mike Jolley

    (@mikejolley)

    Yes. Find the rule I took a screenshot of and add .job_listing as one of it’s selectors.

    Thread Starter jandjacres

    (@jandjacres)

    Thanks Mike. I’m having issues with it wanting to also place the corner images on the Jobs Listing Page as well as on the individual posts.

    I certainly don’t expect you to baby me through CSS, so thanks for getting me pointed in the correct direction. I shall try to take it from here. Thank you.

    Plugin Author Mike Jolley

    (@mikejolley)

    You could try a more specific selector like #content .job_listing {}

    Thread Starter jandjacres

    (@jandjacres)

    I was able to fix it with selectors such as:

    .job_listing
    .job_listing .wrap
    .job_listing .wrap .right-corner,
    .job_listing .wrap .left-corner,

    Placed in the correct areas.

    Thank you again. It looks the same as everything else now πŸ™‚

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

The topic ‘Post Layout’ is closed to new replies.