bonaccorsoP
Forum Replies Created
-
I developed a function that uses your work to retrive detailed interlinked posts informations:
[Code moderated as per the Forum Rules. Please use the pastebin]
This could be useful.
Let me knowOk, how I can see there’s a class-mpl-helpers.php having more usefull functions. I will combine them for reach my target.
Thanks for this tool ??Could be useful having a function or a method that retrives a list of permalinks interlinked for a specific Post of any type.
for example:
$args = array( "postId" => 56, "return" => "array" || "html" || "object", ecc... ); $output = mlp_get_interlinked_permalinks($args); var_dump($output);
And it returns something like this:
array( array( "lang" => "eng", "url" => "https://sitedomain.com/en/thispost", "flagImageUrl" => "thePathOfTheFlagImage", "postId" => 128, "postTitle" => "EnglishPostTitle"), array( "lang" => "de", "url" => "https://sitedomain.com/de/diesemartikel", "flagImageUrl" => "thePathOfTheFlagImage", "postId" => 128, "postTitle" => "GermanPostTitle"), array( ..., ..., ), ...);
Could be very useful.
I solved it!
Each site must have at least an active post ??
Now i’m interested on multilingual press APIs.
Where can i find docs about it?@inpsyde GmbH
I’ve installed the plugin after the configuration of my network based on sub-directories.
I’ve interlinked all sites but I can’t find any “Linked Posts” Voice on post editing. The plugin is installed on the whole network but not in the sigles sites.
The concept of this plugin is awesome and I hope I can use it soon.
Please help me.