Forum Replies Created

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

    (@usausakura)

    Hi Heckler,

    I was able to clearly understand about WP Job Manager’s features.
    Thanks to you.

    Sakura

    Thread Starter usausakura

    (@usausakura)

    ritgoさん、ありがとうございます!
    I tried your codes and it worked and showed the contents of my JobManager successfully!

    As you said, it displays just one job, but I think I can manage it.
    You helped me a great deal.
    Thank you so much.
    Sakura

    Thread Starter usausakura

    (@usausakura)

    こんにちはritgoさん。
    Thank you so much for responding to my post.

    I tried to use $jobs instead of get_job_field as below.

    <?php
    require_once(WP_PLUGIN_DIR . '/job-manager/db.php');
    if (have_posts()) : while (have_posts()) : the_post(); ?>
      <div>
        <p><?php echo $jobs[23]; ?><?php echo $jobs[24]; ?></p>
      </div>
    <?php endwhile; else: ?>

    But, it still doesn’t show the contents.
    I also used $page as below, but it doesn’t work.

    <?php
    require_once(WP_PLUGIN_DIR . '/job-manager/db.php');
    if (have_posts()) : while (have_posts()) : the_post(); ?>
      <div>
        <p><?php echo $page['post_title']; ?></p>
      </div>
    <?php endwhile; else: ?>

    Is this because it doesn’t read “db.php” properly?
    Or, do I need to write some codes in “search.php” based on the array in “db.php” ?

    Thaks,
    Sakura

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