2023-10-16, 12:00:04
(2023-10-15, 18:48:26)islander Wrote:Hello Cath, let me see if I can walk you though it.
If you have already installed the plugin and activated it, go back to the Plugins tab and from the side menu choose "MutliBlock Settings".
Next, click the "Add New MultiBlock" button.Here you will give it section a name and slug (holder), add your desired field types, and create a template to hold these fields.
For example:Section Name= My Products
Slug = products
(click "Add New Field" 3 times)Field Name | Slug | Default Value | Field Type
Product Title | title | | TextProduct Image | photo | | imageDescription | description | | Wysiwyg
Click save, and now click on the "Template" button to add your template.
For example:<div><img src="<?php mbvaluetext('photo');?>"><h4><?php mbvaluetext('title');?></h4><span style="color: grey"><?php mbvalue('valuename');?></span></div>
Click save and go to your Theme tab and edit theme.Place <?php getMultiBlock('products');?> where you would like your new blocks to appear.
Finally, go to your Pages tab and click "MutliBlock".Here you should see "My Products" in the dropdown list.
Choose Section, then click "Add New +" and populate your desired info.Hope this helps!
I've followed the steps and they work brilliantly!
If I add a field type "Dropdown", how to I add items to it?
How difficult would it be to add a video field type (I want HTML video, not Youtube or Vimeo). Is this something I could pay to have done?
This is a small thing, but if I select WYSIWYG as the field type, <p> tags are displayed in the website. It's not a big deal - I just switched to textarea and that works fine.
Thank you so much again. I'm SO happy!