How to show products in posts via tags?
I have made a custom view which I am using in my blog posts when I make for example a top 10 review of products. I am using it after each review = 10 times per post. The short code I am using is: [DFR:My custom view?word=coca cola]
My custom view = the name I gave the view when I made it
coca cola = the brandname from where I want products to be shown - it can be more then one word.
Now I became aware that when I use the same short code, I have an issue with illegal attributes bec. it is the same CSS ID.
Does any of you have a good tip, idea or maybe an alternative, to how I can show products in posts via tags/keywords/brandname without having illegal css as above?
I can't imagine that I have to make a new view for each block of products I want to show...
What you can do to get rid of duplicate CSS IDs is to configure your custom view to "Don't use layout for this view" (under View's menu > View Properties).
The only issue then is you will need to add a wrapper <div> around all of your embedded views like this:
|All times are GMT -5. The time now is 12:51 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.