The Help page says you can use the properties function to target all elements of a page… but I can’t see how it does, at least its not the functionality I’d expect.
For example, the blog appears to be considered as one overall element, which is quite a big thing. How can you target individual components of the blog - eg the heart button.
Hi Scoobie,
The blog, like all the other Wix applications, are built as Iframes and appear as one big element. We are working on introducing APIs to interact with them directly to resolve such issues.
Can you explain a bit more what you want to do?
I thought something like that might be going on.
I was trying to style the heart button to make it bigger, and find out its name.
There a bigger things I was looking to do as well.
I like the membership and new blog components of Wix and I don’t want to rebuild these elements if I can interact with them directly via an API. For instance this scenario:
Custom form inputs into Wix blog - this might save me from having to build in commenting functionality into dynamic pages. It also gives me things like featured posts and repeating elements in a grid format that I don’t need to build
I’m looking to:
-
Allow form submitted posts for a membership community
-
Display the posts as repeating elements
-
Allow liking via the heart symbol on the posts
-
Allow comments/replies/follows on the posts using Wix commenting
-
Users can edit their profile page
at the moment items 3-5 above, I don’t see how it’s possible to do with Wix Code.
^ This is very like what Wix has already built into the Blog and Membership applications. The only difference is, in my scenario, blog posts wouldn’t be free format. Maybe that in itself is a showstopper, as it presumably involves:
-
Targeting the “create a post” button on Wix Blog and redirecting it to a custom form or somehow adding a couple of extra fields to the Blog Post Edit page.
-
Using the form to populate the blog database (maybe via the API you suggest you’re considering)
-
Redirecting the “edit post” button to a custom form.