abilify acai accupril accutane aceon aciphex acomplia acompliex acticin actonel actoplus met actos acyclovir adalat advair diskus alavert albendazole aldactone alesse aleve allegra alli allopurinol altace amantadine amaryl amitriptyline amoxil ampicillin anacin anafranil antabuse antivert arava aricept arimidex aristocort artane aspirin astelin atacand atarax atrovent augmentin avalide avandamet avandia avapro avodart aygestin azulfidine 5-htp abana abilify acai accupril accutane aceon aciphex acomplia acompliex acticin actonel actoplus met actos acyclovir adalat advair diskus advantage carb blocker alavert albendazole aldactone alesse aleve allegra alli allopurinol alpha lipoic acid altace amantadine amaryl amino mass amitriptyline amoxil amoxi-tabs ampicillin anabol-amp anabolic fusion anabolic mass anacin anafranil anaphen hardcore antabuse antiox cats antiox dogs antivert arava aricept arimidex aristocort artane ashwagandha aspirin astelin atacand atarax atrovent avalide avandamet avandia avapro avodart awake patch aygestin ayurslim azulfidine baclofen bactrim bactroban bcaa beconase aq benadryl benemid benfotiamine benicar bentyl betapace betnovate biaxin bladder support cats bladder support dogs brafix brahmi breast augmentation breast enhancement gel breast enhancement gum breast enhancement breast sculptor bupropion buspar bust enhancer bystolic cafergot calan calcium carbonate calming chews cats calming formula cats calming formula dogs capoten carafate carboxactin carbozyne cardizem cardura carisoprodol casodex cee extreme cefadroxil cefixime ceftin celadrin celexa cephalexin cha de bugre chloramphenicol chloromint chloromycetin chloroquine cholestoplex chromonexin chrysin-xy cialis cialis jelly cialis professional cialis soft tabs cialis super active cipro citalopram cla clarinex claritin clavamox cleocin clomicalm clomid clonidine clozaril colace colchicine colostrum-800 combivent compazine confido copegus coq10 coral calcium cordarone coreg corticyn trimplex coumadin creatine-1200 cree-1200 crestor cyklokapron cymbalta cystone cytotec cytoxan daily best cats beef daily best cats fish daily best chews cats daily best chews dogs daily best dogs daily best puppies danazol decadron deltasone depakote depo-medrol dermavitol desyrel detrol diabecon diamox diclofenac gel diclofenac didronel differin diflucan digestive support cats digestive support dogs digoxin dilantin diovan dipyridamole ditropan docusate dostinex doxazosin doxycycline dramamine duetact dulcolax earwash dogs echinacea ed strips effexor elavil elimite emsam endep energy patch entocort ephedraxin epivir-hbv erexin-v erexor erythromycin estrace ethionamide etodolac eulexin eurax evecare evegen evista exelon extendaquin extreme detox extreme thyrocin famvir fast asleep strips fatblast extreme feldene female libido patch female passion strips female sexual oil female sexual tonic female viagra femara femcare flagyl er flexisyn flomax flonase florinef flovent floxin fluoxetine fml forte folic acid fosamax french red wine fucidin furosemide gasex geodon geriforte ginkgo biloba patch ginseng glucophage glucosamine sulfate glucotrol xl gluta-pep glycemil glyset green tea grifulvin v gyne-lotrimin hairball chews cats hair loss cream haldol hangover helper head strong herbal phentermine herbal soma herbal testosterone herbolax himcolin himplasia hoodia gordonii hg p57 hoodia hoodia weight loss gum horny goat weed hyaluronic acid hydrea hydrochlorothiazide hytrin hyzaar imdur imitrex immune support cats immune support dogs imodium imuran inderal indinavir indocin infusium topical innopran xl insect repellant patch ismo isoniazid isoptin januvia k-9 slim down dogs kamagra karela keftab keppra kick smoking patch kytril lamictal lamisil lanoxin l-arginine l-arginine patch lariam lasix lasuna l-carnitine leukeran levaquin levitra levitra plus levitra professional levlen levothroid lexapro l-glutamine lincocin lioresal lipitor liponexol liposafe lipothin lipotrexate lisinopril lithium carbonate lopid lopressor lotensin lotrisone lozol l-taurine l-tryptophan lukol luvox lynoral male enhancement oil male enhancement pills male potency patch male sexual tonic manhood enhancer maxalt maxaman maximum lipotropics meclizine medithin medrol melatonix sleep aid menopause gum menosan mental booster mentat mentax mestinon metabo925 metabo extreme metabosafe metabo ultramax metformin methotrexate methox-400 methyldopa metoclopramide mevacor mexitil micardis microlean midamor minocin minocycline mircette mobic monoket motilium motrin msm myambutol mycelex-g mysoline naprosyn neurontin nexium nicocease nicotinell nimotop nirdosh nitrofurantoin nitroglycerin nizoral nolvadex noroxin norpace cr norvasc noxide nutridrine nymphomax omega 3-1 omnicef ophthacare oral health cats oral health dogs orgasm enhancer orlistat ortho tri-cyclen oxytrol pain relief patch pamelor panmycin parlodel paroxetine paxil penis extender deluxe penis extender starter penis growth oil penis growth pack penis growth patch penis growth pills penisole pepcid periactin phenergan phentrimine phosphatidylserine pilocarpine plan b plavix plendil pletal ponstel prandin pravachol prazosin precose prednisolone prednisone premarin prevacid prilosec prinivil probalan procardia pro-erex prograf prometrium propecia propranolol proscar protonix proventil provera prozac pulmicort purim purinethol pyridium pyruvitol quibron-t quickbust quick relief cats quick relief dogs ranitidine reglan relafen remeron reminyl requip revatio revia rhinocort ribocree ribose-atp rimonabant risperdal robaxin rocaltrol roxithromycin rumalaya rythmol sr sarafem saw palmetto septilin serevent serophene seroquel shallaki shoot shuddha guggulu simplicef sinemet sinequan singulair skelaxin slimpulse snoroff soloxine soma soothenol speman starlix stop smoking stop smoking patch strattera stress gum stress relief stromectol strontium bone maker study habits styplon sumycin sustiva synaral synthroid tagamet tegretol tenormin tentex royal terramycin testo-rex tetracycline thyroid booster tofranil topamax toprol xl toradol torsemide touch-up kit tramaden tramadol trandate trazodone trental triamterene tribulus tricor trileptal trimox triphala tulasi ultimate male enhancer ultracet ultram urispas uroxatral valtrex vanadyl vantin vasodilan vasotec vein support ventolin vermox viagra jelly viagra viagra plus viagra professional viagra soft tabs viagra super active vibramycin viramune virility gum vitaliq vitamin b-12 vitamin b-1 vitamin b-6 vitamin c voltaren vpxl vytorin weight loss wellbutrin sr xeloda xenical yasmin yerba diet yohimbe-1200 zaditor zanaflex zantac zebeta zelnorm zerit zestoretic zestril zetia zimulti zithromax zma-power zocor zofran zoloft zometa zovirax zyban zyloprim zyprexa zyrtec zyvox

