adieu
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Removing a horizontal gray barResolved.
Forum: Themes and Templates
In reply to: [Hueman] Removing a horizontal gray barWorked like a charm. Thank you, Jarret.
Oh, and I better mark this resolved.
PHP version has been updated to 7.1.24. I will also update to the new version of Nimble Builder that I received today. But might wait a day or two till I get some work out of the way. ?? Thanks for your help.
Thanks Rocco and Nicolas,
It was the latest version of the plugin that I updated to yesterday that caused the problem. My dilemma is that I cannot turn it on and off to test the plugin. If I activate and I get the same parse error I will have to get my host to disable the plugin so I can access the site. He asked me not to do that!
But I will pursue the PHP issue with my host.
Here it is.
# SITE_URL: https://salishseapilot.com # HOME_URL: https://salishseapilot.com # IS MULTISITE : No # THEME | VERSION : Hueman | v3.4.17 # WP VERSION : 5.1.1 # PERMALINK STRUCTURE : /%postname%/ # 10 ACTIVE PLUGINS : - Akismet Anti-Spam (version 4.1.1) - Hueman Addons (version 2.2.4) - Jetpack by WordPress.com (version 7.2) - Landing Pages (version 2.7.6) - Pixel Cat Lite (version 2.4.0) - Press This (version 1.1.1) - Raw HTML (version 1.5.1) - Really Simple SSL (version 3.1.5) - Ultimate Category Excluder (version 1.1) - UpdraftPlus - Backup/Restore (version 1.16.10) # PHP Version: 5.4.45 # MySQL Version: 5.6.41-84.1 # Web Server Info: Apache # WordPress Memory Limit: 256MB # PHP Memory Limit: 256M # PHP Upload Max Size: 64M # PHP Post Max Size: 64M # PHP Upload Max Filesize:64M # PHP Time Limit: 30 # PHP Max Input Vars: 1000 # PHP Arg Separator: & # PHP Allow URL File Open:Yes # WP_DEBUG: Disabled # Show On Front: posts # Page On Front: (#0) # Page For Posts: (#0)
Forum: Fixing WordPress
In reply to: None of my blog posts or pages will openIt did. Turned everything off and the site seems to be working fine.
A milllion thank yous, though I realize that is something I should have tried before posting.
Not 100% sure, but it seems that Classic Editor is conflicting with something. Maybe I have to learn Gutenberg ??
Will keep testing. Have a wonderful day.
Forum: Themes and Templates
In reply to: [Hueman] Something is not rightThanks. Turns out my problem was a plugin conflict. Turned everything off and the site worked fine. Not 100% sure, but think the problem is Classic Editor not working with something else. Maybe have to learn Gutenberg ??
Forum: Fixing WordPress
In reply to: None of my blog posts or pages will openThanks Kartik, will try to disable the plugins in the morning. The last I installed was Classic Editor.
Forum: Fixing WordPress
In reply to: None of my blog posts or pages will openLast time I tried it my wait was no more than 30 seconds.
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/jimbim/public_html/salishseapilot.com/wp-includes/class-wp-hook.php on line 331
Forum: Fixing WordPress
In reply to: None of my blog posts or pages will openThanks for that. Much appreciated.
I added your code to htaccess, but there was already this line in wp-config.php
define( 'WP_MEMORY_LIMIT', '256M' );
so figured the memory was already bumped up.
The wait for the links to open was longer, but the result was the same.
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/jimbim/public_html/salishseapilot.com/wp-includes/class-wp-hook.php on line 285
Don’t understand why the error message still claims an execution time of 30 seconds.
This is my htaccess file with your code.
# BEGIN W3TC Browser Cache <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access video/webm application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$"> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> </FilesMatch> <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> <IfModule mod_headers.c> Header unset Last-Modified </IfModule> </FilesMatch> <IfModule mod_headers.c> Header set Referrer-Policy "" </IfModule> # END W3TC Browser Cache # BEGIN W3TC Page Cache core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:_gzip] RewriteCond %{HTTP_COOKIE} w3tc_preview [NC] RewriteRule .* - [E=W3TC_PREVIEW:_preview] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache core # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> <IfModule mod_php5.c> php_value post_max_size 32M php_value upload_max_filesize 32M php_value memory_limit 128M php_value max_execution_time 600 php_value max_input_time 600 php_value session.gc_maxlifetime 900 </IfModule> # END WordPress
Forum: Themes and Templates
In reply to: [Hueman] Unable to save posts in new WordPressThanks Nicolas,
I didn’t, but will.
Cheers
Forum: Themes and Templates
In reply to: [Hueman] I have a poor excuse for a responsive siteIf I want to rebuild the child theme, but also want the site open to visitors/buyers while I am doing this, would it make sense to build it in multisite?
I’ve not used multisite before, but I think I could build the new site without affecting the old, then copy over the child thing when I am done.
One thing I’m going to do on any new build is keep a record of what I did and why!!
Forum: Themes and Templates
In reply to: [Hueman] I have a poor excuse for a responsive siteThat was the style.css, of course.
This is the sidebar.php:
<?php $layout = hu_layout_class(); if ( $layout != 'col-1c'): ?> <div class="sidebar s1"> <a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a> <div class="sidebar-content"> <?php if ( hu_is_checked('sidebar-top') ): ?> <div class="sidebar-top group"> <p><?php echo hu_has_social_links() ? __('Follow:','hueman') : ' ' ; ?></p> <?php hu_print_social_links() ; ?> </div> <?php endif; ?> <?php if ( hu_get_option( 'post-nav' ) == 's1') { get_template_part('parts/post-nav'); } ?> <?php if( is_page_template('page-templates/child-menu.php') ): ?> <ul class="child-menu group"> <?php wp_list_pages('title_li=&sort_column=menu_order&depth=3'); ?> </ul> <?php endif; ?> <center><a href="https://salishseapilot.com/cruising-guides"><img src="https://salishseapilot.com/guide-promo-v6.gif" alt="Salish Sea Pilot guides" border="0" /></a> <p> <h4>OUR NEWSLETTER</h4> <input type="email" name="EMAIL" placeholder="Email address" required /> </p> <p> <input type="submit" value="Sign up" /> </p></center> <?php hu_print_widgets_in_location('s1') ?> </div><!--/.sidebar-content--> <center> </p></center> </div><!--/.sidebar--> <?php if ( ( $layout == 'col-3cm' ) || ( $layout == 'col-3cl' ) || ( $layout == 'col-3cr' ) ) { get_template_part('sidebar-2'); } ?> <?php endif; ?>
This is the child sidebar-2.php:
<div class="sidebar s2"> <a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a> <div class="sidebar-content"> <?php if ( hu_is_checked('sidebar-top') ): ?> <div class="sidebar-top group"> <p><?php _e('News','hueman'); ?></p> </div> <?php endif; ?> <?php if ( hu_get_option( 'post-nav' ) == 's2') { get_template_part('parts/post-nav'); } ?> <?php hu_print_widgets_in_location('s2') ?> </div><!--/.sidebar-content--> </div><!--/.sidebar-->
The child featured.php:
<?php // Query featured entries $featured = new WP_Query( array( 'no_found_rows' => false, 'update_post_meta_cache' => false, 'update_post_term_cache' => false, 'ignore_sticky_posts' => 1, 'posts_per_page' => hu_get_option('featured-posts-count'), 'cat' => '-16' ) ); ?> <?php do_action( '__before_featured' ); ?> <?php if ( is_home() && !is_paged() && ( hu_get_option('featured-posts-count') =='1') && $featured->have_posts() ): // No slider if 1 post is featured ?> <div class="featured"> <?php while ( $featured->have_posts() ): $featured->the_post(); ?> <?php get_template_part('content-featured'); ?> <?php endwhile; ?> </div><!--/.featured--> <?php elseif ( is_home() && !is_paged() && ( '0' != hu_get_option('featured-posts-count') ) && $featured->have_posts() ): // Show slider if posts are not 1 or 0 ?> <script type="text/javascript"> // Check if first slider image is loaded, and load flexslider on document ready jQuery(function($){ var firstImage = $('#flexslider-featured').find('img').filter(':first'), checkforloaded = setInterval(function() { var image = firstImage.get(0); if (image.complete || image.readyState == 'complete' || image.readyState == 4) { clearInterval(checkforloaded); $('#flexslider-featured').flexslider({ animation: "slide", useCSS: false, // Fix iPad flickering issue directionNav: true, controlNav: true, pauseOnHover: true, animationSpeed: 400, smoothHeight: true, touch: <?php echo apply_filters('hu_flexslider_touch_support' , true); ?>, slideshow: <?php echo hu_is_checked('featured-slideshow') ? 'true' : 'false'; ?>, slideshowSpeed: <?php echo hu_get_option('featured-slideshow-speed', 5000); ?>, }); } }, 20); }); </script> <div class="featured flexslider" id="flexslider-featured"> <ul class="slides"> <?php while ( $featured->have_posts() ): $featured->the_post(); ?> <li> <?php get_template_part('content-featured'); ?> </li> <?php endwhile; ?> </ul> </div><!--/.featured--> <?php endif; ?> <?php wp_reset_postdata(); ?> <?php do_action( '__after_featured' ); ?>
And the child functions.php:
<?php /* Write your awesome functions below */ add_image_size( 'thumb-medium', 345, 162, true ); function hu_load() { // Load theme languages load_theme_textdomain( 'hueman', get_stylesheet_directory().'/languages' ); // Load theme options and meta boxes // load_template( get_template_directory() . '/functions/theme-options.php' ); load_template( get_template_directory() . '/functions/init-meta-boxes.php' ); // Load custom widgets load_template( get_stylesheet_directory() . '/functions/widgets/alx-tabs.php' ); load_template( get_template_directory() . '/functions/widgets/alx-video.php' ); load_template( get_template_directory() . '/functions/widgets/alx-posts.php' ); // Load dynamic styles load_template( get_template_directory() . '/functions/dynamic-styles.php' ); } function my_exclude_category( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( 'cat', '-16' ); } } add_action( 'pre_get_posts', 'my_exclude_category' ); // Remove news category posts from list of featured posts so the list matches the posts // used in featured.php. This list is used in function hu_pre_get_posts() to remove the // featured posts from the content posts so they're not duplicated function hu_get_featured_post_ids() { $args = array( 'category' => '-16', 'numberposts' => hu_get_option('featured-posts-count') ); $posts = get_posts($args); if ( !$posts ) return false; foreach ( $posts as $post ) $ids[] = $post->ID; return $ids; }
If something jumps out at anyone who might see this, I would love to hear about it. Otherwise would like an idea where you would start first to find the problem.
Thanks in advance for any help.
- This reply was modified 7 years, 7 months ago by adieu.
Forum: Themes and Templates
In reply to: [Hueman] I have a poor excuse for a responsive siteHi Denzel,
The responsiveness appears to work properly when I activate the Hueman theme. I have reactivated the child theme which I guess I will have to rebuild.
The child theme is below. The last thing I would have added is the code for Google ads at the bottom of the sidebars. Would you eliminate the things you did in reverse order to the best of your recollection?
Thanks for your help
/* Theme Name: hueman-child Version: 1.0 Description: A child theme of Hueman Template: hueman Author: Administrator */ @import url("../hueman/style.css"); /* Your awesome customization starts here */ #header { background: #ffffff; position: relative; padding-bottom: 60px; } #header .pad { padding-top: 10px; padding-bottom: 10px; } #header .container-inner { position: relative; } #nav-header.nav-container{ -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .site-title { font-size: 42px; font-weight: 600; letter-spacing: -0.5px; float: left; line-height: 60px; padding: 10px 0; } .site-title a { display: block; color: #fff; max-width: 100%; } .site-title a img { display: block; max-width: 100%; max-height: 60px; height: auto; padding: 0; margin: 0 auto; -webkit-border-radius: 0; border-radius: 0; } .site-description { font-size: 18px; font-style: italic; color: #fff; color: rgba(255,255,255,0.5); float: left; margin-left: 20px; line-height: 30px; padding: 10px 0; } .site-image { display: block; margin: 0 auto; max-height: 400px; } #header-ads { float: right; } /*#header-ads h3 { display: none; }*/ #header-ads img { display: block; } .entry a { color: red; } .entry a:hover { color: blue; } <div id="ads"></div>