Adding a Taxonomy To Page

WordPress Business Themes Forums Version 7 Themes EmployeePress Adding a Taxonomy To Page

Discontinued - The forum content is out of date. For theme support please use our support desk here.

Adding a Taxonomy To Page

January 24, 2014
Mike Mike
  • Mike
    Mike
    Titan 776 points

    I have added a new custom taxonomy and this does not appear on the listing page as expected.

    How do I insert this into my listing page?

    January 24, 2014 at 7:11 pm
  • Mike
    Mike
    Titan 776 points

    I tried this rehash from Mr Bonk previous advise and it does not work:

    <?php

    $jobs_Listings_terms = wp_get_object_terms($post->ID, ‘jobs listings’);
    if(!empty($jobs_listings_terms)){
    if(!is_wp_error( $jobs_listings_terms )){
    echo ‘<h1 class=”hometextone”>Related Jobs</h1>’;
    echo ‘<ul class=”padding10″>’;
    foreach($jobs_terms as $jobs_listings){
    echo ‘

  • slug, ‘jobs listings’).'”>’.$jobs_listings->name.’
  • ‘;
    }
    echo ‘‘;
    }
    }

    // END CUSTOM FIELDS
    ?>

    Any ideas?

January 24, 2014 at 7:36 pm
  • Dave Harris
    Dave Harris
    Super Guru 1,406 points

    Mike you have gone and broke the forum. :)

    January 24, 2014 at 7:45 pm
  • Mike
    Mike
    Titan 776 points

    oh blast how can I delete this?

    That aint good.

    January 24, 2014 at 7:50 pm
  • Dave Harris
    Dave Harris
    Super Guru 1,406 points

    Not the first time, don’t worry, it happens.

    January 24, 2014 at 7:59 pm
  • Mike
    Mike
    Titan 776 points

    how do I delete the post? I hate being responsible – I cant code in real life..

    January 24, 2014 at 11:22 pm
  • Viewing 6 posts - 1 through 6 (of 6 total)

    Didn't find what you were after?

    Chat with us now

    or contact our support team