Posts Tagged ‘WordPress’

Techie Tip of the Week: Installing Drupal or WordPress Themes on Stanford’s Web Servers

Friday, April 5th, 2013

If you’re using the Collaboration Tools Installer or manually installing a Drupal or WordPress site on Stanford’s AFS servers, you may have wondered how you can update existing or install new themes, since you can’t do so directly within the application.

Here’s how:

1) Download the theme to your Desktop.

2) Unzip the theme.

3) Open an SFTP program like SecureFX or Fetch, log in, and change the plugin directory for your Drupal or WP instance:

For Drupal:
The directory should be something like “/afs/ir/group/groupname/cgi-bin/drupaldirectory/sites/all/themes”  (substitute groupname for your real group name; drupaldirectory for your real Drupal directory name)

For WordPress:
The directory should be something like “/afs/ir/group/groupname/cgi-bin/wordpressdirectory/wp-content/themes” (substitute groupname for your real group name; wordpressdirectory for your real WP directory name)

4)  Activate/Enable the theme:

  • For Drupal:
    Launch a web browser and log into your Drupal site.
    Go to administer > site building > themes and then check the Enabled box next to the desired theme.
  • For WordPress:
    Launch a web browser and log into your WordPress site.
    Go to Appearance > Themes and then click Activate underneath to the desired theme.

Your new theme is now active on your site!

Techie Tip of the Week: Installing WordPress Plugins on Stanford’s Web Servers

Friday, March 15th, 2013

Because the Stanford web servers require encryption using SFTP, and WordPress’s built-in method of installing and implementing a plug-in uses FTPS, you cannot install plugins from directly within WordPress.

Instead, you need to manually install the plugin.

Here’s what you need to do:

1) Download the plugin to your Desktop.

2) Unzip the plugin.

3) Open an SFTP program like SecureFX or Fetch, log in, and change the plugin directory for your WP instance:

The directory should be something like “/afs/ir/group/groupname/cgi-bin/wordpressdirectory/wp-content/plugins” (substitute groupname for your real group name; wordpressdirectory for your real WP directory name)

4) Drag the plugin folder from your Desktop to the Remote Site side of SecureFX/Fetch.

5) In WordPress, go to your Dashboard (http://www.stanford.edu/group/groupname/cgi-bin/wordpressdirectory/wp-admin)

6) Click Plugins.

7) Locate the installed plugin and click Activate.

Your plugin is now activated!

Techie Tip of the Week: Updating a WordPress Site via a Mobile Device

Friday, March 1st, 2013

Need to update your WordPress site but only have access to your phone or tablet? No problem! (Assuming you’ve configured your WordPress site to allow you to update via a mobile device, that is.)

Option A: Use the web browser

  • One option is to use the device’s browser and point it to your wp-admin login.
  • Note: this is the same method you’d use to update your site using a desktop/laptop computer. (e.g., http://www.stanford.edu/group/widgets/cgi-bin/wordpress/wp-admin)

Option B: Use the WordPress app

  1. Download and install the WordPress app. (Available in the App Store and Google Play).
  2. Configure your WordPress site to allow remote publishing via the XML-RPC method:
    1. Using a web browser, log into your WordPress site as an administrator.
    2. In the Dashboard, click Settings.
    3. In Settings, click Writing.

      20130303-164319.jpg
    4. In Writing, in Remote Publishing, check the XML-RPC box.

      20130303-164254.jpg
  3. In the WordPress app, log into your site. You can now update your posts, pages, and other content using the app!