Skip to content

Performances: Enqueue the plugin resources only when necessary #35

@audrasjb

Description

@audrasjb

For better performances, the CSS and JS resources of the plugin should be enqueued only when they are needed.

Not sure what's the best option here, but it's possible to perform a regexp on the_content and to enqueue the resources only when a link to wikipedia is used in the content of the post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions