Moderator
t-p
(@t-p)
I am trying to update my 2 posts on my homepage
How about other posts? Do they update?
Which is the default category of the posts?
Have you tried to clean your browser( Delete the cache )?
Thread Starter
BDeen
(@bdeen)
Tara, I only have 2 on the site, which are the 2 on the homepage I mentioned above.
Thread Starter
BDeen
(@bdeen)
Websites Seller, default category is Uncategorized. When I change it to something else they do not show up on my homepage at all. Yes I have deleted the cache.
Moderator
t-p
(@t-p)
to rule out any theme/plugins specific issue, try:
– deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
– resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
– switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
Thread Starter
BDeen
(@bdeen)
Tara, I have tried the deactivating of all plugins and that didn’t work. I do not have any inactive plugins on this site. If this is the case do I still need to resetting the plugins folder?
Moderator
t-p
(@t-p)
try Enabling debugging and post the results.
Thread Starter
BDeen
(@bdeen)
I’m not sure how to do this, but I will give it a shot, thank you.
Thread Starter
BDeen
(@bdeen)
Is there anything wrong with this coding? Something maybe I am over looking?
get_header();
?>
<div class=”main_content wrapper”>
<div class=”left_content fltleft”>
<?php
$args = array(
‘numberposts’ => 3,
‘category’ => 1,
); ?>
<?php $posts_array = get_posts( $args );
foreach($posts_array as $postitem):?>
<div class=”horizontal_blocks”>
ID);?>”>
<?php echo get_the_post_thumbnail($postitem->ID)?>
<div class=”img_right_text fltright”>
<h1>ID); ?>”><?php echo $postitem->post_title ?></h1>
<p><?php echo $postitem->post_excerpt; ?></p>
ID); ?>” class=”more”>Read More
</div>
</div>
<?php endforeach; ?>
</div>
Thread Starter
BDeen
(@bdeen)
I ran the Query Monitor plugin on the site and it shows I have 6 PHP errors. Not sure which results to post there is alot of info on here.