edarioq
Forum Replies Created
-
I can verify this works. Please fix on next update! Thanks.
Forum: Plugins
In reply to: [WooCommerce] Adding Buy Button to Blog PostNice thanks.
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404To anyone that has the same problem as me. I have finally found a working solution.
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Hi Brandon, I’ve reverted back to how it was (removed the code from functions.php)
The URL that I see loading is:
http://www.rebien.co/experto/acupuntura-masters/acupuntura-masters-2/?view=singular
Yes it’s an attachment. Please have a look and let me know your thoughts and ideas. Could it be a jquery compatiblity issue perhaps?
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Brandon, here’s the link:
http://www.rebien.co/job/acupuntura/bogota/acupuntura-masters/
Please let me know if you need anything else, thanks.
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Hi Brandon, thanks for your reply and I appreciate your help on getting this thing to work!
After some research I think that code above only works on custom post types? So I couldn’t have something like:
if ( $post->post_type == 'attachement' ) { return $permalink; }Here are some links as to the gallery error, right now I have the site live without WP Job Manager Code, and on localhost I have it with the code.
1. This is the widget that links to the gallery
2. The gallery opens but returns 404, clicking on an image doesn’t load it either.
3. This is how it works without WP Job Manager code that makes URLs show as /category/region/nameIf you’d like to see the error in action I can the changes on live site and send you the link, please let me know. Again thanks for your help.
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Hello plugin authors, I would really appreciate any help you can provide, the code you provide breaks blog posts and gallery images as well, even if I leave it as you wrote it.
I’ve added code if jobtype == attachment – but it doesn’t work. Also the code if posttype == job_listing ignore doesn’t do the trick.
Sorry that I bumped this but It’s been almost 2 wks since last reply and I’ve yet to find a solution that works. I could just not use your code and leave it as is, but this isn’t what I need.
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Hi Brandon, thanks for your help.
Quick question, shouldn’t the part of the code:
// Abort if post is not a job if ( $post->post_type !== 'job_listing' ) { return $permalink; }Omit the slug rewrite rule if it isn’t a ‘job_listing’ ?
I also realized the same WP Job Manager code breaks my gallery images as well as well as Woocommerce product pages, even if I leave ‘job/’ in:
function change_job_listing_slug( $args ) { $args['rewrite']['slug'] = 'job/%category%/%region%'; return $args; }Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Any ideas anyone? Plugin authors?
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404Yep
Forum: Plugins
In reply to: [WP Job Manager] Adding Category/Region to URL makes Blog Posts 404I figured it out, problem is with:
function change_job_listing_slug( $args ) { $args['rewrite']['slug'] = 'job/%category%/%region%'; return $args; }I have:
function change_job_listing_slug( $args ) { $args['rewrite']['slug'] = '%category%/%region%'; return $args; }I removed ‘job’ from URL because it is unnecessary. How can I remove this ‘job’ without breaking blog posts URLs?
Forum: Plugins
In reply to: [WP Mobile Detect] wpmd_is_phone() true on OPERA desktopsNice worked for me, had the exact same problem. Thanks.