Merge pull request #8 from pappasadrian/master

minor spelling and grammar fixes
This commit is contained in:
Mateus Machado Luna 2021-11-23 09:04:01 -03:00 committed by GitHub
commit f756f00856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 13 deletions

View File

@ -23,18 +23,18 @@ This project uses their customizer controls to offer options for setting differe
== Installation == == Installation ==
Upload the files to the plugins directory and activate it. You can also install and activate directly from the admin panel. Upload the files to the plugins directory and activate it. You can also install and activate directly from the admin panel.
Once activated, go to the theme customizer and play around with Tainacan-related options for each of your collections. Once activated, go to the theme customizer and play around with Tainacan-related options for each of your collections.
This plugin will only work with [Tainacan plugin](https://wordpress.org/plugins/tainacan/) active, preferably with a version greater than or equal to 0.17.4;
Also, this plugin will only work with [Blocksy theme](https://wordpress.org/themes/blocksy/) active, preferably with a version greater than or equal to 1.7.0; This plugin will only work with [Tainacan plugin](https://wordpress.org/plugins/tainacan/) active, preferably at version 0.17.4 or newer;
Also, this plugin will only work with [Blocksy theme](https://wordpress.org/themes/blocksy/) active, preferably at version 1.7.0 or newer;
== Find out more == == Find out more ==
* Visit our official website: [https://tainacan.org/](https://tainacan.org/) * Visit our official website: [https://tainacan.org/](https://tainacan.org/)
* Check our documentation Wiki: [https://wiki.tainacan.org/](https://wiki.tainacan.org/) * Check our documentation Wiki: [https://wiki.tainacan.org/](https://wiki.tainacan.org/)
* Source code on GitHub: [https://github.com/tainacan/blocksy-tainacan](https://github.com/tainacan/blocksy-tainacan) * Source code on GitHub: [https://github.com/tainacan/blocksy-tainacan](https://github.com/tainacan/blocksy-tainacan)
@ -52,8 +52,8 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS
== Screenshots == == Screenshots ==
1. With the plugin enabled, your customizer will offer options for each Tainacan collection items list and item page, besides the repository and term items list page; 1. With the plugin enabled, your customizer will offer options for each Tainacan collection items list and item page, besides the repository and term items list page;
2. The item single page can be customized for different layouts, so you can decide how to display the document, attachments and metadata; 2. The single item page can be customized for different layouts, so you can decide how to display the document, attachments and metadata;
3. Besides that, Blocksy offers different title banners, post navigation and related post features that can also be used in your item single page; 3. Besides that, Blocksy offers different title banners, post navigation and related post features that can also be used in your single item page;
== Changelog == == Changelog ==
@ -90,4 +90,4 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS
* Changes name to avoid trademark issues * Changes name to avoid trademark issues
= 0.1.2 = = 0.1.2 =
* First release on the WordPress.org plugins repository * First release on the WordPress.org plugins repository

View File

@ -142,7 +142,7 @@ if ( !function_exists('tainacan_blocksy_custom_post_types_supported_list') ) {
add_filter( 'blocksy:custom_post_types:supported_list', 'tainacan_blocksy_custom_post_types_supported_list', 10 ); add_filter( 'blocksy:custom_post_types:supported_list', 'tainacan_blocksy_custom_post_types_supported_list', 10 );
/** /**
* Renders the item single page with a custom template that will use most of Blocksy features * Renders the single item page with a custom template that will use most of Blocksy features
*/ */
if ( !function_exists('tainacan_blocksy_the_content_for_items') ) { if ( !function_exists('tainacan_blocksy_the_content_for_items') ) {
function tainacan_blocksy_the_content_for_items( $content ) { function tainacan_blocksy_the_content_for_items( $content ) {

View File

@ -63,7 +63,7 @@ $options = [
'label' => __( 'Show the "Hide filters" button', 'tainacan-blocksy' ), 'label' => __( 'Show the "Hide filters" button', 'tainacan-blocksy' ),
'type' => 'ct-switch', 'type' => 'ct-switch',
'value' => 'yes', 'value' => 'yes',
'desc' => __( 'Display the button for hidding the filters panel.', 'tainacan-blocksy' ), 'desc' => __( 'Display the button for hiding the filters panel.', 'tainacan-blocksy' ),
'sync' => '' 'sync' => ''
], ],
blocksy_rand_md5() => [ blocksy_rand_md5() => [

View File

@ -24,7 +24,7 @@ $options = [
'label' => __( 'Show the "Items per page" button', 'tainacan-blocksy' ), 'label' => __( 'Show the "Items per page" button', 'tainacan-blocksy' ),
'type' => 'ct-switch', 'type' => 'ct-switch',
'value' => 'yes', 'value' => 'yes',
'desc' => __( 'Display the button for choosing how many items per page shoulb be loaded.', 'tainacan-blocksy' ), 'desc' => __( 'Display the button for choosing how many items per page should be loaded.', 'tainacan-blocksy' ),
'sync' => '' 'sync' => ''
], ],
$prefix . 'show_go_to_page_button' => [ $prefix . 'show_go_to_page_button' => [

View File

@ -13,7 +13,7 @@ $options = [
'type' => 'ct-switch', 'type' => 'ct-switch',
'value' => $enabled, 'value' => $enabled,
'setting' => [ 'transport' => 'postMessage' ], 'setting' => [ 'transport' => 'postMessage' ],
'desc' => __( 'Toggle to show or not the item thumbnail on the metadada list.', 'tainacan-blocksy' ), 'desc' => __( 'Toggle to show or not the item thumbnail on the metadata list.', 'tainacan-blocksy' ),
'sync' => blocksy_sync_single_post_container([ 'sync' => blocksy_sync_single_post_container([
'prefix' => $prefix 'prefix' => $prefix
]) ])

View File

@ -14,7 +14,7 @@ $options = [
'type' => 'ct-switch', 'type' => 'ct-switch',
'value' => $enabled, 'value' => $enabled,
'setting' => [ 'transport' => 'postMessage' ], 'setting' => [ 'transport' => 'postMessage' ],
'desc' => __( 'Toggle to hide or not the core title from the metadada list, as it already appears on the page title.', 'tainacan-blocksy' ), 'desc' => __( 'Toggle to hide or not the core title from the metadata list, as it already appears on the page title.', 'tainacan-blocksy' ),
'sync' => blocksy_sync_single_post_container([ 'sync' => blocksy_sync_single_post_container([
'prefix' => $prefix 'prefix' => $prefix
]) ])