Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jasperpno

    (@jasperpno)

    Thank you very kindly, this has helped me a lot. It seems like the plugin offers all that we need. The back-end is great aswel! I am going to introduce this plugin to our development team when they are back from holiday. We will probably get licences for at least two websites.

    Just one last question. How can I retrieve the additional offices field? Don’t see it listed in the taxonomies or the object.

    https://i.ibb.co/0nFS4qr/image.png

    • This reply was modified 1 year, 10 months ago by jasperpno.
    • This reply was modified 1 year, 10 months ago by jasperpno.
    Thread Starter jasperpno

    (@jasperpno)

    I am using the templates from my child theme folder, which works. I copied the default single-personioposition.php (which by defaults retrieves the_content()). In this file I would like to demonstrate our team that we can use the values individually throughout the template. We want the ‘our mission’ field seperated from ‘why us’ field in Personio. Or just field values individually in general. We are going to use a very specific custom designed page for the overview and single pages of a position.

    So what the file looks like:

    <?php
    get_header();
    the_content();
    get_footer();


    What I tried, or desire:

    <?php
    get_header(); ?>
    <h1><?php echo esc_html( $position->get_title());?></h1>

    <p>Office Location: <?php echo esc_html( $position->get_term_by_field( ‘personioOffice’, ‘name’ ) ); ?> </p>

    get_footer();

    • This reply was modified 1 year, 10 months ago by jasperpno.
    Thread Starter jasperpno

    (@jasperpno)

    Hi,

    Thank you for your extended reply. I’ve been trying to retrieve values from the position object in my single template file, but couldn’t get it to show anything yet (not even get_title();). Also tried the taxonomy way.

    Is it possible that you can give me a very small demonstration/code example in basic html/php how to display for example title, subcompany, seniority individually in the template? Then I can convince our dev team to use this plugin instead of developing an own API. It would be much appreciated.

    Thanks, have a nice day.

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