tobanpenner
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Stopped working after updateThat was definitely the problem. Thank you for pointing me in the right direction.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Stopped working after updateNow that I’ve pasted that in there, I think I remember editing that default template…
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Stopped working after updateThere is a file called default.php located in uploades/slm_templates. Here is the contents of that file:
<div class=”clearclass<?php echo esc_attr( ($xyz++%4) ); ?> col-md-3 col-sm-6 “> <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> itemscope=”” itemtype=”https://schema.org/BlogPosting”> <div class=”rowtight”> <?php if(isset($virtue[‘post_summery_default’]) && ($virtue[‘post_summery_default’] != ‘text’)) { if($home_sidebar == true) { $textsize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; $imagesize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; } else { $textsize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; $imagesize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; } if (has_post_thumbnail( $post->ID ) ) { $image_id = get_post_thumbnail_id( $post->ID ); $image_url = wp_get_attachment_image_src( $image_id, ‘full’ ); $thumbnailURL = $image_url[0]; $image = aq_resize($thumbnailURL, $img_width, 300, true); if(empty($image)) { $image = $thumbnailURL; } $img_srcset = kt_get_srcset_output($img_width, ‘300’, $thumbnailURL, $image_id); } else { $thumbnailURL = virtue_post_default_placeholder(); $image = aq_resize($thumbnailURL, $img_width, 300, true); if(empty($image)) { $image = $thumbnailURL; } $img_srcset = ”; } ?> <div class=”<?php echo esc_attr($imagesize);?>”> <div class=”imghoverclass”> ” title=”<?php the_title(); ?>”> ” width=”<?php echo esc_attr($img_width);?>” height=”230″ <?php echo $img_srcset; ?> alt=”<?php the_title(); ?>” class=”iconhover” style=”display:block;”> </div> </div> <?php $image = null; $thumbnailURL = null; ?> <?php } else { if (has_post_thumbnail( $post->ID ) ) { if($home_sidebar == true) { $textsize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; $imagesize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; } else { $textsize = ‘tcol-md-7 tcol-sm-12 tcol-ss-12’; $imagesize = ‘tcol-md-12 tcol-sm-12 tcol-ss-12’; } $image_id = get_post_thumbnail_id( $post->ID ); $image_url = wp_get_attachment_image_src( $image_id, ‘full’ ); $thumbnailURL = $image_url[0]; $image = aq_resize($thumbnailURL, $img_width, 300, true); if(empty($image)) { $image = $thumbnailURL; } $img_srcset = kt_get_srcset_output($img_width, ‘300’, $thumbnailURL, $image_id); ?> <div class=”<?php echo esc_attr($imagesize);?>”> <div class=”imghoverclass”> ” title=”<?php the_title(); ?>”> ” width=”<?php echo esc_attr($img_width);?>” height=”230″ <?php echo $img_srcset; ?> alt=”<?php the_title(); ?>” class=”iconhover” style=”display:block;”> </div> </div> <?php $image = null; $thumbnailURL = null; ?> <?php } else { $textsize = ‘tcol-md-12 tcol-ss-12’; } }?> <div class=”<?php echo esc_attr($textsize);?> postcontent”> <?php get_template_part(‘templates/post’, ‘date’); ?> <header class=”home_blog_title”> “> <h4 class=”entry-title”><?php the_title(); ?></h4> <div class=”subhead color_gray”> <span class=”postauthortop author vcard” data-toggle=”tooltip” data-placement=”top” data-original-title=”<?php echo get_the_author() ?>”> <span itemprop=”author” class=”kt_hidden”>” class=”fn” rel=”author”><?php echo get_the_author() ?></span> <i class=”icon-user”></i> </span> <span class=”kad-hidepostauthortop”> | </span> <?php $post_category = get_the_category($post->ID); if (!empty($post_category)) { ?> <span class=”postedintop” data-toggle=”tooltip” data-placement=”top” data-original-title=”<?php foreach ($post_category as $category) { echo $category->name .’ ‘; } ?>”><i class=”icon-folder-open”></i></span> <?php }?> <?php if(comments_open()) { ?> <span class=”kad-hidepostedin”>|</span> <span class=”postcommentscount” data-toggle=”tooltip” data-placement=”top” data-original-title=”<?php $num_comments = get_comments_number(); echo esc_attr($num_comments); ?>”> <i class=”icon-comments-alt”></i> </span> <?php } ?> </div> </header> <div class=”entry-content”> <p><?php echo virtue_excerpt(34); ?><br />“><?php _e(‘READ MORE’, ‘virtue’);?></p> </div> <footer> </footer> </div> </div> </article></div>
- This reply was modified 6 years, 10 months ago by Marius L. J.. Reason: Added code tags
Forum: Plugins
In reply to: [Appointments] Emails stopped.Here are the URL’s to screenshots of my settings.
Thanks!
https://hayesbartonpharmacy.com/notifications.jpg
https://hayesbartonpharmacy.com/accessibility.jpgForum: Plugins
In reply to: [Multiple Passwords for Protected Pages] Passwords no longer workThanks for the tip Shawn. Unfortunately, neither way works for me.
Forum: Plugins
In reply to: [Multiple Passwords for Protected Pages] Passwords no longer workI’m having the same problem. The plugin mysteriously stopped working. Any alternative plugin recommendations out there?
Forum: Fixing WordPress
In reply to: php error logThanks Esmi, I agree that doing that will probably not solve it in the long term, but I’ll give it a try and see what happens. Thanks for the suggestion!
Forum: Fixing WordPress
In reply to: COrrupt WordPressHello,
I’ve had the same error on a site that I’m working on (chicktime.com).[11-Apr-2013 10:24:22 America/Chicago] PHP Warning: require(ABSPATHWPINC/option.php) [function.require]: failed to open stream: No such file or directory in /mnt/stor3-wc2-dfw1/504110/762059/www.chicktime.com/web/content/wp-includes/functions.php on line 8
I ran the site through
https://sitecheck.sucuri.net/scanner/
https://www.unmaskparasites.com/
It came up empty for viruses. The host (who had no idea what the error was) also ran a virus scan and didn’t find anything. Anybody know what this could possibly be? Thanks!