ChuckC3
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Block Editor Link to WordPress PageI think I now know what I need to do but I don’t know how to do it. I think the appropriate solution is to create a lightweight version of the wp-block-embed class that is considerably simplified and doesn’t have as much overhead. Has anyone successfully done this?
Thanks! Great answer! I’ll look into the options with Amp
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Add a Divider or Separator Between PostsOne more thing…if you want the divider or separator to appear in lists of posts in a category, you need to insert code into that loop inside Archive.PHP here:
get_template_part( ‘template-parts/content’, get_post_format() );
echo ‘xxxx’;
// End the loop.
endwhile;If you want to look at how I’ve done it, you can look at my site at:
- This reply was modified 5 years, 8 months ago by ChuckC3.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Add a Divider or Separator Between PostsOK, I have answered my own question. The place to enter this code is in Index.PHP and it goes in here:
get_template_part( ‘template-parts/content’, get_post_format() );
echo ‘xxxx’;
// End the loop.
endwhile;You can insert whatever you want.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Add a Divider or Separator Between PostsLet me be more specific about my question – I have found some code I would like to add to the twentysixteen template but I’m not sure where to add it. Here is the code:
<?php
if (($wp_query->current_post + 1) < ($wp_query->post_count)) {
echo ‘<div class=”post-item-divider”>Post Divider</div>’;
}
?>The above code should go inside the loop that displays a series of posts at the end of the loop. Where would I add this code in the twentysixteen template?
Forum: Plugins
In reply to: [Broken Link Checker] False 403 ErrorsThanks for your response – that makes sense and explains why I do not get any error when I manually access the same link with a web browser.
So, it sounds like the site this link is pointing to is erroneously returning an HTTP 503 error when the broken links plugin tries to access it.
- This reply was modified 6 years, 4 months ago by ChuckC3.
I was able to resolve my problem after completely rebuilding my site (Fortunately, I had a good backup). Here are the steps I went through:
- Completely wiped out the original installation and removed all files from the web site
- Did a clean installation of WordPress 4.7
- Installed the UpdraftPlus plugin that I use for backups
- Used UpdraftPlus to restore the site from the most recent backup
- Upgraded to WordPress 4.7.1 again
I don’t know what went wrong the first time I did the upgrade to 4.7.1 because it worked the second time. I have turned off automatic upgrades so that I won’t get caught by surprise again like this – my site was completely dead for almost two days before I discovered that it was down.
I use Interserver for hosting and I’m generally happy with them. I run my WordPress site on an IIS platform. Interserver has told me that I should be on Linux but I have another site that requires IIS and SQL Server.
Forum: Fixing WordPress
In reply to: Corrupted WordPress InstallationThanks, I got it resolved…the HTTP-500 error eventually went away and everything is back to normal
Forum: Fixing WordPress
In reply to: Corrupted WordPress InstallationYou can disregard this post. The HTTP-500 error went away after several attempts
Forum: Fixing WordPress
In reply to: Corrupted WordPress InstallationI did a manual update to WordPress 4.5.2 as specified in the document I referenced; and apparently the update was successful; however I still have a problem. When I open the WP-Admin panel and attempt to access “Plugins”, I get a spinner for quite a while and then it declares an HTTP-500 error.
Forum: Fixing WordPress
In reply to: Restoring WordPress from BackupI am simply using the export and import utility to export and import WordPress content. I’m going to have to find a better alternative because I realize now that isn’t a complete backup. Yes, if it happens again, I will certainly ask for help sooner.
Forum: Fixing WordPress
In reply to: Restoring WordPress from BackupI have made some progress on this. I did a complete reinstall of WordPress (but didn’t replace the database). I then did a restore from backup from running WP-Admin and that worked. The install and the restore ran fine but I’ve lost all my plugins. I’m learning a lot about what a backup and restore does. I thought it might backup my plugins but it didn’t. I’m going to have to wait for my web hosting company to do a file restore. That’s a lot easier than manually reinstalling all of my plugins.
Thanks for your help!
Forum: Fixing WordPress
In reply to: Restoring WordPress from BackupI’ve checked that with my Web Hosting company and they have told me that its a problem in the WordPress installation.
Forum: Fixing WordPress
In reply to: Restoring WordPress from BackupYes, when I view the files through a website control panel, I can see the folders and the files and I deleted all of the plugins and all of the themes to see if that would make a difference and it didn’t. I’m still unable to start WordPress to be able to run WP-Admin to do a restore. I’m trying to have my website hosting company do a complete file restore but that is taking a while.