• Resolved ihsaaan

    (@ihsaaan)


    Is there a way to display content above the listings on the category or listing region page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • If I tell you no stupidity you add it in function.php

    add_theme_support( 'job-manager-templates' );
    function dm_display_wpjm_categories () {
      $terms = get_terms( array(
      'taxonomy' => 'job_listing_category',
      'hide_empty' => false,
    ) );
    
    if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
      echo '<ul>';
      foreach ( $terms as $term ) {
          echo '<li>' . '<a href="' . esc_url( get_term_link( $term ) ) . '">' . $term->name . '</a></li>';
      }
      echo '</ul>';
    }
    }
    add_shortcode('list_categories', 'dm_display_wpjm_categories');

    Et ca dans ta page
    <?php echo do_shortcode('[list_categories]'); ?>

    It’s been a long time since I put my nose back in it but hey …

    Sorry for the English google translation.

    For the regions the plugin allowing to make available the regions not being native to Wp Manager no idea.

    Thread Starter ihsaaan

    (@ihsaaan)

    So is there anyway to add it into the plugin?

    No and you welcome….

    Thread Starter ihsaaan

    (@ihsaaan)

    Thanks.. Much appreciated

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    I’m marking this as resolved since it’s been over 2 weeks with no response. If you still need help with this, please feel free to mark it ‘not resolved’ again.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Content on listing category page’ is closed to new replies.