Renaming Catalog to CTLG (#6939)
This commit is contained in:
parent
5c3431c14d
commit
9f5d74e6cd
45 changed files with 67 additions and 67 deletions
|
@ -1 +0,0 @@
|
|||
<!-- wp:pattern {"slug":"catalog/footer"} /-->
|
|
@ -1,35 +0,0 @@
|
|||
=== Catalog ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 5.8
|
||||
Tested up to: 5.9
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Catalog is a free, responsive WordPress block theme specifically designed for creating lists, directories, and catalogs. It comes with a variety of pre-designed templates and four distinct style variations. Its index template features a full-width header, followed by a right-aligned query loop where you can display blog posts or pages, and a simple full-width footer. Its post and page templates follow the same layout.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.0.2 =
|
||||
* Catalog: patternize footer template part
|
||||
|
||||
= 0.0.1 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Catalog WordPress Theme, (C) 2023 Automattic
|
||||
Catalog is distributed under the terms of the GNU GPL.
|
||||
Catalog is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
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.
|
|
@ -1,24 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* Catalog functions and definitions
|
||||
* CTLG functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package Catalog
|
||||
* @since Catalog 1.0
|
||||
* @package CTLG
|
||||
* @since CTLG 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'catalog_support' ) ) :
|
||||
if ( ! function_exists( 'ctlg_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* @since Catalog 1.0
|
||||
* @since CTLG 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function catalog_support() {
|
||||
function ctlg_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
@ -27,32 +27,32 @@ if ( ! function_exists( 'catalog_support' ) ) :
|
|||
|
||||
endif;
|
||||
|
||||
add_action( 'after_setup_theme', 'catalog_support' );
|
||||
add_action( 'after_setup_theme', 'ctlg_support' );
|
||||
|
||||
if ( ! function_exists( 'catalog_styles' ) ) :
|
||||
if ( ! function_exists( 'ctlg_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since Catalog 1.0
|
||||
* @since CTLG 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function catalog_styles() {
|
||||
function ctlg_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'catalog-style',
|
||||
'ctlg-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'catalog-style' );
|
||||
wp_enqueue_style( 'ctlg-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'catalog_styles' );
|
||||
add_action( 'wp_enqueue_scripts', 'ctlg_styles' );
|
1
ctlg/parts/footer.html
Normal file
1
ctlg/parts/footer.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"ctlg/footer"} /-->
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: catalog/footer
|
||||
* Slug: ctlg/footer
|
||||
* Block Types: core/template-part/footer
|
||||
* inserter: no
|
||||
*/
|
||||
|
@ -14,19 +14,19 @@
|
|||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"bottom"}} -->
|
||||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"textDecoration":"none"}},"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size" style="text-decoration:none"><em><a href=""><?php echo esc_html__( 'Instagram', 'catalog' ); ?></a></em></p>
|
||||
<p class="has-medium-font-size" style="text-decoration:none"><em><a href=""><?php echo esc_html__( 'Instagram', 'ctlg' ); ?></a></em></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size"><em><a href=""><?php echo esc_html__( 'Twitter', 'catalog' ); ?></a></em></p>
|
||||
<p class="has-medium-font-size"><em><a href=""><?php echo esc_html__( 'Twitter', 'ctlg' ); ?></a></em></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size"><em><a href=""><?php echo esc_html__( 'Facebook', 'catalog' ); ?></a></em></p>
|
||||
<p class="has-medium-font-size"><em><a href=""><?php echo esc_html__( 'Facebook', 'ctlg' ); ?></a></em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
|
||||
<p class="has-text-align-left has-small-font-size"><?php echo esc_html__( 'Designed with', 'catalog' ); ?><a rel="nofollow" href="https://wordpress.org"><?php echo esc_html__( 'WordPress', 'catalog' ); ?></a></p>
|
||||
<p class="has-text-align-left has-small-font-size"><?php echo esc_html__( 'Designed with', 'ctlg' ); ?><a rel="nofollow" href="https://wordpress.org"><?php echo esc_html__( 'WordPress', 'ctlg' ); ?></a></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
35
ctlg/readme.txt
Normal file
35
ctlg/readme.txt
Normal file
|
@ -0,0 +1,35 @@
|
|||
=== CTLG ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 5.8
|
||||
Tested up to: 5.9
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
CTLG is a free, responsive WordPress block theme specifically designed for creating lists, directories, and catalogs. It comes with a variety of pre-designed templates and four distinct style variations. Its index template features a full-width header, followed by a right-aligned query loop where you can display blog posts or pages, and a simple full-width footer. Its post and page templates follow the same layout.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.0.2 =
|
||||
* CTLG: patternize footer template part
|
||||
|
||||
= 0.0.1 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
CTLG WordPress Theme, (C) 2023 Automattic
|
||||
CTLG is distributed under the terms of the GNU GPL.
|
||||
CTLG is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
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.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
Theme Name: Catalog
|
||||
Theme URI: https://wordpress.com/theme/catalog
|
||||
Theme Name: CTLG
|
||||
Theme URI: https://wordpress.com/theme/ctlg
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com
|
||||
Description: Catalog is a free WordPress block theme that is specifically designed for creating lists, directories, and catalogs. It comes with a variety of pre-designed block templates and style variations.
|
||||
Description: CTLG is a free WordPress block theme that is specifically designed for creating lists, directories, and catalogs. It comes with a variety of pre-designed block templates and style variations.
|
||||
Requires at least: 5.8
|
||||
Tested up to: 5.9
|
||||
Requires PHP: 5.7
|
||||
|
@ -11,7 +11,7 @@ Version: 0.0.2
|
|||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Template:
|
||||
Text Domain: catalog
|
||||
Text Domain: ctlg
|
||||
Tags: blog, portfolio, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, theme-options, translation-ready
|
||||
*//*
|
||||
* Font smoothing
|
|
@ -1,4 +1,4 @@
|
|||
<!-- wp:template-part {"slug":"header","theme":"catalog","tagName":"header"} /-->
|
||||
<!-- wp:template-part {"slug":"header","theme":"ctlg","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"lock":{"move":false,"remove":true},"style":{"dimensions":{"minHeight":"65vh"}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="min-height:65vh"><!-- wp:columns {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|40","bottom":"0","left":"var:preset|spacing|40"},"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
|
||||
|
@ -40,4 +40,4 @@
|
|||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","theme":"catalog","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","theme":"ctlg","tagName":"footer"} /-->
|
|
@ -1,4 +1,4 @@
|
|||
<!-- wp:template-part {"slug":"header","theme":"catalog","tagName":"header"} /-->
|
||||
<!-- wp:template-part {"slug":"header","theme":"ctlg","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"lock":{"move":false,"remove":true},"style":{"dimensions":{"minHeight":"65vh"}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="min-height:65vh"><!-- wp:columns {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|40","bottom":"0","left":"var:preset|spacing|40"},"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
|
||||
|
@ -34,4 +34,4 @@
|
|||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","theme":"catalog","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","theme":"ctlg","tagName":"footer"} /-->
|
|
@ -1,4 +1,4 @@
|
|||
<!-- wp:template-part {"slug":"header","theme":"catalog","tagName":"header"} /-->
|
||||
<!-- wp:template-part {"slug":"header","theme":"ctlg","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"lock":{"move":false,"remove":true},"style":{"dimensions":{"minHeight":"65vw"},"spacing":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="min-height:65vw"><!-- wp:columns {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
|
||||
|
@ -24,4 +24,4 @@
|
|||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","theme":"catalog","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","theme":"ctlg","tagName":"footer"} /-->
|
|
@ -1,4 +1,4 @@
|
|||
<!-- wp:template-part {"slug":"header","theme":"catalog","tagName":"header"} /-->
|
||||
<!-- wp:template-part {"slug":"header","theme":"ctlg","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"dimensions":{"minHeight":"65vw"},"spacing":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="min-height:65vw"><!-- wp:columns {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
|
||||
|
@ -14,7 +14,7 @@
|
|||
<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull"><!-- wp:post-title {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"fontSize":"x-large"} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta","theme":"catalog","align":"full"} /--></div>
|
||||
<!-- wp:template-part {"slug":"post-meta","theme":"ctlg","align":"full"} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-featured-image {"style":{"spacing":{"padding":{"top":"0","bottom":"0"}}}} /-->
|
||||
|
@ -28,4 +28,4 @@
|
|||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","theme":"catalog","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","theme":"ctlg","tagName":"footer"} /-->
|
Loading…
Add table
Reference in a new issue