top of page
davydov consulting logo

Add Advanced Blog to Wix Site

Advanced Wix Blog and News with Velo

Wix Blog Integration | Add Advanced Blog to Wix Site

Velo Code Solution

If you are working on your Wix SEO or simply providing news to your site visitors, you will most likely want to add a blog to your Wix site. Using Velocode, we will add a blog to the Wix site with plenty of core functionality like posting articles, comments, likes, categories and an automatic newsletter.


There is, however number of extensions that can only be coded with Velo at the moment. Amongst them are:


  • Custom Post page.

  • Custom Like button.

  • Custom comments.

  • Trending posts.

  • Related posts.


Contact us by phone or fill out the form below, and we will connect a fully functional blog to your Wix website.

Tools

Loading...

Background image

Example Code

frontend
backend

import wixData from 'wix-data';

import wixLocation from 'wix-location';


let currentPost


$w.onReady(function () {

   init()

   wixLocation.onChange(() => {

       init()

   });

})


async function init() {

   $w("#post").getPost().then(async post => {

       currentPost = await loadData(post)

       dataToUI()

   });

}

function dataToUI() {

   $w("#title").text = currentPost.title

   $w("#author").text = `Author: ${currentPost.author}`

   $w("#photographer").text = `Photographer: ${currentPost.photographer}`

   $w("#strip").background.src = currentPost.coverImage

}

async function loadData(post) {

   let dataFromDB = await wixData.query("collection_name")

       .eq("post", post._id)

       .find()


   dataFromDB = dataFromDB.items[0]

   return merge(post, dataFromDB)

}


async function merge(post, extraData) {

   return Object.assign({}, post, extraData)

}

More Velo Integrations

Wix UPS Integration: A Complete Guide for eCommerce Shipping Efficiency

Learn how to integrate UPS with Wix to streamline eCommerce shipping, automate deliveries, and boost customer satisfaction with real-time tracking.

Wix UPS Integration: A Complete Guide for eCommerce Shipping Efficiency

Wix Pipedrive Integration: The Ultimate Guide to Streamline Your Sales Funnel

Connect Wix with Pipedrive effortlessly. Streamline leads, automate workflows, and manage your CRM directly from your Wix website with Davydov Consulting.

Wix Pipedrive Integration: The Ultimate Guide to Streamline Your Sales Funnel

Wix Salesforce Integration: A Comprehensive Guide

Integrate Wix with Salesforce to automate sales, manage leads efficiently, and sync your CRM data seamlessly via Davydov Consulting.

Wix Salesforce Integration: A Comprehensive Guide

CONTACT US

​Thanks for reaching out. Some one will reach out to you shortly.

bottom of page