New Editor

I have installed the Tiny MCE Editor in an attempt to improve the posting experience Laughing.

Personally I don't like emoticons as I have a reasonable vocabulary, but we now have them and can also change the colour of text using the Select text color button.  There is also a less useful Select background color button.  You can combine the two if you really must.

Users must update their User Profiles to ensure that the box next to 'use the visual rich editor when writing' is unchecked.

 Coffee cup

1. You use the left hand (yellow) 'Insert Image' icon to upload from your PC.
2. Click on the lower 'Upload' button, the one right next to the filename, once you have Browsed to the image (I am not sure what the upper one does).
3. You can then drag the image into the Post or better still,
4. Click on the Image for a menu of options and decide just what you want to insert - although some don't seem to work.
5. If you select the image and click the right hand (tree) Insert/edit Image icon, you can set alignment although there seem to be some minor issues there e.g. bullets can overlap an image - my numbering here is manual.

There don't seem to be any problems with text alignment around images.

Tidying Posts

The Problem

The WordPress editor seems to be full of bad ideas about how to format what you have so carefully typed in, so at times it is worth delving into the HTML version of the text to attempt a clean up.

The sort of HTML the editor produces is rather like the code that a word processor uses to ‘markup’ the text you enter, making it appear formatted. The tags are invisible in the editor and output, but they are there in the background.
You can experiment as much as you like at your own risk and can’t do too much harm, but remember that basic HTML formatting instructions should have both opening and closing tags - the latter having the / to cancel the format effect. There are however plenty of exceptions and quirks.

I can’t show you tags here accurately as the editor would interpret them, so I will use [ and ] where ‘real’ tags would have the left and right angle brackets (aka ‘less than’ and ‘greater than’ signs).

[strong]bold text[/strong] will appear as bold text.

What to do about it

You will mostly want to remove unnecessary tags that the editor puts in to your posts e.g. extra centering tags.

Here are two methods, basically the same, but the second is more cautious.

Method One - Reckless (but I do it all the time)

  1. Manage the post in question through Site Admin.
  2. Click on the HTML button to display a window revealing the HTML code behind your text.
  3. Strip out the tags shown here in bold [div align="center"]keep the text though![/div]
  4. Be careful to avoid the similar ones with the image details.
  5. The tags should come in balanced pairs as stated above - i.e. before and after text (could be left/right or above/below) BUT sometime there are extra spurious opening ones with no balancing closing tags.
  6. Click on the Update button to update the HTML.
  7. Check the results in the preview window before saving the post.

