jenstrawbrax
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Email me whenever anyone posts a comment option not workingHi. Thanks for your reply. Yes, I have this setting checked and that’s not working either because the comments appear immediately.
Try it yourself (https://rollingharvest.org/recipes) and you’ll see that the comment appears, even though I have all the following checked:
- Email me whenever Anyone posts a comment
- A comment is held for moderation
- Before a comment appears Comment must be manually approved
I have even tried checking and unchecking different combinations of the above…still I have not received one email and the post appears immediately with no approval by me.
- This reply was modified 3 years, 6 months ago by jenstrawbrax.
Thanks – I downloaded the Check Email plugin and sent myself a test email and it works fine. It’s the Comment feature that is not working. When someone posts a comment, I do not get an email.
Forum: Fixing WordPress
In reply to: Category archive page not loading postsHere’s my index.php (I couldn’t find archive.php or category.php
<?php
get_header();
borntogive_sidebar_position_module();
$borntogive_options = get_option(‘borntogive_options’);
$id = get_option(‘page_for_posts’);
if ($id == 0 || $id == ”) {
$id = get_the_ID();
}
$page_sidebarget = get_post_meta($id, ‘borntogive_select_sidebar_from_list’, true);
$pageSidebarStrictNo = get_post_meta($id, ‘borntogive_strict_no_sidebar’, true);
$pageSidebarOpt = (isset($borntogive_options[‘blog_archive_sidebar’])) ? $borntogive_options[‘blog_archive_sidebar’] : ”;
$blog_content_type = (isset($borntogive_options[‘blog_content_type’])) ? $borntogive_options[‘blog_content_type’] : ”;
if ($page_sidebarget != ”) {
$pageSidebar = $page_sidebarget;
} elseif ($pageSidebarOpt != ”) {
$pageSidebar = $pageSidebarOpt;
} else {
$pageSidebar = ‘blog-sidebar’;
}
if ($pageSidebarStrictNo == 1) {
$pageSidebar = ”;
}
$sidebar_column = get_post_meta($id, ‘borntogive_sidebar_columns_layout’, true);
$sidebar_column = ($sidebar_column == ”) ? 4 : $sidebar_column;
if (!empty($pageSidebar) && is_active_sidebar($pageSidebar)) {
$left_col = 12 – intval($sidebar_column);
$class = $left_col;
} else {
$class = 12;
}
if(is_archive()){ ?>
<div class=”hero-area”>
<?php
$tax = $wp_query->get_queried_object();
$image = get_option(‘category’ . $tax->term_id . ‘_term_banner’);
$height = ”;
echo ‘<div class=”page-banner parallax” style=”background-image:url(‘ . esc_url($image) . ‘); height:’ . esc_attr($height) . ‘px’ . ‘;”>’;
?>
<div class=”container”>
<div class=”page-banner-text”>
<h1 class=”block-title”><?php echo esc_attr(single_term_title()); ?></h1>
</div>
</div>
</div>
<?php } else {
$page_header = get_post_meta($id, ‘borntogive_pages_Choose_slider_display’, true);
if ($page_header == 3 || $page_header == 4) {
get_template_part(‘pages’, ‘flex’);
} elseif ($page_header == 5) {
get_template_part(‘pages’, ‘revolution’);
} else {
get_template_part(‘pages’, ‘banner’);
}
}
?>
<!– Start Body Content –>
<div id=”main-container”>
<div class=”content”>
<div class=”container”>
<div class=”row”>
<div class=”col-md-<?php echo esc_attr($class); ?> content-block” id=”content-col”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post();
?>
<div <?php post_class(‘blog-list-item’); ?>>
<div class=”row”>
<?php if (has_post_thumbnail()) { ?>
<div class=”col-md-4 col-sm-4″>Forum: Fixing WordPress
In reply to: Category archive page not loading postsThanks for the reply. How do I find my archive.php and category.php? I’m sorry I’m not a developer but am willing and able to learn with a little extra help.