WordPress CMS – Getting started
WordPress CMS modifications » Getting started.
This describes the structure of WP Themes and has links and resources to make WP behave more like a CMS.
20 Useful PHP + jQuery Components & Tuts for Everyday Project | Noupe
I found these very interesting and feel they can be integrated into a WP that is used more in a CMS environment.
Excellent examples – jQuery Tutorials for Designers
For those starting out with the JavaScript libraries, this is a great website to see the limitations front-end programmers run into and (maybe) to find a jQuery solution to their problem.
jQuery for your js needs
I’m trying out different jQuery plugins in different parts of this site, so if you come across a shadow or a cool popup on a page, be sure to hit that F-12 button on your FireFox (you have Firebug Plugin added, right?) and take a closer look towards the end of the HEAD tag.
For the shadows on the font, I’m using the ‘dropshadow’ jQuery plugin (http://eyebulb.com/dropshadow/index.htm) and the code in the HEAD tag:
So there are three types of tags on this page that are getting shadows:
$(document).ready(function(){
$("#header h1").dropShadow({left: 1, top:1, blur: 3, opacity:0.35});
$("h4").dropShadow({left: 1, top:1, blur: 3, opacity:0.35});
$(".post-title").dropShadow({left: 3, top:-5, blur: 2, opacity:0.25});
});
- the <h1> tags in the element whose ID is “header” (<div id=”header”> in this case)
- all the <h4> tags in the document wherever they are
- all the elements whose CLASS is “post-title” (<tagname class=”post-title”>)
The $(document).ready function makes sure that the entire DOM is loaded before the JavaScript in this function fires up. This prevents the script to try to modify something that may not have been loaded in yet.
This is same reason Google asks you to put their codes ‘right before the tag.’ The entire analytics function can be put in here and will work as expected (maybe my next project?).
How to edit phi.ini file in an SSH connection
To download a copy of the SSH:
To Find the php.ini file on the server
after logging on, elevate to ROOT level access by typing this at the prompt:
- su -
It will ask for your Admin password for this.
The most common editor used is the ‘vi’ editor in this text-based system.
To navigate to the folder and edit php.ini fileusing ‘vi,’ use these commands:
- cd /etc (assuming it’s the php.ini is in this folder – see above)
- vi php.ini (opens the VI editor for editing the file)
Simple VI commands
- a to append
- : to user command line
- wq to write and exit on command line
- CTRL C to exit editing