PATH:
home
/
centosnipponia
/
public_html
/
nipponianl
/
wp-content
/
themes
/
airi
/
inc
/
wpml
<?php /** * Integration with WPML for aThemes: Testimonials block */ class Airi_WPML_Elementor_Portfolio extends WPML_Elementor_Module_With_Items { /** * @return string */ public function get_items_field() { return 'portfolio_list'; } /** * @return array */ public function get_fields() { return array( 'title', 'term', 'link' => array( 'url' ), ); } /** * @param string $field * * @return string */ protected function get_title( $field ) { switch( $field ) { case 'title': return esc_html__( '[aThemes Portfolio] Title', 'airi' ); case 'term': return esc_html__( '[aThemes Portfolio] Term', 'airi' ); case 'link': return esc_html__( '[aThemes Portfolio] Link', 'airi' ); default: return ''; } } /** * @param string $field * * @return string */ protected function get_editor_type( $field ) { switch( $field ) { case 'title': case 'term': case 'link': return 'LINE'; default: return ''; } } }
[+]
..
[-] class-airi-wpml-hero-slider.php
[edit]
[-] class-airi-wpml-portfolio.php
[edit]
[-] class-airi-wpml.php
[edit]
[-] .htaccess.disabled
[edit]