┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/olizo-metro16/wp-content/themes/blocksy/inc/options/pages
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: author-page.php
<?php /** * Author page * * @copyright 2020-present Creative Themes * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License * @package Blocksy */ $page_title_options = blocksy_get_options('general/page-title', [ 'prefix' => 'author', 'is_author' => true, 'location_name' => __('Author', 'blocksy'), ]); $posts_listing_options = blocksy_get_options('general/posts-listing', [ 'prefix' => 'author', 'title' => __('Author Page', 'blocksy') ]); $inner_options = [ blocksy_manager()->get_prefix_title_actions([ 'prefix' => 'author', 'areas' => [ [ 'title' => __('Page Title', 'blocksy'), 'options' => $page_title_options, 'sources' => array_merge( blocksy_manager() ->screen ->get_archive_prefixes_with_human_labels([ 'has_categories' => true, 'has_author' => true, 'has_search' => true, 'has_woocommerce' => true ]), blocksy_manager() ->screen ->get_single_prefixes_with_human_labels([ 'has_woocommerce' => true ]) ) ], [ 'id' => 'posts_listing', 'title' => __('Posts Listing', 'blocksy'), 'options' => $posts_listing_options, 'sources' => blocksy_manager() ->screen ->get_archive_prefixes_with_human_labels([ 'has_categories' => true, 'has_author' => true, 'has_search' => true ]), ], [ 'title' => __('Pagination', 'blocksy'), 'options' => [], 'sources' => blocksy_manager() ->screen ->get_archive_prefixes_with_human_labels([ 'has_categories' => true, 'has_author' => true, 'has_search' => true ]), ] ] ]), $page_title_options, $posts_listing_options, [ blocksy_rand_md5() => [ 'type' => 'ct-title', 'label' => __( 'Page Elements', 'blocksy' ), ], ], blocksy_get_options('general/sidebar-particular', [ 'prefix' => 'author', ]) ]; if ( function_exists('blocksy_companion_get_content_block_that_matches') && blocksy_companion_get_content_block_that_matches([ 'template_type' => 'archive', 'template_subtype' => 'canvas', 'match_conditions_strategy' => 'author' ]) ) { $inner_options = [ blocksy_rand_md5() => [ 'type' => 'ct-notification', 'attr' => [ 'data-type' => 'background:white' ], 'text' => blocksy_safe_sprintf( __('This archive page is overrided by a custom template, to edit it please access %sthis page%s.', 'blocksy'), '<a href="' . get_edit_post_link(blocksy_companion_get_content_block_that_matches([ 'template_type' => 'archive', 'template_subtype' => 'canvas', 'match_conditions_strategy' => 'author' ])) . '" target="_blank">', '</a>' ) ], ]; } $options = [ 'author_section_options' => [ 'type' => 'ct-options', 'setting' => [ 'transport' => 'postMessage' ], 'inner-options' => $inner_options ], ];
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 author-page.php
PHP
2.8 KB
2026-05-08 08:10
EDIT
📄 page.php
PHP
3.8 KB
2026-05-08 08:10
EDIT
📄 search-page.php
PHP
3.7 KB
2026-05-08 08:10
EDIT