From 76fe3bc6f1b844449a9f5539b2c3f6c6e043f642 Mon Sep 17 00:00:00 2001 From: Kim Coleman Date: Tue, 8 Dec 2020 07:24:20 -0500 Subject: [PATCH] Adding github template files, adjusting README for GitHub (removed changelog). --- .gitattributes | 2 + .github/CONTRIBUTING.md | 49 ++++ .github/ISSUE_TEMPLATE.MD | 44 +++ .github/ISSUE_TEMPLATE/bug_report.md | 35 +++ .github/ISSUE_TEMPLATE/enhancement.md | 21 ++ .github/ISSUE_TEMPLATE/feature_request.md | 21 ++ .github/ISSUE_TEMPLATE/support.md | 20 ++ .github/PULL_REQUEST_TEMPLATE.MD | 32 +++ README.md | 320 ++-------------------- 9 files changed, 242 insertions(+), 302 deletions(-) create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/ISSUE_TEMPLATE.MD create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/enhancement.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/support.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.MD diff --git a/.gitattributes b/.gitattributes index cc46492..3c79588 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,5 @@ # Items to ignore when downloading a zip .gitattributes export-ignore +.github export-ignore +README.md export-ignore images/memberlite-banner.jpg export-ignore diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..5e32731 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,49 @@ +# Contribute to Memberlite + +Memberlite is a theme for membership sites on WordPress. Contributions of all kinds are appreciated. + +When contributing, please follow these guidelines to ensure things work as smoothly as possible. + +__Please Note:__ GitHub is for bug reports and contributions only. If you have a support or customization question, go to our [Member Support Page](https://memberlitetheme.com/) instead. + +## Getting Started + +* __Do not report potential security vulnerabilities here. Email them privately to [info@strangerstudios.com](mailto:info@strangerstudios.com) with the words "Security Vulnerability" in the subject.__ +* Submit a ticket for your issue, assuming one does not already exist. + * Raise it on our [Issue Tracker](https://github.com/strangerstudios/memberlite/issues/new/choose) + * Clearly describe the issue including steps to reproduce the bug. + * Make sure you fill in the earliest version that you know has the issue as well as the version of WordPress you're using. + +## Making Changes + +* Fork the repository on GitHub +* For bug fixes, checkout the DEV branch of the Memberlite repository. +* For new features and enhancements, checkout the branch for the version the feature is milestoned for. +* Make sure to pull in any "upstream" changes first. + * Use `git remote add upstream https://github.com/strangerstudios/memberlite.git` to set the upstream repo + * Use `git checkout dev` to get on the development branch. + * Use `git pull upstream dev` to get the latest updates. + * Use `git push` to push those updates to your fork. +* Create a new local branch for each separate bug fix or feature. This will ensure that each pull request is for one issue only and easier to process. + * Use `git checkout -b nameofmybugfixorfeature` to create the new branch +* Make the changes to your local repository. +* Ensure you stick to the [WordPress Coding Standards](https://codex.wordpress.org/WordPress_Coding_Standards) (even though much of the Memberlite code does not currently) +* If you have an automatic beautifier in your IDE or dev environment, turn it off. Unrelated style changes in your pull requests will make them harder to process. Feel free to message the core development team to ask them to clean up a file you are working on if the inconsitent coding styles is bothering you. +* You can update the readme.txt to include a comment about your fix or feature in the changelog, but if you do not the core team will do it for you. +* When committing, reference your issue (if present) and include a note about the fix in the commit message. +* Push the changes to your fork. +* For bug fixes, submit a pull request to the DEV branch of the Memberlite repository. +* For new features and enhancements, submit a pull request to the version the feature is milestoned for. This will usually be the version number following the current release unless the core dev team has milestoned the feature for a later release. +* We will process all pull requests and make suggestions or changes as soon as possible. Feel free to ping us politely via email or social networks to take a look at your pulls. + +## Code Documentation + +* We would like for every function, filter, class, and class method to be documented using phpDoc standards. +* An example of [how Memberlite uses phpDoc blocks can be found here](https://gist.github.com/sunnyratilal/5308969). +* Please make sure that every function is documented so that when we update our API Documentation things don't go awry! + * If you're adding/editing a function in a class, make sure to add `@access {private|public|protected}` +* Finally, please use tabs and not spaces. The tab indent size should be 4 for all Memberlite code. + +# Additional Resources +* [General GitHub Documentation](https://help.github.com/) +* [GitHub Pull Request documentation](https://help.github.com/send-pull-requests/) diff --git a/.github/ISSUE_TEMPLATE.MD b/.github/ISSUE_TEMPLATE.MD new file mode 100644 index 0000000..f0b7d3d --- /dev/null +++ b/.github/ISSUE_TEMPLATE.MD @@ -0,0 +1,44 @@ + + + + + + + + +## Prerequisites + + + +- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate. +- [ ] The issue still exists against the latest `dev` branch of Memberlite on Github (this is **not** the same version as on WordPress.org!) +- [ ] I have attempted to find the simplest possible steps to reproduce the issue + +## Steps to reproduce the issue + + + +1. +2. +3. + +## Expected/actual behavior + +When I follow those steps, I see... + +I was expecting to see... + +## Isolating the problem + + + +- [ ] This bug happens with only the Memberlite theme active +- [ ] I can reproduce this bug consistently using the steps above + +## WordPress Environment + +
+``` +Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, and any related plugins versions. +``` +
\ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..717f571 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: "šŸ› Bug Report" +about: Report a bug if something isn't working as expected in Memberlite. +title: '' +labels: 'bug' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. Please be as descriptive as possible; issues lacking detail, or for any other reason than to report a bug, may be closed or left unattended. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Screenshots** +If applicable, please attach a screenshot to make your issue clearer. + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Isolating the problem (mark completed items with an [x]):** +- [ ] I have deactivated other plugins and confirmed this bug occurs when only Memberlite is the active theme. +- [ ] I can reproduce this bug consistently using the steps above. + +**WordPress Environment** +
+``` +Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Memberlite and any related plugins versions. +``` +
diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md new file mode 100644 index 0000000..65c7905 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -0,0 +1,21 @@ +--- +name: "ā­ļø Enhancement" +about: If you have an idea to improve an existing feature or need something + for development (such as a new hook) please let us know or submit a Pull Request. +title: '' +labels: 'enhancement' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +If applicable, add any other context or screenshots about the enhancement here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..c2c5816 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: "āž• Feature Request" +about: "Suggest a new feature. We'll consider building it if it receives + sufficient interest!" +title: '' +labels: 'feature request' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +If applicable, add any other context or screenshots about your feature request here. diff --git a/.github/ISSUE_TEMPLATE/support.md b/.github/ISSUE_TEMPLATE/support.md new file mode 100644 index 0000000..41841d3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/support.md @@ -0,0 +1,20 @@ +--- +name: "šŸ’¬ Support Question" +about: "If you have a question, please see our docs or use our helpdesk." +title: '' +labels: 'Type: support' +assignees: '' + +--- + +We don't offer technical support on GitHub so we recommend using the following: + +**Reading our documentation** +Usage docs can be found here: https://memberlitetheme.com/documentation/ + +**Technical support for child themes or if you're a Memberlite Support member** +Submit a ticket on our helpdesk by visiting https://memberlitetheme.com/new-topic/ (Please note that an [active membership](https://memberlitetheme.com/pricing) is required for paid support.) + +**General usage and development questions** +- WordPress.org Forums: https://wordpress.org/support/theme/memberlite/ +- Website: https://memberlitetheme.com/contact/ diff --git a/.github/PULL_REQUEST_TEMPLATE.MD b/.github/PULL_REQUEST_TEMPLATE.MD new file mode 100644 index 0000000..bd7c904 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.MD @@ -0,0 +1,32 @@ +### All Submissions: + +* [ ] Have you followed the [Contributing guidelines](https://github.com/strangerstudios/memberlite/blob/dev/.github/CONTRIBUTING.md)? +* [ ] Does your code follow the [WordPress' coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/)? +* [ ] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/strangerstudios/memberlite/pulls/) for the same update/change? + + + + + +### Changes proposed in this Pull Request: + + + +Resolves XXX. + +### How to test the changes in this Pull Request: + +1. +2. +3. + +### Other information: + +* [ ] Have you added an explanation of what your changes do and why you'd like us to include them? +* [ ] Have you successfully run tests with your changes locally? + + + +### Changelog entry + +> Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted. diff --git a/README.md b/README.md index c363e94..65ea7ae 100644 --- a/README.md +++ b/README.md @@ -7,59 +7,6 @@ **Build a Professional WordPress Membership Site** Memberlite is the ideal theme for your membership site - packed with integration for top membership site plugins including Paid Memberships Pro. It's fully customizable with your logo, colors, fonts, and more global layout settings. Extend the site appearance further with the Memberlite Elements and Memberlite Shortcodes plugins. Memberlite is responsive, clean and minimal. -## Copyright - -Memberlite WordPress Theme, Copyright (C) 2018 Stranger Studios, LLC and other contributors -Memberlite is distributed under the terms of the GNU GPL - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -Memberlite WordPress Theme bundles or has used original or modified code from the following third-party resources: - -Font Awesome icons Copyright Dave Gandy -License: CC BY 4.0 License -Source: https://fontawesome.com/license - -Font Awesome CSS Copyright Dave Gandy -License: MIT License -Source: https://fontawesome.com/license - -Paid Memberships Pro icon and templates -License: GPLv2 -Source: https://www.paidmembershipspro.com/paid-memberships-pro-is-100-gpl-and-why/ - -bbPress icon, CSS and templates -License: GPLv2 -Source: https://bbpress.org/about/gpl/ - -BuddyPress CSS and templates -License: GPLv2 -Source: https://buddypress.org/about/gpl/ - -WooCommerce icon, CSS and templates -License: GPLv3 -Source: https://github.com/woocommerce/woocommerce/blob/master/license.txt - -The Events Manager icon -License: GPLv3 -Source: https://eventsmanagerpro.com/terms-conditions/ - -MarketPress template -License: GPLv2 -Source: https://wordpress.org/plugins/wordpress-ecommerce/ - -CSS grid based on Foundation by Zurb -License: MIT License -Source: https://foundation.zurb.com/get-involved/faq.html - ## Getting Started Memberlite makes it easy to customize the appearance and layout of your site using the Theme Customization Screen (Appearance > Customize). @@ -77,7 +24,7 @@ Use the Customize > Memberlite Options screen to modify theme layout, logo, font ### Using Child Themes If you need to customize the theme beyond theme settings, use a child theme. -[Download a Blank Child Theme Ā»](https://github.com/strangerstudios/memberlite-child) | [About Child Themes (WordPress Codex) Ā»](http://codex.wordpress.org/Child_Themes) +[Memberlite Child Theme Downloads Ā»](https://memberlitetheme.com/themes/) | [About Child Themes (WordPress Codex) Ā»](https://developer.wordpress.org/themes/advanced-topics/child-themes/) ### Integrated Plugins Memberlite includes formatting for use with: @@ -102,260 +49,29 @@ We highly recommend using this plugins for every site running Memberlite: **Multiple Post Thumbnails** [Install Multiple Post Thumbnails Ā»](https://wordpress.org/plugins/multiple-post-thumbnails/) -### Changelog - -**4.5.1 - 2020-10-14** -* BUG FIX: Adjusting Nav Menus code to supress warnings and fix issue with meta menu callback not adding log in or log out links. -* BUG FIX/ENHANCEMENT: Updated stylesheets for version 2.6+ of bbPress. -* BUG FIX/ENHANCEMENT: Adding expected Memberlite hooks to forum.php template. -* ENHANCEMENT: Styles to support new Payment Request Button features planned for PMPro. - -**4.5 - 2020-09-14** -* SECURITY: Escaped `get_template_directory_uri` in inc/admin.php that was missing. -* BUG FIX: Fixed bug where sidebar would show below content if "No Sidebar" layout was chosen in theme options. -* BUG FIX: Fixed undefined variable `show_header_right`. -* BUG FIX: Removed old CSS not used anymore by block editor for gallery block. -* BUG FIX: Now allowing span and time as allowed HTML for the sanitization of post meta before and after values from Customizer. -* BUG FIX: Updated Customizer CSS to fix potential override of header background image with specified background-color. -* BUG FIX/ENHANCEMENT: Adjusted support for Nav Menus Add On to better detect member-specific menus. -* BUG FIX/ENHANCEMENT: Added styles to avoid word wrap in specific form input fields for Column block compatibility. -* BUG FIX/ENHANCEMENT: Adjusted alignwide and alignfull as block editor styles to fix bugs with column layouts. -* BUG FIX/ENHANCEMENT: Now hiding the sidebar child pages menu if this is a membership account page or a child of it. -* BUG FIX/ENHANCEMENT: Updated all color schemes and customizer controls to include header background color for preview and save. -* BUG FIX/ENHANCEMENT: Updated search results to check post type before adding `entry-header-grid` to post_class. -* ENHANCEMENT: Added styles to highlight the current page item in the subpages sidebar display. -* ENHANCEMENT: Added styles to select type form inputs to match other form fields display. -* ENHANCEMENT: Updated to Font Awesome version 5.14.0 -* ENHANCEMENT: Checking to see if menu theme_location exists before calling wp_nav_menu for certain menus. -* ENHANCEMENT: Added in backwards compatibility for wp_body_open (required to call at the top of the body tag). -* ENHANCEMENT: Adjusted stylesheet to include tested up to and PHP versions. -* ENHANCEMENT: Updated Memberlite Guide to support child themes via the `memberlite_guide_additional` action hook. -* ENHANCEMENT: Updated Memberlite Guide to allow child themes to filter recommended and integrated plugins via `memberlite_plugins_recommended` filter hook. -* ENHANCEMENT: Added `memberlite_defaults` filter for child themes or plugin to adjust theme default options. -* ENHANCEMENT: Wrapped replacement variables for the post meta before and after in a unique span for styling via CSS. -* ENHANCEMENT: Added `memberlite_show_header_right` filter to hide header right area in logo space. -* ENHANCEMENT: Added `memberlite_login_redirect_to` function and filter to get the `redirect_to` URL attribute used for "Log In" links. -* ENHANCEMENT: Adjusted appearance of headings and form elements on the new Member Profile Edit page in PMPro. -* REFACTOR: Added new function `memberlite_get_font` to return the header or body font from theme options. - -**4.4 - 2020-04-30** -* FEATURE: Added layout for "No Sidebar" Layout for Blog, Archive, Posts. -* FEATURE: Added header background color customizer setting. -* ENHANCEMENT: Added support for new frontend login, log in widget, and profiles in PMPro v2.3+. -* BUG FIX/ENHANCEMENT: Improved CSS for sidebar menus and other widgets to only target menu-style lists, not all lists and for the Theme My Login widget. -* BUG FIX/ENHANCEMENT: Improved Customizer CSS output so that all input types to respect custom font settings. -* BUG FIX/ENHANCEMENT: Adjusted buttons and button-style links hover "brightness" instead of opacity for better appearance. -* BUG FIX/ENHANCEMENT: Added post_class `entry-header-grid` to posts formats so styling only applies in main loop. -* BUG FIX/ENHANCEMENT: Adjusted secondary (sidebar) text link to not apply to buttons. -* ENHANCEMENT: Added `memberlite_avatar_size` filter for adjusting avatar display size. -* ENHANCEMENT: Improved Accessibility and SEO by adding `alt` tags to post thumbnails and avatar. -* ENHANCEMENT: Updated to Font Awesome version 5.13.0. - -**4.3 - 2019-05-13** -* BUG FIX: Fixed bug where {post_comments} replacement wasn't returning the correct count in masthead area. -* BUG FIX: Fixed spacing when applying a discount code and the error/success message displays. -* BUG FIX: Fixed issue with escaped CSS selectors and .site-title ā€˜blankā€™ color value. -* BUG FIX: Fixing warning on homepage when displaying latest posts and no posts are found. -* BUG FIX/ENHANCEMENT: Fixed the `memberlite_parse_tags` replacements to be more reliable for post entry meta before and after. -* BUG FIX/ENHANCEMENT: Adjusting button text color for columns layouts of Advanced Levels Page shortcode -* ENHANCEMENT: Adjusting image block for responsive screens to display block and not floated. -* ENHANCEMENT: Added option for sticky navbar. -* ENHANCEMENT: Now aligning floated images on small screens to center and block to avoid broken text wrap on mobile. -* ENHANCEMENT: Adjusted layout of the Memberlite Guide page to match WP 5.0+ admin styles. -* ENHANCEMENT: Adjusted responsive view of masthead/post byline area to display avatar above title for small screens; no hyphenation on small screens. -* ENHANCEMENT: Adjusted responsive view of site footer copyright and ā€˜back to topā€™ link area. -* ENHANCEMENT: Restructured the header for small screens to use grid layout so menu toggle button doesn't overlap logo. -* ENHANCEMENT: Adjusted margin around comment form; Adjusted tabs on comment/pingbacks area to have no outline. -* ENHANCEMENT: Updating to Font Awesome version 5.8.2. -* FEATURE: Added support for the additional HTML5 tags `details` and `summary`. -* FEATURE: Added RTL support. -* FEATURE: Began adding styles for core WP Blocks, including blockquotes, image gallery displays, captions; Support for default styles including font sizes small, medium, large, huge. -* FEATURE: Added themeā€™s color scheme to block editor via `editor-color-palette` theme support. -* FEATURE: Built unique array of Color Scheme values to include in Block Editor. -* FEATURE: Now using a comment query to get count so we can exclude trackbacks and pingbacks. -* FEATURE: Added word break and hyphen styles for comments content. - -**4.2 - 2018-10-26** -* SECURITY: Properly escaping the URL for excerpt_more. -* BUG FIX/ENHANCEMENT: Localizing the 'more' link in excerpt. -* BUG FIX/ENHANCEMENT: Only applying filter to excerpt_more on the frontend. -* ENHANCEMENT: Adding new "blank" page template without a header or a footer. - -**4.1 - 2018-10-08** -* SECURITY: Sanitizing meta section just in case. -* SECURITY: Using esc_html_e to properly escape translatable content. -* BUG FIX/ENHANCEMENT: Improving button color and font color behavior. -* BUG FIX/ENHANCEMENT: Fixing missing end break for if statement. -* BUG FIX/ENHANCEMENT: Adjusting how the_excerpt and tags are handled in loop. -* BUG FIX/ENHANCEMENT: Improving 'status' post format layout. -* BUG FIX/ENHANCEMENT: Improving code for WPCS. -* BUG FIX/ENHANCEMENT: Removing $more tag global. -* BUG FIX/ENHANCEMENT: Removing custom content walker for comments and pings. -* ENHANCEMENT: Adding .bypostauthor class; adding class for comments in moderation; hiding "says" from comments. -* ENHANCEMENT: Added memberlite_the_excerpt and memberlite_more_content functions used in post template parts. - -**4.0.1 - 2018-09-25** -* SECURITY: Switching to use absint as a sanitizing function instead of `intval_base10` which doesn't work. -* SECURITY: Fixed escaping in the user account link. -* BUG FIX: Fix targeting of jQuery for tabbable Content, Post Comments and Permalinks. -* BUG FIX: Font Awesome icons added via the :before selector in css require a font-weight attribute. -* BUG FIX: Fixing bug with menu placed text color in header right widget area via widgets > add new. -* BUG FIX: Fixed bug where "Custom" color scheme didn't save because it wasn't a valid value in sanitization callback. -* BUG FIX: Fixing code formatting where additional line was breaking columns layout. -* BUG FIX/ENHANCEMENT: Updating styles for BuddyPress to add to existing BuddyPress template stylesheets instead of complete override. -* BUG FIX/ENHANCEMENT: Updating primary area form styling to reference the .site-content class instead of the #primary div. -* BUG FIX/ENHANCEMENT: Updating the primary link color and hover color to use a class instead of an ID attribute. -* BUG FIX/ENHANCEMENT: Updating `memberlite_page_nav` function to bail if the post ID is 0. -* BUG FIX/ENHANCEMENT: Font Awesome fixes for font-weight and buttons; Theme My Login 7 formatting fixes. -* BUG FIX/ENHANCEMENT: Updating check to require both Multiple Post Thumbnails and Memberlite Elements plugins to allow the `show_both` option in customizer. -* BUG FIX/ENHANCEMENT: Improving appearance of front page when set to static. -* BUG FIX/ENHANCEMENT: Adjusting style for banner images in the loop. -* BUG FIX/ENHANCEMENT: Updating Recent Posts w/Thumbnails widget to use grid instead of float. -* BUG FIX/ENHANCEMENT: Fixing case where customizer preview wasn't adjusting site description when changing site title and tagline text color. -* ENHANCEMENT: Moving all Theme My Login related styles to a separate optionally loaded integration file. -* ENHANCEMENT: Fixing mobile navigation search form to be the same whether added via Widget or via the Memberlite Options > Search Form After Navigation setting. -* ENHANCEMENT: Adding `pmpro_btn-cancel` to the standard link color default customization. -* ENHANCEMENT: Improving button and link-type button appearance throughout theme and for use in Paid Memberships Pro. -* ENHANCEMENT: Fixing padding on bbPress search widget to match other widget spacing. -* ENHANCEMENT: Removing padding on Custom HTML widget when placed in the sidebar (#secondary) location. -* ENHANCEMENT: Cleaning up tabs on empty lines. -* ENHANCEMENT: Removing the !important declaration from button font color. -* ENHANCEMENT: Adjusting text size of post titles in recent posts with thumbnails widget. -* ENHANCEMENT: Adding `rel="nofollow"` to the custom excerpt more link. -* ENHANCEMENT: Updating screenshot. -* ENHANCEMENT: Updating "Tested up to" WordPress version value. -* ENHANCEMENT: Adjusting featured image size in loop to use the 'medium' size for better appearance. -* FEATURE: Added `memberlite_google_fonts_weights` filter to adjust which font weights are enqueued when loading Google Fonts. - -**4.0 - 2018-07-31** -* SECURITY/BUG FIX: Added `esc_url` to wp-admin links on theme welcome page. -* SECURITY/BUG FIX: Various other escaping and sanitization fixes. (Thanks, Justin Tadlock and Sakin Shrestha) -* BUG FIX: Hiding 'Register' link in meta menu if registration is disabled. -* BUG FIX: Wrapping strings in customizer to fix redirect issue. -* BUG FIX: Fixed styles for some BuddyPress buttons that were invisible. -* BUG FIX/ENHANCEMENT: Fixed blockquotes styling. (Thanks, Justin Tadlock and Sakin Shrestha) -* BUG FIX/ENHANCEMENT: Prefixing all hooks with theme slug. Adding deprecated file for old hook names. -* ENHANCEMENT: Some banner, widget, and sidebar features were moved into a separate plugin Memberlite Elements, available from the wp.org repository here https://wordpress.org/plugins/memberlite-elements/. -* ENHANCEMENT: Improving print styles for better output -* ENHANCEMENT: Updating to version 5.2 of Font Awesome. -* ENHANCEMENT: Adding WooCommerce page template 3.x support -* ENHANCEMENT: Adding feature to define a member-menu area for logged out visitors -* ENHANCEMENT: Added `{post_type}` as a variable for the Post Entry Meta settings. -* ENHANCEMENT: Added some web safe fonts (non-Google Font) options for the font settings. Also allowing translators to exclude certain fonts. - -**3.0.4 - 2017-10-27** -* SECURITY/BUG FIX/ENHANCEMENT: Added sanitization and escaping to the banner metabox on the edit post page, fixed the cropping settings for the uploaded images, and refactored the code to make it more readable. (Thanks, Massimo Marazzi) -* ENHANCEMENT: Improved checkout template to work with the div-based layout now used in PMPro 1.9.4+. - -**3.0.3 - 2017-08-07** -* BUG: Fixed float for Full Width and Narrow Width page templates when default pages layout set to left sidebar. -* NOTE/ENHACEMENT: Now only showing the post meta generated by `memberlite_get_entry_meta()` on the post CPT. -* NOTE/ENHANCEMENT: Now only showing the footer widgets primary background stripe if there are active widgets in the area. -* ENHANCEMENT: Added CSS for JetPack contact form submission/results blockquote. - -**3.0.2 - 2017-01-02** -* BUG: Fixed issue with update code when PMPro is not installed. -* BUG/ENHANCEMENT: Now running `do_shortcode` on the "Banner Right" content. -* BUG/ENHANCEMENT: CSS tweak for input elements in iOS browsers. -* ENHANCEMENT: Added Narrow Width page template for an 8 column centered main content layout with no sidebar. - -**3.0.1 - 2016-12-06** -* BUG: Now hiding the wrapping `

