One Web Many Stories

WP-News Vol 1 Issue 3 July 2013

CSS love it or get left behind

Cascading Style Sheet has been around nearly since the dawn of time, but with the modern platforms and development techniques it has slowly replaced the old way of doing things.  When I say old way I mean using tables to control content layout, or the entire website for that matter.

For most end users, this matters not at all.  It is only for those users who want more control over content layout that the depreciation of certain older HTML attributes in favor of styles can pose a problem.  What this means in plan English, is that if you want to have real control over layout in ways not offered by even enhanced WYSIWYG editors, you need to learn a bit of CSS.

I am an old dog who is not always interested in new tricks so my approach to CSS control is a just in time learning.  That is, when I want to hack some CSS to say, make a plug-in look better in a site, I look up what I want to do.  The one thing the web excels at is just in time learning for tech issues.  All you need to know is how to use the language to target what you want to learn.

For example a client put in an inline frame.  A thing that allows you to pull content from one site and put it into your content page.  The thing is, that the old HTML attribute to align didn’t work in WordPress.  It wants CSS.   The client asked me to help fix it.  It had been a while since I bothered with an inline frame so I checked out the syntax.  I did a search: “inframe align left” and found the top hit to be

http://www.w3schools.com/tags/att_iframe_align.asp

(This is the granddaddy site for usage)

Since I knew I needed the css I checked the page and found the CSS equivalent syntax.

CSS syntax: <iframe style=”float:right”>

So, when it comes to CSS hacks I depend on just in time learning using sites like http://www.w3schools.com/ and so can you.

Media Library & PDF

With every new update of WordPress there is some new feature with the Media library and the recent one solved an old issue I had in the way it handled PDF.   Inserting a PDF was handled poorly until recently. By poorly I mean that unlike an images, where the image shows up, a pdf by definition is a file that will need to be opened outside of the web site.  In the old way (which you may still have to use if you have not updated your version) when you insert and pdf into a post or page, you get a link, but that link took you to another page where there is a not too obvious link to the PDF.

Now when you select a PDF from the media library and insert it into a page or post it will put in a link and that link will open a PDF directly.  Nice, but you still need to cross the T and dot the I.

Most important, when you upload your PDF you need to give it a name, not just let the default file title be the name.  You need to give it a Description and Caption too.  This is best practice but it will become even more important latter.

Upload your file via the media library add new button.

Click On edit to open the detail

 media-edit

Add your new title, caption and description.

Now when you insert that pdf the title will be the link.  However, I don’t like opening a pdf file in same tab as the link.  I think it is nicer to open in a new tab.

Highlight the link and then click the Chain Icon in the editor bar at the top to open the link edit window.Link-add

Check the box for open in a new Tab/window.

Click add link and save your file.  Then view the file and check the link.

The link now opens the pdf in a new tab or window.

 

Plug-ins

Print Friendly and PDF Button

  • If you product prodigious amounts of online copy that your user will need to have as hard copy (how-to or instructional sites for example) you need this simple plug-in to turn your pages and posts into printable PDF files. http://wordpress.org/plugins/printfriendly/

Filedownload

  • When you put in a link many files will open directly in the browser.  But this plug-in will allow you to force a download.  If for example you have a large pdf that is really not suitable for viewing in a web browser you can add the short code and force the user to download the file, not view it. http://wordpress.org/plugins/filedownload/

Easy Watermark

  • For artist of any strip who wants to control their property but show it too, then this plug-in is for you.  Using this plug-in you can water mark images you upload automatically. http://wordpress.org/plugins/easy-watermark/

 

Testimonials
Steve is erudite in his areas of expertise, prompt, totally reliable, always follows through, and due to his even-tempered and courteous ways, a pleasure to work with.

Priscilla Long, Senior Editor, www.historylink.org

Word-Ware.com

Priscilla Long, Senior Editor, www.historylink.org

Steve is erudite in his areas of expertise, prompt, totally reliable, always follows through, and due to his even-tempered and courteous ways, a pleasure to work with.
Tell Steve i am very impressed with the way he does business and will recomend Word-ware to anyone I know who needs a site done.

Jay, Balloon Depot

Word-Ware.com

Jay, Balloon Depot

Tell Steve i am very impressed with the way he does business and will recomend Word-ware to anyone I know who needs a site done.
I worked with Steve creating a website commemorating the 100th anniversary of the Alaska-Yukon-Pacific Exposition. Steve is professional, personable and highly knowledgeable. I would highly recommend him for your next web site or upgrade.

Joe Follansbee

Word-Ware.com

Joe Follansbee

I worked with Steve creating a website commemorating the 100th anniversary of the Alaska-Yukon-Pacific Exposition. Steve is professional, personable and highly knowledgeable. I would highly recommend him for your next web site or upgrade.
Thanks again for all you've done here. I was in a meeting this morning with 'the gang' and we were all discussing how pleased we all are with you and with Word-Ware. Your efforts have taken a load off us, and made us look better in the process. Thanks again.

Andrew Scheerer, Dunn Lumber Company

Word-Ware.com

Andrew Scheerer, Dunn Lumber Company

Thanks again for all you've done here. I was in a meeting this morning with 'the gang' and we were all discussing how pleased we all are with you and with Word-Ware. Your efforts have taken a load off us, and made us look better in the process. Thanks again.
0
0
Word-Ware.com
Subscribe to WordWarePress News

Contact WordWarePress

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

    captcha