top of page

Forum Comments

Using citation numbers (in superscript format) in my blog posts
In Discussions
VenkoG
Feb 04, 2021
Add mine too, Simona 😁
No related posts feature in the new blog?
In Discussions
No related posts feature in the new blog?
In Discussions
No related posts feature in the new blog?
In Discussions
VenkoG
Nov 09, 2020
Great info
How do I link all posts by an author to a single page?
In Discussions
Can’t share blog posts to Facebook biz page
In Discussions
Social share icons for blog post
In Vote for a Feature
Social share icons for blog post
In Vote for a Feature
Social share icons for blog post
In Vote for a Feature
VenkoG
Oct 06, 2019
@Gabe Orlowitz, The trick is in the wixLocation.onChange function. When the page is dynamic page and/or having application like blog post, while the location is changed, there is no additional trigger for page refresh. For example, if you click on another post from the post page, you need to Refresh the page so that the location will be changed. Or use the function wixLocation.onChange. Below is the code. In UpdateShareLinks you need to enter the lines as per example above. import wixLocation from 'wix-location'; let link; let baseUrl; $w.onReady(async function () { baseUrl = wixLocation.baseUrl; link = wixLocation.url; UpdateShareLinks(link); }); wixLocation.onChange( (location) => { let newPath = location.path.toString(); newPath = newPath.replace(",", "/"); link = baseUrl + '/' + newPath; UpdateShareLinks(link); } ); function UpdateShareLinks (parLink) { $w("#facebookShare").link =`https://www.facebook.com/sharer/sharer.php?u=${parLink}&display=popup`; ... add here more } Below is an example how it looks like - the link is https://www.loginsystems.biz/post/premin-microsoft-office-365-exchange-online (it is on Macedonian language, but you can get the idea). The odd thing is that buttons cannot be grouped with the post - this means that if you put them right below the post, some longer posts can make them invisible. So you need to use Strip or put them on the beginning of the post. Hope this helps. Please contact Wix Corvid people for more information or help. Thanks. @Mario Bañares, @Simona Griskute it would be extra useful if Post object can be aligned/attached within Strip (like other objects) or will be flexible to insert the buttons somehow within the post. Even though there is lot of progress in Blog Post, still Blog Post needs to have options for richer content and monetization. Competition is much better in this.
Content media
Wix and Google AdSense
In Discussions
Wix and Google AdSense
In Discussions

VenkoG

More actions
bottom of page