Changeset 2101540
- Timestamp:
- 06/06/2019 10:25:01 AM (7 years ago)
- File:
-
- 1 edited
-
embed-githubin/trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
embed-githubin/trunk/readme.txt
r2101515 r2101540 11 11 12 12 == Description == 13 This plugin creates a shortcode and two buttons in the post editor13 This plugin creates a shortcode and add two buttons in the post editor. 14 14 15 15 For better embed visualization it automatically gets the mobile version content of github. … … 21 21 >[github_box url="PUT_GITHUB_URL_HERE" border="false" style="none" fgcolor="none" bgcolor="none" disable_images="false"] 22 22 23 The only difference between one and the other is that the first (github_box) 24 put the github content into a scrollable box and the github_content button leave the content 25 without the box. 23 The only difference between one button and the other is that the first (github_box button) put the github content into a scrollable box and the other (github_content button) leave the content without a box. 26 24 27 25 ............................... … … 31 29 32 30 33 >url="PUT_GITHUB_URL_HERE"31 - url="PUT_GITHUB_URL_HERE" 34 32 35 Here you can put either a github user url, a repository url, a readme url or a file url.36 They are threated in different ways; user url will show its repositories;37 repository url will show its main files, readme and files will show its contents.33 >Here you can put either a github user url, a repository url, a readme url or a file url. 34 >They are threated in different ways; user url will show its repositories; 35 >repository url will show its main files, readme and files will show its contents. 38 36 39 37 40 >border="radius" OR border="true"38 - border="radius" OR border="true" 41 39 42 If we use one of this options will create a border with the content.40 >If we use one of this options will create a border with the content. 43 41 44 >style="box"42 - style="box" 45 43 46 It will create a scrollable box with the content44 >It will create a scrollable box with the content 47 45 48 >x="300" y="300"46 - x="300" y="300" 49 47 50 Those options are the dimensions of the box48 >Those options are the dimensions of the box 51 49 52 >fgcolor="#333" bgcolor="#fafafa"50 - fgcolor="#333" bgcolor="#fafafa" 53 51 54 Set the text color and background color52 >Set the text color and background color 55 53 56 >disable_images="true"54 - disable_images="true" 57 55 58 Remove all images from the content56 >Remove all images from the content 59 57 60 >disable_fav="true"58 - disable_fav="true" 61 59 62 Remove the fav parragraphs from an user repositories60 >Remove the fav parragraphs from an user repositories 63 61 64 >id="IDNAME"62 - id="IDNAME" 65 63 66 Creates a cached file of the content. This setting is very recomended to use.67 But remember: if you change later the attributes of the shortcode it won\'t update68 until the cachetime has passed or unless you delete the cached file (in plugin\'s directory).64 >Creates a cached file of the content. This setting is very recomended to use. 65 >But remember: if you change later the attributes of the shortcode it won't update 66 >until the cachetime has passed or unless you delete the cached file (in plugin's directory). 69 67 70 >cachetime="10800"68 - cachetime="10800" 71 69 72 Number of seconds before it rebuilds the cache file (default is 10800seconds=3hours)70 >Number of seconds before it rebuilds the cache file (default is 10800seconds=3hours) 73 71 74 72 == Installation == … … 92 90 * little change 93 91 94 * arreglos por cambio de fuentesen github92 * arreglos por cambio de código en github 95 93 96 94 * avoid the rebuild cache time for localhost or some ip in $myserverip
Note: See TracChangeset
for help on using the changeset viewer.