Changeset 467302
- Timestamp:
- 11/25/2011 09:04:06 AM (14 years ago)
- File:
-
- 1 edited
-
wp-sinotype/trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-sinotype/trunk/readme.txt
r467278 r467302 37 37 Sure, get in contact with us through the plugin page comments and add to the discussion. 38 38 39 = My settings panel does not look like your screenshot? Why? = 40 41 It was taken on a Mac, so it shows the Mac fontsÉ Looks better huh? Buy a Mac... 42 39 43 == Screenshots == 40 44 … … 44 48 == PHP Documentation == 45 49 46 Plugin is adding submenu to Appearance bucket with name WP Sinotype. The internal id is Òsinotype_configÓ47 Plugin is working with 4 variables which are saved in WP table ÒoptionsÓ1. 2. 3. 4. sinotype_heading_cn Ð value of Chinese font for Headings sinotype_heading_en Ð value of English font for Headings sinotype_body_cn Ð value of Chinese font for body text sinotype_body_en Ð value of English font for body text50 Plugin is adding submenu to Appearance bucket with name WP Sinotype. The internal id is 'sinotype_config' 51 Plugin is working with 4 variables which are saved in WP table 'options' 1. 2. 3. 4. sinotype_heading_cn Ð value of Chinese font for Headings sinotype_heading_en Ð value of English font for Headings sinotype_body_cn Ð value of Chinese font for body text sinotype_body_en Ð value of English font for body text 48 52 49 53 All values are simple string, which is CSS code for selected font-family … … 55 59 2. st_fonts_en Ð Array of English fonts 56 60 57 Both Array structure is: Array(0=>Array( Òfont css codeÓ,Ófront end titleÓ), 0=>Array(Òfont css codeÓ,Ófront end titleÓ)); Example: Array(0=>Array(ÒArialÓ,ÓArialÓ), 0=>Array(Òsans-serifÓ,ÓSans SerifÓ));61 Both Array structure is: Array(0=>Array('font css code','front end title'), 0=>Array('font css code','front end title')); Example: Array(0=>Array('Arial','Arial'), 0=>Array('sans-serif','Sans Serif')); 58 62 Fonts can be freely added to the arrays without any inpact on functionality. 59 63 While loading the actual website, plugin inserts at the end of header <style></style> section where it rewrites the font-family set before, for h1 Ð h6 and body.
Note: See TracChangeset
for help on using the changeset viewer.