-
Hi, Help please get dynamic link to blog post, with slug "some-page-123", this slug on all languages for this post same. For static pages plugin i use: And cms get link how i need with language prefix and it work fine. How its look like for blog plugin where i create post with slug "some-page-123" |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I try but i add this - }, get an error, in general: WitnerCMS last version. |
Beta Was this translation helpful? Give feedback.
-
I also try this example https://wintertricks.com/tricks/generate-a-link-to-a-cms-page |
Beta Was this translation helpful? Give feedback.
-
What's the file path for the blog post page ? You need to replace 'post-page' with that path. Example, if this is under "pages/post.htm", the file path is "post". If it's under "pages/blog/post.htm", the file path is "blog/post". |
Beta Was this translation helpful? Give feedback.
-
Now I understand, thanks for your help, I wouldn’t have guessed it in my case it, now it work good with all language prefixes. |
Beta Was this translation helpful? Give feedback.
What's the file path for the blog post page ? You need to replace 'post-page' with that path. Example, if this is under "pages/post.htm", the file path is "post". If it's under "pages/blog/post.htm", the file path is "blog/post".