Create a Custom Block Using Module 1

Posted in: Newspaper
Post count: 17

I’d like to have a featured video on the front page that is always the newest video. I’d like it to actually SHOW the YouTube video so the user can click on the video immediately without having to go to the individual post.

I tried creating block0 and just replacing everything with module1 but my block doesn’t show up in visual composer.

Am I on the right track for how to do this? I’m basically just trying to turn module 1 into a functioning block.

Let me know if anyone has any suggestions! Thanks!

Post count: 854

hi,
i have talk wit my colleagues and they also said that what you want is hard to do.
you need to custom create a hole block and a module to display the video directly in page.

good look

Thanks for you message.
Radu A.

Post count: 17

Hi Radu! Module 1 plays videos fine no problem… I just want to have a block that uses Module 1… You have described many times that you can make custom blocks… Let me ask a simpler question…

If I make a Custom Block, how do I get it to show up in Visual Composer?

Post count: 854

hi,
if we describe others times how to make custom blocks what don’t you use that info to create your desired block?

after talking with my colleagues seems that the simple way to make a black is to copy an existing block, change his name (not only of the file, but also in the file : http://screencast.com/t/jcst0tJi), then take a look at the bottom of the file, the last line register the block in the Visual composer : http://screencast.com/t/a6KjxMIz

also be sure to add your new module here: http://screencast.com/t/uUOKHHJq5Ixk

also take a look at the Visual composer documentation maybe you will find it useful:
http://kb.wpbakery.com/index.php?title=Extend_Visual_Composer
http://kb.wpbakery.com/index.php?title=Visual_Composer_tutorial

hope this help

Thanks for you message.
Radu A.

  • This reply was modified 12 years by Radu A.
  • This reply was modified 12 years by Radu A.
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.