darkpatate
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Redirection problems after moving WordPressOh shit, it was as simple as that!
I’m ashamed!
Now I just have to change the image links 🙂Thanks a lot 🙂
You’re welcome!
I choose to put the default language by default, but you can use current language instead.Here a list of Polylang functions: https://polylang.pro/doc/function-reference/
Thanks again for your time and help!
I succed!
I change that line:
if (isset($result['id'])) $post_id = $result['id'];
byif (isset($result['id'])){ $post_id = $result['id']; /* add for Polylang - beg*/ if (function_exists('pll_set_post_language') AND function_exists('pll_default_language')) { pll_set_post_language($post_id, pll_default_language()); } /* add for Polylang - end*/ }The redirection doesn’t work, but that fine 🙂
- This reply was modified 8 years, 2 months ago by darkpatate.
Oh thanks for your answser! It works! I just have to find a way to automate this process.
If I can’t, just cliking on the link in the panel will be a honorable solution.BTW, I have another question (maybe linked): normally, when a user click on the edit button, does the USP fom have to open?
Thanks again!
I think I found the answser in Polylang documentation :
https://polylang.pro/doc/i-activated-the-plugin-and-my-posts-are-not-displayed-anymore/When UPS creates an article, no language is defined, hence, the article is not displayed.
Is there any solution to solve this problem, or both plugins are not compatible?
Thanks in advance.
- This reply was modified 8 years, 2 months ago by darkpatate. Reason: conjugaison
It doesn’t seem to be a cache problem. I cleared my browser cache, still have the problem. And I don’t have any cache plugin.
I will follow your documentation and tell you.
If it can help you (in case you already have that type of problem), here a list of my active plugin :
– Asgaros Forum
– Members
– UPS
– Polylang
– Ultimate MemberThanks.
Hello,
Thanks for your answser.1) I have “WP Post (recommanded)”
2) No, even with the default theme, I don’t see the post. The behaviour is the same than with my theme (Customizr).
3) Oh thanks! Sorry, I don’t know why I din’t catch that option!
- This reply was modified 8 years, 2 months ago by darkpatate.