Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/tienda/wp-content/themes/kossy/inc/vendors/visualcomposer/vc-map-posts.php
Назад
<?php if ( function_exists('vc_path_dir') && function_exists('vc_map') ) { require_once vc_path_dir('SHORTCODES_DIR', 'vc-posts-grid.php'); if ( !function_exists('kossy_load_post_element')) { function kossy_load_post_element() { $layouts = array( esc_html__('Grid', 'kossy') => 'grid', esc_html__('List', 'kossy') => 'list', esc_html__('Carousel', 'kossy') => 'carousel', ); $columns = array(1,2,3,4,6); vc_map( array( 'name' => esc_html__( 'Apus Grid Posts', 'kossy' ), 'base' => 'apus_gridposts', 'icon' => 'icon-wpb-news-12', "category" => esc_html__('Apus Post', 'kossy'), 'description' => esc_html__( 'Create Post having blog styles', 'kossy' ), 'params' => array( array( 'type' => 'textfield', 'heading' => esc_html__( 'Title', 'kossy' ), 'param_name' => 'title', 'description' => esc_html__( 'Enter text which will be used as widget title. Leave blank if no title is needed.', 'kossy' ), "admin_label" => true ), array( 'type' => 'loop', 'heading' => esc_html__( 'Grids content', 'kossy' ), 'param_name' => 'loop', 'settings' => array( 'size' => array( 'hidden' => false, 'value' => 4 ), 'order_by' => array( 'value' => 'date' ), ), 'description' => esc_html__( 'Create WordPress loop, to populate content from your site.', 'kossy' ) ), array( 'type' => 'checkbox', 'heading' => esc_html__( 'Show Pagination?', 'kossy' ), 'param_name' => 'show_pagination', 'description' => esc_html__( 'Enables to show paginations to next new page.', 'kossy' ), 'value' => array( esc_html__( 'Yes, to show pagination', 'kossy' ) => 'yes' ) ), array( "type" => "dropdown", "heading" => esc_html__('Grid Columns','kossy'), "param_name" => 'grid_columns', "value" => $columns ), array( "type" => "dropdown", "heading" => esc_html__("Layout Type", 'kossy'), "param_name" => "layout_type", "value" => $layouts ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Thumbnail size', 'kossy' ), 'param_name' => 'thumbsize', 'description' => esc_html__( 'Enter thumbnail size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height) . ', 'kossy' ) ), array( 'type' => 'textfield', 'heading' => esc_html__( 'Extra class name', 'kossy' ), 'param_name' => 'el_class', 'description' => esc_html__( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'kossy' ) ) ) ) ); } } add_action( 'vc_after_set_mode', 'kossy_load_post_element', 99 ); class WPBakeryShortCode_apus_gridposts extends WPBakeryShortCode_VC_Posts_Grid {} }
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка