equeffelec
Forum Replies Created
-
Forum: Plugins
In reply to: [Bogo] Link 2 posts programmatically?so, in case somebody else needs this, this works to associate an existing translation draft (post_id) to an existing other post (original):
update postmeta set meta_value=[original] where meta_key=’_original_post’ AND meta_value='[post_id]]’;
Forum: Plugins
In reply to: [Bogo] Link 2 posts programmatically?Miyoshi san, can you confirm if the following is the only connection that I need to make happen?
update_post_meta( $post_id, ‘_original_post’, $original );
(assuming I already have the original post, and a draft of the translation, not linked to it yet)
OR do I need to also *remove* something from the meta table?
Forum: Plugins
In reply to: [Bogo] Link 2 posts programmatically?I’m not sure what permissions I need to give them for that. They are contributors. I don’t want them to have the possibility to publish posts, or edit things that have already been published.
As “contributors”, they don’t have access to the “translate this post into …” linkForum: Themes and Templates
In reply to: [Tarski] Nesting comments problemsThis change in the WordPress repository is what introduced the problem:
https://github.com/WordPress/WordPress/commit/808653e2a3695314c066057572126729ce4d2026#diff-3db08a6b98155b349c93a220bc903dceIt’s a matter of replacing the “echo” calls with $output=… in the tarski comment_walker.php file. I have a patch which seems to fix the issue for me.
How to:
1) Download my file at https://wololo.net/files2/comment_walker.txt
2) rename the file into comment_walker.php
3) replace the tarski file (wp-content/themes/tarski/library/classes/comment_walker.php) with mine (make sure to have a backup just in case!!!)
4) Done!Forum: Themes and Templates
In reply to: [Tarski] Nesting comments problemsI have the same issue. I updated the tarski theme to the latest version (3.2.0) but it did not solve the problem. I see that the theme hasn’t been updated in more than a year, which could explain. It could be a simple problem, I will dig in the code and report if I find anything
Thanks for the tip. I’m not really sure I can easily do that but I’ll try !
Thanks nobody ??
I meant I tried sending &_a_m_p_; instead of &
Anyone ?