Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ChuckC3

    (@chuckc3)

    I 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?

    Thread Starter ChuckC3

    (@chuckc3)

    Thanks! Great answer! I’ll look into the options with Amp

    Thread Starter ChuckC3

    (@chuckc3)

    One 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:

    https://managedagile.com/

    • This reply was modified 5 years, 8 months ago by ChuckC3.
    Thread Starter ChuckC3

    (@chuckc3)

    OK, 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.

    Thread Starter ChuckC3

    (@chuckc3)

    Let 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?

    Thread Starter ChuckC3

    (@chuckc3)

    Thanks 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.
    Thread Starter ChuckC3

    (@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:

    1. Completely wiped out the original installation and removed all files from the web site
    2. Did a clean installation of WordPress 4.7
    3. Installed the UpdraftPlus plugin that I use for backups
    4. Used UpdraftPlus to restore the site from the most recent backup
    5. 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.

    Thread Starter ChuckC3

    (@chuckc3)

    Thanks, I got it resolved…the HTTP-500 error eventually went away and everything is back to normal

    Thread Starter ChuckC3

    (@chuckc3)

    You can disregard this post. The HTTP-500 error went away after several attempts

    Thread Starter ChuckC3

    (@chuckc3)

    I 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.

    Thread Starter ChuckC3

    (@chuckc3)

    I 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.

    Thread Starter ChuckC3

    (@chuckc3)

    I 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!

    Thread Starter ChuckC3

    (@chuckc3)

    I’ve checked that with my Web Hosting company and they have told me that its a problem in the WordPress installation.

    Thread Starter ChuckC3

    (@chuckc3)

    Yes, 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.

Viewing 14 replies - 1 through 14 (of 14 total)