` tag for `memberlite_get_entry_meta` before and after when set to none via customizer. -* ENHANCEMENT: Added masthead with profile user name to bbPress single user profile view. -* BUG: Now filtering `memberlite_banner_right` to allow shortcodes. -* BUG: Fixing some display issues with no masthead and the blog sidebar float. -* NOTE/ENHANCEMENT: Added the code back to update from the PMPro license server until we get approval in the WordPress repository. - -**3.0 - 2016-09-20** -* ENHANCEMENT: Page banner description and banner right column now inheriting ratio of primary columns. -* ENHANCEMENT: Adding support for toggling display of page masthead banner. -* BUG: Fixing index error on `memberlite_cpt_sidebar_id`. -* ENHANCEMENT: Added page setting for page icon and banner right icon display. -* BUG: Fixing error when viewing archive and no $post is set. -* BUG: Fixing error when missing pagemenuid in sidebar. -* Cleaning blank spaces in style.css -* BUG: Fixing CSS on checkout page headings (h2) for boxes added via Register Helper. -* BUG: Fixing some `dark.css` colors for Paid Memberships Pro and bbPress. -* ENHANCEMENT: Added customization setting for columns ratio of primary and sidebar. -* BUG: Removed `add_image_size('large')` declaration -* ENHANCEMENT: Added image size for 'fullwidth' (full width 12 columns - 1170px) -* ENHANCEMENT: Added fallback to author avatar for recent posts widget when featured image is not set -* BUG: Fixing `content_width` for full width or fluid width page template. -* ENHANCEMENT: Added single post meta settings with template variables for before and after post. -* ENHANCEMENT: Added Back to Top footer link -* ENHANCEMENT: Added customizer settings for page and post navigation -* ENHANCEMENT: Added single page navigation within parent/child page hierarchy -* ENHANCEMENT: Updating theme for compatibility with pmpro-advanced-levels-shortcode addon -* ENHANCEMENT: JS for smooth scroll to # target links in page -* BUG: Fixing nav menus when using pmpro-nav-menus addon -* BUG: Fixing errors and alerts from Theme Check plugin. -* ENHANCEMENT: Moving all shortcodes to 'memberlite-shortocdes' plugin for better compatibility for theme changes. -* ENHANCEMENT: Improved handling of CPT titles, breadcrumbs, and sidebars for single and archive view. - -**2.0.3.7** -* ENHANCEMENT: Added JS code to swap to a tab if an anchor is in the URL. - -**2.0.3.6** -* ENHANCEMENT: Added responsive appearance to compare_table Membership Levels layout. -* Added hooks for before and after content hooks to single page and single post. -* BUG: Fixed notices in memberlite_levels shortcode. +## Installation ## +For detailed installation steps, visit the [documentation on installing the theme](https://memberlitetheme.com/documentation/). -**2.0.3.5** -* FEATURE: Added memberlite_banner shortcode -* BUG: Fixed comment/ping/trackback count for 'approve' status only. -* BUG: Updated Comment Walker to respect PHP strict standards -* BUG: Fixed homepage bottom banner when page template is defined. -* BUG: Fixed highlighted level in the `compare_table` layout when highlighted level is first column. -* BUG: Fixed `current_user` level class on `compare_table` layout in membership levels shortcode. -* BUG: Fixed notice when bbpress is not activated for `memberlite_page_title` function +1. Download the current development ZIP file directly: `https://github.com/strangerstudios/memberlite/archive/dev.zip` -**2.0.3.4 - 2015-11-07** -* SECURITY: Now using `get_search_query()` and `the_search_query()` to prevent XSS issues in h1s and breadcrumbs on search results pages. (Thanks, retr0) -* ENHANCEMENT: Tweaks to checkout page CSS. +**Please ensure that once installing this version of the theme to remove `-dev` from the theme's folder name.** -**2.0.3.3** -* BUG: Updated `memberlite_defaults` for banner hover background color. +## Bugs ## +If you find an issue/bug, let us know by [creating a detailed GitHub issue](https://github.com/strangerstudios/memberlite/issues/new/choose). -**2.0.3.2 - 2015-10-08** -* BUG: Updated sidebar registration order so default widgets of new WP install are placed in the Posts custom sidebar. -* BUG: Fixed dropdown submenu menus at the third level/depth. -* BUG: Fixed case where the member menu wouldnā€™t appear for a logged in member. -* BUG: Fixed bug where the mobile menu icon would sometimes not show on mobile or ipad layouts. -* BUG: Fixed bug where the wrong banner image would sometimes show on blog and archive pages. -* BUG: Better handling of custom sidebars with quotes and other special characters in them. -* ENHANCEMENT: Now falling back to primary menu (if set) if mobile menu widgets are not defined. -* ENHANCEMENT: Now using the main navigation bar color for dropdown menus. -* ENHANCEMENT: Added support for assigning custom sidebars to detected CPTs. -* ENHANCEMENT: Added "lock" icon to membership-restricted post titles (requires PMPro v1.8.5.4 or higher) -* ENHANCEMENT: Added the ability to select a separate banner and feature image when the Multiple Post Thumbnails Plugin () is enabled. -* ENHANCEMENT: Setting the hover colors of primary, secondary, and action links to a lighter version of the color instead of using other colors from the color scheme. -* ENHANCEMENT: Moved `memberlite_defaults` array to a separate included file. -* ENHANCEMENT: Design improvements for galleries and image captions. +## Support ## +This is a developer's portal for Memberlite. We do not offer support on this channel. **Any support related questions should be directed to [memberlitetheme.com](https://memberlitetheme.com).** -**2.0.3.1 - 2015-08-26** -* ENHANCEMENT: Support added for dark background via customizer setting and additional dark.css -* BUG: Fixing issue with `[memberlite_subpagelist]` shortcode thumbnail size setting -* BUG: Header text color fix in customizer +## Contributing to Memberlite ## +We encourage and welcome any contribution to Memberlite. Please read the [guidelines for contributing](https://github.com/strangerstudios/memberlite/blob/dev/.github/CONTRIBUTING.md) to this repository. -**2.0.3 - 2015-08-26** -* SECURITY: Fixed XSS issue with the h1 display of search queries. -* BUG: Removed `pmpro_content_filter` from banner description so it is not duplicated in post content. -* BUG: Fixing issue where archvies and index weren't showing full `the_content` when set in customizer. -* ENHANCEMENT: Updating Title of Contents and general stylesheet formatting improvements. -* ENHANCEMENT: Added `post_parent` and `thumbnail_size` attributes to `[memberlite_subpagelist]` shortcode. -* ENHANCEMENT: Improved `memberlite_getLevelCost` function to respect price formatting filters in Paid Memberships Pro. -* ENHANCEMENT: Added masthead banner background image support to front-page template. -* ENHANCEMENT: Added customizer settings for primary navigation bar background color and link color. -* ENHANCEMENT: Added `scheme_SCHEMENAME` to body classes array when an included color scheme is selected in customizer.' -* ENHANCEMENT: Improved formatting for comments, nested comments, pingbacks and trackbacks +There are various **ways to help the development** of Memberlite: -**2.0.2** -* ENHANCEMENT: Now respecting your choice if you set a specific page template on the "static front page". -* BUG: Updates to member menu area to only show the "member menu" selection if current user has membership level. +1. Report [bugs/issues](https://github.com/strangerstudios/memberlite/issues/new/choose) on GitHub. +2. Work on any issues by submitting a Pull Request. -**2.0.1** -* BUG: Added hook to reset `update_themes` cache when pmpro license is updated. -* ENHANCEMENT: Added the `pmpro_license_check_key_timeout` filter which can be used to set the timeout of the call to the PMPro License Server to something other than 5s. This is useful if you find your website timing out or having trouble getting updates. +Here are some ways for **non-developers to contribute** to Memberlite: -**2.0** -* Initial version. +1. Translate Memberlite into your own language. +2. [Purchase a Memberlite Support membership](https://memberlitetheme.com/pricing) to help fund ongoing development and bug fixes. +3. Leave an honest review for [Memberlite](https://wordpress.org/support/theme/memberlite/reviews/).