Method Two - Slightly less Reckless

  1. Manage the post in question through Site Admin.
  2. Click on the HTML button to display a window revealing the HTML code behind your text.
  3. Click in the HTML window and select all the text (Ctrl + A or use the mouse)
  4. Copy all the text (Ctrl + C or use the right-mouse menu)
  5. Paste the text into a fresh Notepad document that you remembered to open before you did anything else (Ctrl + V or use the right-mouse menu)
  6. In the Notepad window, strip out the tags shown here in bold [div align="center"]keep the text though![/div]
  7. Be careful to avoid the similar ones with the image details.
  8. The tags should come in balanced pairs as stated above - i.e. before and after text (could be left/right or above/below) BUT sometime there are extra spurious opening ones with no balancing closing tags.
  9. When you think you are finished, reverse the process by
    • Selecting all the revised text in the Notepad window
    • Copying it
    • Pasting it into the WordPress HTML window
  10. Click on the Update button to update the HTML.
  11. Check the results in the preview window before saving the post.

Notes

  • You could even save the code posted to Notepad in Method Two / 5 as a backup file.
  • You might even create posts in Notepad, but I think you will still have to add the images with the WordPress editor and it will probably undo you good work when you do!

Database Maintenance

Backup

The default backup plugin (WordPress Database Backup) has been deactivated.

A new, more comprehensive, plugin, WP-DB Manager has been installed in replacement.
It is accessible from options on the the Database tab

Perform regular (at least monthly) backups

Optimise

Perform at least once a month from the Database/Optimise DB tab

Sticky Post

I have loaded the ‘Adhesive’ plugin, which controls sticky posts on the home page and in categories.

I haven’t investigated it fully, but it seems capable of keeping a post on top of the home page even if it isn’t the newest. This is why I wanted it i.e. it keeps a particular item (e.g. a Welcome post) at the top of the front page. You may want to alter its content from time to time, but it stops new posts pushing it down the page/screen, preserving a little bit of structure.

Archives Page

The Archives page currently lists posts by month and by category.

Links and the Links Page

Adding and Maintaining Links
Instructions

  1. In Site Admin, create a new link by clicking on the [Links] menu item and then the [Create Link] tab. You can also update existing links using the [Manage Links] tab.
  2. Start entering details on the form with the URL or web address e.g. http://www.amazon.co.uk/
  3. Enter a Link Name e.g. Amazon
  4. Enter a Short Description e.g. Online book shop
  5. Choose an appropriate Category for the link from the drop-down list e.g. maps
  6. In the Advanced section, you will normally want to select the radio button for _blank as the Target i.e. you will want the linked website to open in a new window. This does not always seem to work, and when it doesn’t users will have to use the browser back button to get back to the FAARTALS site
  7. Check your handiwork
  8. Click on the [Publish] button
  9. Click on the (View site>>) link in the header to check it on the site if you like

The Links Page
This is for listing hyperlinks to other websites.

