Edvinas L
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksOkay i fixed it.
The last one question.
I had translated all the wp job manager plugin in my nation language and after update I lost that translate. How to avoid this after next plugin update?
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksOk i’m deleted these from class-wp-job-manager-form-submit-job.php
but then in submission showed and error:
Warning: include(………………../wp-content/plugins/wp-job-manager/templates/form-fields/job-category-field.php): failed to open stream: No such file or directory in …………../wp-content/plugins/wp-job-manager/wp-job-manager-template.php on line 26
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksCan I send you my theme functions.php file?
Forum: Plugins
In reply to: [WooCommerce] Products shortcode aligmentHelp?
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksAfter adding this code:
domain.com/job/category/jobdescribe-jobtype-jobname/
I tried to save permalinks, but that’s changed nothing.
Forum: Plugins
In reply to: [Menu Cart for WooCommerce] RedirectDoesn’t work.
I tried to put this code inside <php> tags and without it. If I try to remove products from cart, I gain an error.
For example i take functions.php file from: wp-content/themes/theme-name/function.php
Forum: Plugins
In reply to: [WooCommerce] H3 text inline shortcodeOhh sorry, it’s working.
Thanks, and lock thread.
Forum: Plugins
In reply to: [WooCommerce] H3 text inline shortcodeDoesn’t work ??
Forum: Plugins
In reply to: [WooCommerce] H3 text inline shortcodeForum: Plugins
In reply to: [WP Job Manager] Changing permalinksParse error: syntax error, unexpected ‘<‘ in ***********/public_html/wp-includes/functions.php on line 4449
`<?php
function job_listing_post_type_link( $permalink, $post ) {
// Abort if post is not a job
if ( $post->post_type !== ‘job_listing’ )
return $permalink;// Abort early if the placeholder rewrite tag isn’t in the generated URL
if ( false === strpos( $permalink, ‘%’ ) )
return $permalink;// Get the custom taxonomy terms in use by this post
$terms = get_the_terms( $post->ID, ‘job_listing_category’ );if ( empty( $terms ) ) {
// If no terms are assigned to this post, use a string instead (can’t leave the placeholder there)
$job_listing_category = _x( ‘uncat’, ‘slug’ );
} else {
// Replace the placeholder rewrite tag with the first term’s slug
$first_term = array_shift( $terms );
$job_listing_category = $first_term->slug;
}$find = array(
‘%category%’
);$replace = array(
$job_listing_category
);$replace = array_map( ‘sanitize_title’, $replace );
$permalink = str_replace( $find, $replace, $permalink );
return $permalink;
}
add_filter( ‘post_type_link’, ‘job_listing_post_type_link’, 10, 2 );function change_job_listing_slug( $args ) {
$args[‘rewrite’][‘slug’] = ‘job/%category%’;
return $args;
}
add_filter( ‘register_post_type_job_listing’, ‘change_job_listing_slug’ );?>
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksWhere to add this code?
I tried to add it to functions.php, but then my website had an error.
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksYeah, i see it.
I don’t have any php code experience, so can you make the code for me? How to make only /job-category/job-name ??
Forum: Themes and Templates
In reply to: Tint themeThis theme is from Themeskingdoms.com
Forum: Plugins
In reply to: [WP Job Manager] Changing permalinksAnyways, I don’t understand how to delete these slugs from my permalink.
Forum: Plugins
In reply to: [WP Job Manager] Employer rolesOr how to edit [submit_job_form] custom fields?
I need to add select for everyone when job listing exipres. You can see it , when you add listings in wp-admin, but not in [submit_job_form] page.