Changeset 1705195
- Timestamp:
- 07/30/2017 10:28:53 AM (9 years ago)
- Location:
- expand2017
- Files:
-
- 7 added
- 3 edited
-
assets/icon-128x128.png (modified) (previous)
-
tags/1.2.0 (added)
-
tags/1.2.0/expand2017.php (added)
-
tags/1.2.0/js (added)
-
tags/1.2.0/js/expand2017.js (added)
-
tags/1.2.0/readme.txt (added)
-
trunk/expand2017.php (modified) (2 diffs)
-
trunk/js (added)
-
trunk/js/expand2017.js (added)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
expand2017/trunk/expand2017.php
r1704749 r1705195 4 4 Plugin URI: https://wordpress.org/plugins/expand2017/ 5 5 Description: Expand2017 adds new features to Automattic's Twenty Seventeen Theme 6 Version: 1. 1.06 Version: 1.2.0 7 7 Author: chrisb10 8 8 Author URI: https://profiles.wordpress.org/chrisb10/ … … 64 64 <?php 65 65 } 66 67 // Register User Contact Methods 68 function expandts_custom_user_contact_methods( $user_contact_method ) { 69 70 $user_contact_method['facebook'] = __( 'Facebook Username', 'text_domain' ); 71 $user_contact_method['twitter'] = __( 'Twitter Username', 'text_domain' ); 72 $user_contact_method['gplus'] = __( 'Google Plus Username', 'text_domain' ); 73 $user_contact_method['instagram'] = __( 'Instagram Username', 'text_domain' ); 74 $user_contact_method['skype'] = __( 'Skype Username', 'text_domain' ); 75 $user_contact_method['tumblr'] = __( 'Tumblr Username', 'text_domain' ); 76 $user_contact_method['github'] = __( 'GitHub Username', 'text_domain' ); 77 $user_contact_method['slack'] = __( 'Slack Username', 'text_domain' ); 78 79 return $user_contact_method; 80 81 } 82 add_filter( 'user_contactmethods', 'expandts_custom_user_contact_methods' ); 83 84 // Register scripts for dynamic menu system 85 86 function expandts_scripts_haze() 87 { 88 // Register the script: 89 wp_register_script( 'expand2017', plugins_url( '/js/expand2017.js', __FILE__ ), array( 'jquery' ) ); 90 91 // Enqueue the script: 92 wp_enqueue_script( 'expand2017' ); 93 } 94 add_action( 'wp_enqueue_scripts', 'expandts_scripts_haze' ); -
expand2017/trunk/readme.txt
r1704749 r1705195 4 4 Requires at least: 4.0 5 5 Tested up to: 4.8 6 Stable tag: 1. 1.06 Stable tag: 1.2.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html/ … … 13 13 Expand2017 adds new features to Automattic's Twenty Seventeen Theme, including:<br> 14 14 15 * Add edfront page 'sections'<br>15 * Adds more front page 'sections'<br> 16 16 * If a user's search result only returns one post, the user will be redirected to that post<br> 17 17 * Changes Twitter @mentions to the user's Twitter profile<br> 18 18 * Adds easy organisation to posts in the dashboard by colour coding different post statuses - published, draft, pending review, private, future<br> 19 * Adds 8 new contact methods to user's WordPress profile section<br> 20 * Adds a dynamic menu system<br> 19 21 20 22 *Note* - Add your feature requests to the support forum, ready for the next update 21 23 22 24 == Installation == 23 1. Upload the plugin 's folder to the /wp-content/plugins/ directory, alternatively, just install this plugin from the WordPress pluginsdirectory24 2. Activate the plugin through the Plugin smenu in WordPress25 1. Upload the plugin folder to the /wp-content/plugins/ directory, alternatively, just install this plugin from the WordPress plugin directory 26 2. Activate the plugin through the Plugin menu in WordPress 25 27 26 28 == Frequently Asked Questions == 29 = What is a dynamic menu? = 30 If you've set your homepage to a static page with various sections, a dynamic menu would allow readers - once they click a menu item - to jump to the relevant sections of the page without having to manually scroll 31 = How do I set up a dynamic menu? = 32 1. Set up your static homepage with the sections you want, e.g. 'About', 'Contact Us' 33 2. Using custom links, add the sections you want to your menu. So for the 'About' section, you'd add a custom link with the URL as #about, and for 'Contact Us', you'd add a custom link with the URL as #contact-us 34 3. See the results on your homepage 27 35 = How can I turn off some features? = 28 36 The ability to turn on and off features is coming in the next release … … 34 42 * Initial release 35 43 = 1.1.0 = 36 * New Feature: Changing Twitter @mentions to link to their profile44 * New Feature: Changing Twitter @mentions to a link to their profile 37 45 * New Feature: Post status colour coding 38 46 * Miscellaneous: Updated readme 47 = 1.2.0 = 48 * New Feature: 8 new contact methods for user profiles 49 * New Feature: Dynamic menu system 50 * Miscellaneous: Updated readme
Note: See TracChangeset
for help on using the changeset viewer.