Sanjay
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureOk but after disabling categories site works fine.
above slug snnipets is not working for me. It is generating only https://myssite.com/jobtitle
but i need https://myssite.com/jobtitle-lication/
Please help.
Forum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureHi, Thanks, but this is not working. It is generating only https://myssite.com/jobtitle
but i need https://myssite.com/jobtitle-lication/
due to slow my sql queries site loading endless.
SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy IN (‘job_listing_categories’)
ORDER BY t.name ASC W3_Db->default_query+ 0.0811
$wpdb QueriesForum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureHi, one more issue: with 10k categories, very slow database queries causing db errors or endless site loading. Using VPS with 2gb ram.
Forum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureHi, I have Succeeded in getting user post count. this worked for me:
<p class=”author-meta”>
<span class=”listing-count”><?php printf( __( ‘%d Listing Created’, ‘wp-job-manager’ ), count_user_posts($current_user_id = get_current_user_id(), “job_listing” ) ); ?></span></p>But with slug structure i failed.
I tried:
add_filter( ‘submit_job_form_save_job_data’, ‘custom_submit_job_form_save_job_data’, 10, 5 );
function custom_submit_job_form_save_job_data( $data, $post_title, $post_content, $status, $values ) {
$job_slug = array();
$job_slug[] = $post_title;
$data[‘post_name’] = implode( ‘-‘, $job_slug );// Prepend location
if ( ! empty( $values[‘job’][‘job_location’] ) )
$job_slug[] = $values[‘job’][‘job_location’];return $data;
}Forum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureAlright. I have tried several times to modify it but did not get exactly what i want. please can you re-arrenge it for me? Thanks.
Forum: Plugins
In reply to: [WP Job Manager] Slug/permalink structureHi, Thanks for reply, but this is not working. Actually this generates slug like this https://mysite.com/job/location-jobtitle but i need jobtitle first and location last in slug.
And for job listing count i am unable to figure it out. my code is <p class=”author-meta”>
<span class=”listing-count”><?php printf(
_n( ‘%d Jobs Created’, ‘%d Jobs Created’, $wp_query->found_posts, ‘text-domain’ ),
$wp_query->found_posts );
?></span>but it is not working. please help.
Thanks for replying promptly. I m continuing with this plugin and anxiously waiting for your next version, in which we could insert pre roll ads before the main video plays. Till then, it will be great if u could provide me the solution for pre roll ads with this plugin.
Thanks