Coder Social home page Coder Social logo

Comments (3)

tommcfarlin avatar tommcfarlin commented on July 24, 2024

@rpasillas Great question -- I really need to spend some time refactoring this particular repository.

In short, yes. It's possible to have them load on front-end pages on which the widget exists. I can give a really generic response or a particular solution to your problem.

So do you have a single page or a set of pages identified by, say, a category, tag, custom taxonomy, title, or something like that you're looking to target? Or are you just looking to target all front-end pages?

Let me know and I can provide a solution for you.

from wordpress-widget-boilerplate.

rpasillas avatar rpasillas commented on July 24, 2024

I was able to modify the boilerplate to have the scripts load only where I need them. But I panicked when my scripts stopped loading at all on my WP Engine website. The solution was working locally but not on my host so I figured I was doing something wrong, but it was a caching issue on WP Engine.

from wordpress-widget-boilerplate.

tommcfarlin avatar tommcfarlin commented on July 24, 2024

Ah, gotcha! If you've got it sorted, then I'll close the ticket but don't hesitate to open it again if you have more issues around it.

from wordpress-widget-boilerplate.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.