Hi dannyogolo,
There is no “quiz” page – you instead embed a quiz anywhere you want on your site such as a post, page, sidebar, etc.
Because of this, as long as your theme supports featured images, you can just set the post featured image.
So I recommend doing the following.
– First, create a new post category called “quizzes” (or whatever you want).
– Create a new post for each quiz. Set the featured image of the post.
– Use your WPBakery block to display the new quizzes category in the grid.
Thanks a minllion. Worked perfectly. I had to create a custom post type and used it to implement your idea because creating a cathrgory is not an option for me due to certain things on my website. Thanks
Well, I cant tell what happened. After reading your reply, I tried a test by creating an unserious custom post type which i used instead of cathegories. It worked fine as I desired,
But then, i deleted the post type and the created the actual custom postwith the name I wanted. Then it wouldnt show up again. I really cant tell where the error is coming from. I dont know if it has anything to do with the post type which i forst deleted
Hi dannyogolo,
I cannot say for sure why and this issue is unrelated to HD Quiz (this would be an issue with WPBakery or your theme), but I have a theory that might help!
I think the key is that the CPT that you deleted and then recreated uses the same name. The WPBakery block is probably not smart enough to save your selected CPT by ID and uses slug instead. If this is the case, then the solution should be to delete the block and then add a new one making sure to select your new CPT. This should essentially “flush” out your old selection of the now-deleted CPT allowing the new and real one to be used.
Seems it has something to do with deleting the pasge otself. I did as you suggested, but error remained. SO i decided to put the grid element inside a post (no more a page) and this time using a text element instead of raw html for the CPT where i put the Quiz shortcode. The first time I did and previewed the post, it showed. Then I deleted the post.
I assumed the html element was the error, so i changed the element in the original page to text element and deleted the testing post. Well, the original page didnt work again.
I decided to create another post to try something else, but then, the post also is no more showing. SO it seems after using the setup on a page/post and deleting it, then it cant work again.
Is this something you can think how it happened?
-
This reply was modified 4 years, 9 months ago by
dannyogolo.
Ok, fixed it.
It was the Taxonomy slug wrong naming