Title: Eric's Replies | WordPress.org

---

# Eric

  [  ](https://wordpress.org/support/users/ekyle/)

 *   [Profile](https://wordpress.org/support/users/ekyle/)
 *   [Topics Started](https://wordpress.org/support/users/ekyle/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ekyle/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ekyle/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ekyle/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ekyle/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ekyle/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Statuses - Custom Post Status and Workflow] Incompatibility with The Events Calendar Pro](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/#post-17394319)
 * No errors appear through the entire workflow now. Thank you for your diligence
   and timeliness in getting these resolved!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Statuses - Custom Post Status and Workflow] Incompatibility with The Events Calendar Pro](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/#post-17394267)
 * The previous errors are not appearing anymore, only this one. I followed the 
   same procedure and received the following:
 *     ```wp-block-code
       Uncaught TypeError: $ is not a function
           PPCS_RecaptionOnDisplay http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.7-rc:7
           ppPostSavingDone http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
           setTimeout handler*ppPostSavingDone/< http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
           setTimeout handler*ppPostSavingDone http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:22
           redirectCheckSaveDoneInterval http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:26
           setInterval handler*ppPostSaveCheck http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:26
           redirectCheckSaveInterval http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:27
           setInterval handler* http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.7-rc:27
           jQuery 13
       custom-status-block.js:7:48
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Statuses - Custom Post Status and Workflow] Incompatibility with The Events Calendar Pro](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/#post-17388788)
 * An error no longer appears when editing or creating a new page until the Update
   or Workflow > Pitch(Next Status) button is clicked in which case the following
   errors occur:
 * Appears 1 time:
 *     ```wp-block-code
       Uncaught TypeError: $ is not a function
           ppEnablePostUpdate https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
           ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:21
           redirectCheckSaveDoneInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
           setInterval handler*ppPostSaveCheck https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
           <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:27
           jQuery 10
           <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
           <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
       custom-status-block.js:30:604
       ```
   
 * Repeats multiple times:
 *     ```wp-block-code
       Uncaught TypeError: $ is not a function
           intRestoreToggle https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
           setInterval handler*ppEnablePostUpdate https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc2:30
           ppPostSavingDone https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:21
           redirectCheckSaveDoneInterval https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
           setInterval handler*ppPostSaveCheck https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:26
           <anonymous> https://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/post-block-edit.js?ver=1.0.6.6-rc2:27
           jQuery 10
           <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
           <anonymous> https://wordpress.local/wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget.min.js?ver=6.3.1:11
       393 custom-status-block.js:30:104
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Statuses - Custom Post Status and Workflow] Incompatibility with The Events Calendar Pro](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/#post-17388306)
 * The result is different though there is still an error reported.
 *     ```wp-block-code
       Uncaught TypeError: $ is not a function
           querySelectableStatuses http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:2
           jQuery 9
           querySelectableStatuses http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:2
           refreshSelectableStatuses http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:5
           sideEffectL10nManipulation http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:11
           jQuery 10
           sideEffectL10nManipulation http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:9
           <anonymous> http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:12
           setInterval handler* http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.6-rc:12
           jQuery 13
       custom-status-block.js:2:1594
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Statuses - Custom Post Status and Workflow] Incompatibility with The Events Calendar Pro](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/incompatibility-with-the-events-calendar-pro/#post-17385860)
 * Sure thing. I updated to Statuses 1.0.6.5 and unfortunately the problem remains.
   The console error repeats roughly 2 to 3 times per second.
 *     ```wp-block-code
       Uncaught TypeError: $ is not a function
           sideEffectL10nManipulation http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.5:10
           <anonymous> http://wordpress.local/wp-content/plugins/publishpress-statuses/common/js/custom-status-block.js?ver=1.0.6.5:12
       35 custom-status-block.js:10:50
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cloudflare] Automatic Cache Management and Large Custom Menus](https://wordpress.org/support/topic/automatic-cache-management-and-large-custom-menus/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/automatic-cache-management-and-large-custom-menus/#post-9349862)
 * There are only 24 items in the purged URLs array and appears that the purge cache
   succeeds based on the message “DEBUG:purgeCacheByRevelantURLs succeeded”.
 * However, the menu never finishes saving and a 502 error is generated. The 502
   error is caused by the host stopping the script from exceeding a threshold of
   time, so technically the problem is not caused by the CloudFlare plugin, but 
   the environment it is in.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cloudflare] Automatic Cache Management and Large Custom Menus](https://wordpress.org/support/topic/automatic-cache-management-and-large-custom-menus/)
 *  Thread Starter [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/automatic-cache-management-and-large-custom-menus/#post-9348065)
 * Most likely it is on the edit_post action since each menu item is a post and 
   updating the menu item causes each to be updated as well. Here are the relevant
   functions associated with a menu update.
 * wp_nav_menu_update_menu_items()
    wp_update_nav_menu_item() update_post_meta()
   wp_update_post() wp_insert_post()
 * The last, wp_insert_post, executes the edit_post action. So it would seem that’s
   where the inefficiency may be. Granted, I have not delved into the CloudFlare
   plugin code so I could be mistaken as to the cause.
 * [https://github.com/cloudflare/Cloudflare-WordPress/blob/master/cloudflare.loader.php#L84](https://github.com/cloudflare/Cloudflare-WordPress/blob/master/cloudflare.loader.php#L84)
 * There are no errors, just the timeout.
 * The menu in question has 600 items. Without ACM active, it saves in under 12 
   seconds, but with ACM, it exceeds the time allowed for script execution on the
   server.
 * As an alternative to disabling ACM all the time, we can just disable it during
   menu edits. I hope this information helps.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cannot center content div for for different mobile devices](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/#post-7281269)
 * Great to hear. You are quite welcome.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove wordpress and theme name from footer](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/#post-7284977)
 * Sure. In order to do that though, you would need to setup a child theme or utilize
   hooks within the active theme to override the template output.
 * [Setting up a child theme](https://codex.wordpress.org/Child_Themes) is documented
   in the codex. Once the child theme is setup and activated, you would need to 
   identify the template part responsible for generating the footer within the active
   theme, copy it to your child theme and make necessary modifications. Child theme
   templates override their parent theme counterparts.
 * [Hooks](https://www.elegantthemes.com/blog/tips-tricks/learning-to-use-wordpress-hooks)
   can be found by searching the source code for apply_filters or do_action then
   leveraged by using add_filter and add_action function calls respectively.
 * Hope this helps.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove wordpress and theme name from footer](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/#post-7284917)
 * It appears the stylesheet override is not loading. It doesn’t appear you are 
   using a child theme it could mean the custom CSS plugin or method you are using
   is not functioning as expected.
 * I suggest using the [Jetpack](https://wordpress.org/plugins/jetpack/) plugin’s
   Custom CSS module. [Instructions for using the module](https://jetpack.com/support/custom-css/)
   are located at jetpack.me.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove wordpress and theme name from footer](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/#post-7284883)
 * Sure. At the moment it seems the site is not loading properly so I cannot analyze
   the issue properly. However, you could try adding the “!important” directive 
   to the CSS like so:
 *     ```
       .copyright > .free-credit { display: none !important; }
       ```
   
 * Let me know if that doesn’t work and I’ll have a look at the code when the site
   is available.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cannot center content div for for different mobile devices](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/#post-7281156)
 * Sure thing. The widget panels do not seem to transform their size and position
   gracefully since at some point they end up overlapping one another. After looking
   at the code a while, I think it might be best to lock the width of the page to
   920px until it reaches the point at which the grid of panels stack. Give this
   a try.
 *     ```
       @media screen and (min-width:681px) {
           .siteorigin-panels section.entry {
               min-width: 920px !important;
           }
       }
       ```
   
 * Let me know if that works out for you.
 * PS – The author of the [SiteOrigin Widgets Bundle](https://wordpress.org/plugins/so-widgets-bundle/)
   may have some additional insights into the issue as well.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cannot center content div for for different mobile devices](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cannot-center-content-div-for-for-different-mobile-devices/#post-7281140)
 * It seems you would need to set the left and right margin of the div in question
   to auto and unset the float. The “!important” directive may not be necessary,
   but I included it just in case.
 *     ```
       @media screen and (max-width:680px) {
           .so-widget-sow-editor > .textwidget > div {
               margin: 0 auto !important;
               float: none !important;
           }
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Remove wordpress and theme name from footer](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-wordpress-and-theme-name-from-footer/#post-7284838)
 * The following CSS should do the trick:
 *     ```
       .copyright > .free-credit { display: none; }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Half Width on some iphones](https://wordpress.org/support/topic/half-width-on-some-iphones/)
 *  [Eric](https://wordpress.org/support/users/ekyle/)
 * (@ekyle)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/half-width-on-some-iphones/#post-7284836)
 * Typically when you see this type of issue it means an element somewhere on the
   page is set to have a minimum or fixed width. In this particular case, the Accreditation5.
   jpg image is set to be 1034px wide and 100px tall and will not scale.
 *     ```
       <img style="border: 1px solid black; margin: 10px;" src="http://new.kingcoffeemug.com/wp-content/uploads/2016/03/Accreditation5.jpg" alt="" usemap="#Map" height="100" border="0" width="1034">
       ```
   
 * You would need to manipulate the image tag directly or setup CSS to override 
   the width and height.
 * HTML:
 *     ```
       <img style="border: 1px solid black; margin: 10px;" src="http://new.kingcoffeemug.com/wp-content/uploads/2016/03/Accreditation5.jpg" alt="" usemap="#Map" border="0" width="100%">
       ```
   
 * CSS:
 *     ```
       img[src*="Accreditation5"] {
           width:100% !important;
           height: auto !important;
       }
       ```
   

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