Title: script not loading on posts page / home.php?
Last modified: November 15, 2020

---

# script not loading on posts page / home.php?

 *  Resolved [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/)
 * Hello,
    I’m experiencing something weird with this plugin that I’ve never encountered
   in all my years using it. I’m baffled and have tried and tried to google, to 
   no avail. I apologize if I’m being blind to something.
 * The shortcode will load on every post, custom post type, page, and every category
   archive intro that I’m using (on a Genesis child theme), **_except_ not on the
   Posts Page.** This is the page that is set as the ‘static’ Posts Page to show
   the blog separately from a WP home page under Settings > Reading.
 * I am using this page to display the blog post with a custom template called home.
   php to show the archive intro, like on other category archive. I used [this method](https://robincornett.com/posts-page/).
   The shortcode is placed in the body text of that page, using the block editor,
   just like I do on every other page.
 * The expand collapse shortcode appears as _text_, but it does not expand or collapse.
   I look in the HTML, and the js won’t load at all. I tried loading it in the header
   as explained here: [https://wordpress.org/support/topic/collapse-o-matic-doesnt-work-after-plugin-update/](https://wordpress.org/support/topic/collapse-o-matic-doesnt-work-after-plugin-update/)
   but it didn’t work.
 * I have tried undoing, and re-checking a bunch of plugin settings. I tried turning
   off the setting to only load if the shortcode is being used. I tried turning 
   on the filter. I’ve tried disabling plugins, disabling minification of all js,
   disabling caches, clearing caches, resetting file permissions (just in case),
   disabling the customized home.php template… and no matter what, the collapse-
   o-matic script won’t load on this page.
 * Do you know why? How can this be fixed?
 * Thank you

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13664048)
 * sounds like there is a JavaScript error on that page.
    can you share a link to
   the page in question?
 *  Thread Starter [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13685897)
 * Hello, I am sorry if this was presumptuous but I’ve sent the link to [info@twinpictures.de](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/info@twinpictures.de?output_format=md).
   I needed to share privately.
 * I really appreciate your help.
 * I could not find any relevant error when enabling a debug log (or at least I 
   don’t think I did).
 *  Thread Starter [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13719087)
 * Just a follow up. I’ve tried this on a ‘raw,’ unaltered, brand new theme (a Genesis
   child theme called Essence Pro), with all plugins deactivated (except collapse-
   o-matic) and I get the same results (with or without an excerpt appearing on 
   the blog page). The collapse-o-matic script just doesn’t load on that page. Is
   this expected behaviour?
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13719923)
 * Strange. Alright, please resend us the info on your page to the email address(
   you posted publicly) above. _Be sure_ to include a link back to this thread, 
   and we’ll take a look and get this sussed out for you.
 *  Thread Starter [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13720972)
 * Thank you this is done, I’ve resent it
 *  Thread Starter [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13875016)
 * This was solved another way, as you said the entire page was not loading shortcodes
   at all. Thank you so much for your help and attentiveness.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘script not loading on posts page / home.php?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [expand collapse](https://wordpress.org/support/topic-tag/expand-collapse/)
 * [home.php](https://wordpress.org/support/topic-tag/home-php/)
 * [js not loading](https://wordpress.org/support/topic-tag/js-not-loading/)
 * [posts page](https://wordpress.org/support/topic-tag/posts-page/)
 * [static-page](https://wordpress.org/support/topic-tag/static-page/)

 * 6 replies
 * 2 participants
 * Last reply from: [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/script-not-loading-on-posts-page-home-php/#post-13875016)
 * Status: resolved