Blue Flower

WordPress

This is the WordPress category.  It contains articles and subcategories related to the WordPress software installed into hosting servers of places like Web Hosting With $1 (also known as $1 Hosting, WHW1, and other names too), and stand alone and offline computers.  Please look below for articles and subcategories.  Submit requests for topics you want articles about.  Guests articles are welcome too.  Submit a request to have us publish your guest article that can have links back to your site or other articles.

If you see a big + sign, then click on it to toggle the listing of categories and/or articles.

Add WordPress Page And Clickable Image or Banner or Ad.

I got more than one request for this, and so decided to make an article for it.
Please note that I do not get paid to write these articles. Hopefully, you find them useful.

Initial notes, and assumptions made for this article.

  1. This article is based on my test installs of WordPress at $1 Hosting service (WHW1.com), which at the time of writing this article I had WP versions 4.x and 3.8.x versions, but I expect it will be as described in this article for a long time on many future versions.
  2. You know how and where to login to a WP back end, control panel.

Steps

  1. Login to your WordPress back end office (control panel) installed through Web Hosting With $1 (WHW1.com) or at WP.

    WP Login Page
  2. On Left Menu, select Add New after moving your mouse over Pages on left menu.



  3. Make sure you in the Text mode of the Page Editor.

  4. Add an image to the page by either using the Image Button or the Add Media button.
    1. Image button method:
      Click on "img" button, and paste or type the URL (web link/address) of the image, and give an Alternative Text Name or Description and click OK both associated windows.





    2. Add Media button method.
      Click on the Add Media button, select the image you want (upload a new image file if need via Upload Files link), and click "Insert into page" button.







  5. At this point WP would have generated the needed HTML code for that image, and if you are in the Text, you will see something like this:



    And if you are in Visual mode, then you will see something like this (with your image showing instead):


    If you are not in Visual mode, then please select Visual at this time.



  6. Select the image you added and then click on the Insert Link icon.



  7. Paste or type the URL (the web link) you want the visitor to go to when the image is clicked, and press Add Link button.



  8. Click the Preview button near top left of the page.



  9. On the Preview page, which opens a separate tab or window to display the Preview page.  Try the Preview page and click on the image and if all is as you want, then go back to the editor page and click Publish.

    Done.

Feel Free To Leave A Good Comment. :)

Look around, and you may find other useful articles. Add this site to your Bookmarks/Favorites for easy return for new articles. Consider submitting technical articles for publication, including your embedded links. I will even create a new category if needed.

I have gotten permission to modify and publish portions of a support article from Web Hosting With $1 (WHW1.com).

Disabling And Enabling All WordPress Plugins Via The Database

 

If you start having problems with your Wordpress website, like the site shows blank, or worse, your WordPress admin login page is only showing a blank screen, it could be due to an issue with one or more plugins that are installed into your WordPress site. This can be due to a plugin that is not compatible with the currently installed theme.  It can also be related to the version of WordPress having been recently updated, but the developer of the plugin has not provided an update to be compatible.

You are able to determine if a plugin is causing the issue by disabling all plugins temporally. 

It is recommended to first backup your WordPress database using phpMyAdmin (accessed from your hosting control panel, like WHW1's cpanel) prior to making changes to the database.  It is also suggested downloading the backups after they are made and not keeping old backups on the server in order to avoid your disk space unnecessarily consumed.
 

1) Determine Name Of Your WP Database

Find out which database is associated with your WordPress installation.  If you have more than one WP installed site, then it is important that you get the correct database name for the WordPress site that you want to change.  These instruction help you determine that database name, and it is specifically for using cpanel:

  1. Log into your hosting control panel, cPanel.

    Cpanel Login

  2. Select the File Manager icon.

    File Manager
  3. Check the box to show hidden files and, select website root (public_html).

    File Manager Directory Selection With Show Hidden Files Checked And Web Root Selected.

  4. Click Go.
  5. Inside File Manager, select the the wp-config.php file; if done correctly, it will highlight.

    wp-config.php selection

  6. Right-click and select Code Edit.

    File Manager Right Mouse Click Menu.

  7. Next, click Edit.

    Code Editor Window With Edit Circled.

  8. Make note of the database name by looking for a line that looks similar to this:
     
    define('DB_NAME','domain_wrdp1')

    Domain could be a form or portion of the actual domain name or your cPanel username.  In this example, the database name is domain_wrdp1.

 

2) To Disable All Plugins

  1. Go to cPanel main page.
  2. Click on the phpMyAdmin icon to open it.

    Cpanel Database section with PHPMyAdmin circled.

  3. On the left-hand menu, select the database name you determined from the above instructions. If you only have one database, such as only one WP site, then there will be nothing to select on the left menu because it will automatically select the single database, and you can go to the next step.
  4. Click wp_options.

    PhpMyAdmin Listing WordPress Database Tables With wp_options circled.

  5. In the options table, find the option_name column and locate active_plugins line.  (If you need to, click on the > at the bottom of the page to view more columns.)

    Edit active_plugins.

  6. On the line of active_plugins, click edit. You will see something similar to this:

    a:3:{i:0;s:19:"jetpack/jetpack.php";i:1;s:37:"mojo-marketplace/mojo-marketplace.php";i:2;s:27:"wp-super-cache/wp-cache.php";}

  7. Highlight the entire content of the field box, and copy it onto a safe place first. Such as a text file on your local computer, and then delete it from the box.



  8. After deleting the table content, click Go.

Congratulations! You have now disabled all plugins, BUT they are still installed and still have all their option settings.

To re-enable plugins using this database modification method, follow the above steps and paste the box content, you deleted earlier, back into the box field of step 5, and then click Go to save the changes.
 

3) Determine The Problem Plugin

To determine which plugin is causing the problem, enable each plugin one at a time, following the instructions below:

  1. Go to your WordPress admin login page and refresh/reload the page.

    WordPress Login Page.

  2. Log in to your WordPress site.
  3. Go to Plugins >> Installed Plugins.

    WordPress (WP) Plugins >> Installed Plugins selected.

  4. Enable one plugin.

    Activate A WordPress Plugin.

  5. Go to your website and refresh the page.
  6. If the problem reoccurs, then you have determined the problem plugin, otherwise repeat steps 4 and 5 until you encounter a plugin that causes the previous problem with your website.