Can we replace files in wp_booster with API method

Posted in: Newsmag
Post count: 44

Hi there,

Thank you for your continued help. I would like to show custom post types grid (like the category mega menu) in the mega menu and hence need to edit td_menu.php and td_menu_back.php. I know how to, needs a load of changes. I want to know if these files are also available through the API method or the child theme.

Post count: 780

Hi,

I will investigate this and I will try to add a class_exists for the three classes in the next version (1-2 weeks) for the following classes td_menu, td_tagdiv_walker_nav_menu, td_nav_menu_edit_walker . I did not managed to fully understand the consequences of such a change now because we are all replying to support requests 🙂 but I think it will allow full menu customization. (or if we include the files with locate template – that should also work).

Do your modifications now and after that you can use a diff tool like WinMerge to bring your changes to the new version in the child theme / plugin.

  • This reply was modified 11 years by Radu.
Post count: 44

Locate template should work. I have made changes to td_ajax registration function as I needed a check to deny spaces in username and a minimum character limit. I made changes to td_data_source to include CPT in search and wp_query. Keeping track of all these core changes is a big headache. Doing it like how Woocommerce does would be very helpful to developers who need to take the theme a step further.

P.S. – Support for CPTs is of the utmost importance as of now. Are you guys working on it?

And thank you for pointing out WinMerge. Looks super useful.

Post count: 780

Hi,

Currently we are working to fix all the issues in the core of the theme and after that we will implement better support for custom post types and custom taxonomies. In the long term we are aiming for better support even for woocommerce via our blocks.

I’ve added this thread to our task list and we will investigate the performance impact of changing the core of the theme from require to locate_template

  • This reply was modified 11 years by Radu.
Post count: 44

Thank you for your support. Looking forward to the developments.

Post count: 44

I will investigate this and I will try to add a class_exists for the three classes in the next version (1-2 weeks) for the following classes td_menu, td_tagdiv_walker_nav_menu, td_nav_menu_edit_walker . I did not managed to fully understand the consequences of such a change now because we are all replying to support requests 🙂 but I think it will allow full menu customization. (or if we include the files with locate template – that should also work).

Any update on this now that v2 is out? Can we alter files in wp_booster folder via child theme or the API?

Post count: 6600

Hi,

Yes, this possibility has been added within the latest update, however not all files located there can be altered using the child theme. You can find more info here: https://forum.tagdiv.com/child-theme-documentation-newsmag/

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.