The page uses two special plugins

  1. runPHP - a general plugin designed to allow PHP code to run on posts or pages. The Links Page has use of this this option enabled.
  2. iMP Links - s specific plugin that groups the links by category on the Links Page.
    The actual PHP used is the default:
  3. [?php iMP_Links();] (note the opening and closing angle brackets have been replaced with [ and ]

Changing the text on the Links Page almost inevitably destroys the plugin code leaving the links page linkless. So the Links Page is best left alone.

Note: The actual appearance varies according to browser viewing the page. Internet Explorer is better than ’strict’ browsers such as Firefox.

Site Header Image

This image is 760 pixels wide and 200 pixels deep (high).

It is saved as …/wp-content/themes/pixelgreen-10/images/headerphoto.jpg

Note: Only njb can change the image, as this cannot be done through a WordPress Site Administration function.

Adding a New Walk (Sub)-Page

This is a two stage process

A. Write a new Sub-Page with the details of the Walk

B. Add a Link to the new Sub-Page in the Walks (Parent) Page

Instructions

A. Write a new Sub-Page with the details of the Walk
Note: It is best to avoid composing posts or pages in Word and then pasting them into the Wordpress Editor form. Instead either compose directly using the WordPress Editor, or cut and paste clean text into it from Wordpad. You can always add bold to the headings and italics where required using the WordPress Editor. These techniques avoid adding lots of unnecessary tags that slow things down and make minor edits with the WordPress Editor risky. No matter how you compose the text however, you will have to upload any images you want in the page or post using WordPress and insert them via the WordPress Editor. You can’t just paste in a Word document with images.

So

  1. Create a new page by Clicking on the [Write] menu item in Site Admin
  2. Then click on the [Write Page] tab
  3. In the form that opens, enter a title for the walk e.g. Pennine Way in an afternoon (on one leg)
  4. Paste or type in the text of the walk article, using whatever technique (see above ) you have chosen.
  5. You may use a template with headers and this could be saved in Wordpad. There are sophisticated (aka complicated) templates in WordPress that may be the subject of a future Instruction post.
  6. Expand the [Discussion] box on the right by clicking on its [+] sign and decide whether you want to allow Comments and/or Pings. Tick or untick appropriately.
  7. Expand the [Page Parent] box and choose ‘Walks’ from the drop-down list to make your new sub-page a sub-page of the Walks index page.
  8. Expand the [Post Slug] box and type in a unique short link name (no spaces, use -s instead)
    Note: You can omit this step, and after saving the page, go back in via [manage] Pages and note the Page slug that WordPress has automatically entered for you. It will usually be the page title with hyphens replacing all the spaces.
  9. Check your handiwork
  10. Click on the [Create New Page >>] button
  11. Click on the (View site>>) link in the header to check it on the site if you like

B. Add a Link to the new Sub-Page in the Walks (Parent) Page

  1. In Site Admin click on the [Manage] menu item
  2. Then click on the [Pages] tab
  3. Next, click on the ‘Edit’ link of the ‘Walks’ page entry. The form for the Walks page will open.
  4. In the main ‘Page Content’ box, add a new bullet to the list of links to walk sub-pages.
    • Do this by positioning your cursor at the end of the text of the last item (or the item above the point where you want to insert the new link) and hit the return key.
    • Type in the link text, which will normally be the title used for the walk sub-page
    • Select the link text you have just typed, using your mouse or a keyboard technique
    • Click on the WordPress editor ‘hyperlink tool’ which is represented by a small graphic that looks like the link of a chain.
    • A popup form will appear. You only need to complete the top field (URL), so leave the middle (Target) field as “open link in the same window” and leave the last field (Title) blank.
    • So, in the URL field type in the full URL of the walk sub-page. This will be something like:
      http://faartals.co.uk/walks/Post slug/ Note: replace Post slug with the value from the ‘Post slug’ field on the new walk sub-page.
    • Check your work
    • Click on the [Update] button to close the popup link window
    • Check your handiwork
    • Click on the [Save >>] button
    • Click on the (View site>>) link in the header to check the site if you like

Adding a Calendar Event

Adding an Calendar Event is a variation on making an ordinary post.

Instructions

  1. Create a new post e.g. by Clicking on the [Write] menu item in Site Admin
  2. Start entering details on the (default) [Write Post] form (click that tab if you have navigated away)
  3. Enter a title for the event e.g. Christmas Day or Nick’s Birthday
  4. Enter extra text in the box below if you really need it. For a basic date you probably won’t, but for an entry to get people to do something or go somewhere you will.
  5. Expand the Discussion menu on the right by clicking on its [+] sign.
  6. Untick the ‘Allow Comments’ and ‘Allow Pings’ boxes as you won’t usually want comments against a calendar event.
  7. Scroll down to the ‘Event Editor’ section and expand it by clicking on the Start [+] sign.
  8. Enter a start date/time
  9. Tick the ‘All Day’ box for an anniversary etc. or enter an End Date/Time
  10. Note, when you expanded the Event Editor, you automatically assigned the post to the Events category. That category box is ticked and greyed out (to stop you unticking it) in the expanded Category section to the right.
    To prevent the post appearing on the blog as well as in the Event Calendar, untick all other categories (e.g. Uncategorized).
  11. Check your handiwork
  12. Click on the [Publish] button
  13. Click on the (View site>>) link in the header to check it on the site if you like

Note: Only the next 5 upcoming events appear below the Calendar on the front page. The rest generate shading on the dates as you view the months of the calendar.

Announcements

The little box at the top right of the front page is meant for short messages that you want members to spot.

To change the Announcement:

  1. In Site Admin, click on the [Presentation] menu item
  2. Click on the [Sidebar widgets] tab
  3. You will see a representation of the sidebar (annoyingly on the left when it’s on the right of the actual page)
  4. The boxes on that ’sidebar’ represent the ‘widgets’ or small elements of content that appear there
  5. The top one is labelled [Text 1]
  6. Click on the configure icon on its right hand end
  7. Update the text in the pop-up box. You can change both the header (e.g. Announcements) and the text that will appear below that header. Continually altering the header will make the site less easy to use, so stick to whatever you decide on (Announcements or something else). You could use Stop Press, Newsflash, Oi! etc.
  8. Check your work
  9. Close the pop-up box by clicking on the [X] in its top right hand corner
  10. Click on the [Save changes >>] button below the box
  11. Click on the (View site>>) link in the header to check it on the live site
Next Page »