modify module file

Posted in: Newspaper
Post count: 89

Hi,

I created a new CPT ‘vendors’ and taxonomoies ‘location’ and ‘price’ and wanted to show ‘location’ and ‘price’ on this page https://snipboard.io/EzeMhN.jpg .

I knew I would need to edit the module file as shown in this tutorial https://forum.tagdiv.com/edit-modules-flex-block-x/, but can you let know how to edit it here exactly? For example, I opened my module file and change the taxonomy to ‘location’ but it didn’t work. https://snipboard.io/7npkec.jpg Anything else do I need to change? Under the taxonomy ‘location’, I have a few cities names already https://snipboard.io/vb16JY.jpg

Post count: 27744

Hi,

Next week we will make an update, and then you will be able to easily create your new modules with tagdiv Composer, without making any changes to the files.
You need to add your taxonomy here -> https://i.imgur.com/Or6mgMU.png in the file td-doctors-pro-demo after you need to duplicate the code and set your taxonomy and the elements that you want to add.

Thank you!

Post count: 89

Great! I’ll wait for the update next week!

Post count: 89

I installed the 12.4 update and went to module builder and it was empty. When I clicked ‘import(+)’, there was only Blank Module available. Nothing to import. Please tell me how to import the current module (i.e., Doctoc Pro Module) and modify.

Another question is how to apply the new module after I create one. I created a blank module to test but didn’t see it when I edited Flex Loop. There were still the previous modules (Doctor Pro module, Module 1 and 2) and no place to import the new module.

Basically my goal is to make some changes to Doctor Pro Module: show the location taxonomy; change the price sign to a language sign and show language taxonomy. These taxonomies were created with a new CPT ‘vendors’ so I think that’s why they didn’t show up in the doctor pro module. https://snipboard.io/BfJjAo.jpg

Post count: 89

I also want to show a taxonomy on the featured image in Flex Loop results (with Doctor Pro Module), like this one https://snipboard.io/kZiubT.jpg Is it possible? The other two modules (module 1 and 2) have this feature but I can’t show the reviews for some reason.

Post count: 27744

Hello,

I said that you can create, not that the modules from Doctors will be there. You can create a module using this option -> https://forum.tagdiv.com/modules-builder-newspaper-theme/ and you need to use the Flex Block Builder and Flex loop Builder to show the modules -> https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/

Thank you!

Post count: 89

Now the only thing I want to change on the Doctor Module is to change the price info to another taxonomy ‘business’. https://snipboard.io/cg7b2i.jpg

Can you show me how to do this by modifying the files instead of creating a new module? I tried to create a new one but it’s too messy so I guess it might be easier to modify the existing one.

The taxonomy ‘business’ has child and sometimes grandchild taxonomies. Can I show the granchild taxonomy if there is one?

Thank you!

Post count: 27744

Hello,

You need to set another custom field here https://i.imgur.com/IauF2hM.png to display other field.

Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.