Automattic / WP-Job-Manager

Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
https://wpjobmanager.com
GNU General Public License v3.0
901 stars 368 forks source link

Put job dashboard on WC My Account dashboard? #1311

Open aheckler opened 6 years ago

aheckler commented 6 years ago

Lots of people use WPJM and WooCommerce together. WooCommerce already outputs a user dashboard of sorts using [woocommerce_my_account]. We should have at least some integration that would allow the job dashboard to show up on that page, as opposed to being on its own page.

947043-zen

richardmtl commented 6 years ago

Similar request in 1088783-zen

Braehler commented 4 years ago

@richardmtl @aheckler @danjjohnson Any news here on that? It´s been nearly 3 years

richardmtl commented 4 years ago

@Braehler I no longer work for Automattic. Thanks!

D-Akademie commented 3 years ago

@aheckler @danjjohnson Updates related to this issue? Like mentioned above, this is a bug since nearly 3 years

danjjohnson commented 3 years ago

@Braehler no updates on this right now. When there are, the developers will comment here. This is a feature request rather than a bug, so it's not likely to be prioritized I'm afraid.

jom commented 3 years ago

I'm not sure this should go in WPJM core or in WC Paid Listings. If we decide on WCPL, I'll move this issue there.

Braehler commented 3 years ago

@jom Any news on that? Still core issue or WC Paid Listings now? And what about a timeline ? also mentioned here #2016

Braehler commented 3 years ago

Updates @jom ?

HlebP commented 2 years ago

There is now a plugin that can do that - Dashboard and User Account for WP Job Manager, Addons and WooCommerce.

nvrn commented 1 year ago

Hi there. It is possible that someone will need it.

In file \includes\class-wp-job-manager-shortcodes.php on line 61 has hook: add_action( 'wp', [ $this, 'shortcode_action_handler' ] );

Function in this hook on line 84:

private function is_job_dashboard_page() {
  global $post;

  if ( is_page() && has_shortcode( $post->post_content, 'job_dashboard' ) ) {
      return true;
  }

  return false;
}

In other words - before start actions check shortcode in post_content.

For best quick solution you have four options:

  1. Disable this hook with the help Remove Class Action Without Access to Class Object Function (Search in Google).

  2. Comment function in \includes\class-wp-job-manager-shortcodes.php (it's bad option).

  3. If you use custom template for account page (example my-account.php) – not use the_content(); in this php code, but insert shortcode [job_dashboard] in account page (in the admin panel). Further: set Account Page for option Job Management Page in plugin settings (Jobs Settings – Pages).

  4. Add Shortcode [job_dashboard] in template/page and hide this without CSS.

I chose the third option for myself.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.