Plugin Directory

Changeset 467302


Ignore:
Timestamp:
11/25/2011 09:04:06 AM (14 years ago)
Author:
samueljesse
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-sinotype/trunk/readme.txt

    r467278 r467302  
    3737Sure, get in contact with us through the plugin page comments and add to the discussion.
    3838
     39= My settings panel does not look like your screenshot? Why? =
     40
     41It was taken on a Mac, so it shows the Mac fontsÉ Looks better huh? Buy a Mac...
     42
    3943== Screenshots ==
    4044
     
    4448== PHP Documentation ==
    4549
    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 text
     50Plugin is adding submenu to Appearance bucket with name WP Sinotype. The internal id is 'sinotype_config'
     51Plugin 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
    4852
    4953All values are simple string, which is CSS code for selected font-family
     
    55592. st_fonts_en Ð Array of English fonts
    5660
    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Ó));
     61Both 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'));
    5862Fonts can be freely added to the arrays without any inpact on functionality.
    5963While 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.