Genesis Printstyle Plus
Loading plugin after loading content (2 posts)

  1. Old Cow
    Posted 3 years ago #

    Genesis Printstyle Plus is loading before the site/page is fully presented to the visitor in the browser. What can I do to have the plugin load after everything else is displayed/loaded to decrease load-time, and make sites faster?


  2. daveshine (David Decker)
    Plugin Author

    Posted 2 years ago #

    @Old Cow:
    Sorry, I somehow missed your post!

    If it is still relevant:
    Loading CSS in the header is the best solution. However, you can remove the hook with the stylesheet and add it elsewhere (maybe the footer...).


    remove_action( 'wp_enqueue_scripts', 'ddw_gpsp_add_hook' );

    Re-add elsewhere:

    add_action( 'genesis_after', 'ddw_gpsp_add_hook' );
    add_action( 'wp_footer', 'ddw_gpsp_add_hook' );

    I hope this helps.

    Thanks, Dave :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Printstyle Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic