English 中文(简体)
Is there way to and how deploy jquery on top of redux?
原标题:

i m about asking for help with a Redux/React js, as the several(~10) Freelance Modern JS technicians gave up on this task. The script in question is from the WordPress commercial theme i ve purchased and the author denied to provide support as the support license expired(unused). So, the theme s front-site page is generated via Redux WP plugin by file named "theme.js". It is containing javascript compressed code that is too complex to manually edit while my task is just to move a few div content blocks from the default positions into new and have somewhat more appealing page layout.

Would interested here, take a look at the scripts in the attachment, "theme.js" is the actual generated layout file, the "edit-blocks-positioning.txt" are the listed block modifications i want to apply(into theme.js*) and it s jquery version is the "jquery-mod.js"(**),

  • please suggest how to edit(*) or how to have jQuery(**) to work on top of the Redux generated "theme.js".

I ve read about React, Node JS etc.Modern Framework JS, where are provided standard ways to have working jQuery as with import jquey, custom library method "nodeQuery", ES6 syntax for jquery import and also "expose-loader" of "webpack" as this script is working under 10 s of js frameworks libraries as React,Node,Babel,WebPack... still with all NPM modules installed around 100k files, set and tested but no avail on this small task!

To add, i ve the simplest applicable solution "jquery-mod.js" working albeit only with the opened browser Development Tools.

Files

https://file.io/nUqv7M01rNeP edit-blocks-positioning.txt 3 KB theme.js 2 MB

jquery-mod.js : jQuery(function() { jQuery( section.product--section:nth-child(1) ).insertBefore( .profile--owner ); jQuery( .product--actions.flex.justify-between.py-14.pl-24.pr-30.bg-grey-100 ).insertBefore( .product--advertisement.mt-30 ); jQuery( .product--actions ).insertBefore( .product--advertisement.mt-30 ); });

Thank you for any contributions or advice on this regard.

问题回答

暂无回答




相关问题
VS 2008 : How to publish with out DLLs?

I have developed a web application in Visual Studio 2008 and want to publish it in to the production server. I see a publish option there.But its producing files with DLL. I dont want to publish only ...

Apache: Deploying a new site to the server

I have a site currently live on a domain. I would like to switch it to a new site, that is currently in a password protected sub directory on this server. I have a "Site Maintenance in Progress" page....

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Pylons deployment questions

I m a beginner with Pylons and I ve mostly developed on my localhost using the built-in web server. I think it s time to start deployment for my personal blog, I have a Debian Lenny server with ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Need advice on my PHP development solution

Here is how our current php development solution is set up: Each developer work on their local machine. Each developer commit their change to a common SVN server (intranet). A commit hook upload the ...

loading from JAR files during deployment vs development

when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() or getRessourceAsStream() to ...

热门标签