HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/mussarq_bak/wp-content/themes/wpnull24/framework/config/elements/post_author.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

$misc = us_config( 'elements_misc' );
$typography_options = us_config( 'elements_typography_options' );
$design_options = us_config( 'elements_design_options' );
$hover_options = us_config( 'elements_hover_options' );

return array(
	'title' => __( 'Post Author', 'us' ),
	'category' => __( 'Post Elements', 'us' ),
	'icon' => 'fas fa-user',
	'params' => array_merge( array(

		'link' => array(
			'title' => us_translate( 'Link' ),
			'type' => 'select',
			'options' => array(
				'author_page' => __( 'To the page with the Author\'s posts', 'us' ),
				'author_website' => __( 'To the Author\'s website (if specified on his profile)', 'us' ),
				'post' => __( 'To a Post', 'us' ),
				'custom' => __( 'Custom', 'us' ),
				'none' => us_translate( 'None' ),
			),
			'std' => 'author_page',
		),
		'custom_link' => array(
			'placeholder' => us_translate( 'Enter the URL' ),
			'description' => $misc['desc_grid_custom_link'],
			'type' => 'link',
			'std' => array(),
			'shortcode_std' => '',
			'grid_classes' => 'desc_3',
			'show_if' => array( 'link', '=', 'custom' ),
		),
		'color_link' => array(
			'title' => __( 'Link Color', 'us' ),
			'type' => 'switch',
			'switch_text' => __( 'Inherit from text color', 'us' ),
			'std' => TRUE,
			'show_if' => array( 'link', '!=', 'none' ),
		),
		'avatar' => array(
			'type' => 'switch',
			'switch_text' => us_translate( 'Profile Picture' ),
			'std' => FALSE,
		),
		'avatar_width' => array(
			'title' => __( 'Picture Width', 'us' ),
			'description' => $misc['desc_pixels'],
			'type' => 'text',
			'std' => '96px',
			'cols' => 2,
			'show_if' => array( 'avatar', '!=', FALSE ),
		),
		'avatar_pos' => array(
			'title' => __( 'Picture Position', 'us' ),
			'type' => 'select',
			'options' => array(
				'top' => us_translate( 'Top' ),
				'left' => us_translate( 'Left' ),
			),
			'std' => 'top',
			'cols' => 2,
			'show_if' => array( 'avatar', '!=', FALSE ),
		),
		'posts_count' => array(
			'type' => 'switch',
			'switch_text' => __( 'Posts count', 'us' ),
			'std' => FALSE,
		),
		'website' => array(
			'type' => 'switch',
			'switch_text' => us_translate( 'Website' ),
			'std' => FALSE,
		),
		'info' => array(
			'type' => 'switch',
			'switch_text' => us_translate( 'Biographical Info' ),
			'std' => FALSE,
		),
		'icon' => array(
			'title' => __( 'Icon', 'us' ),
			'type' => 'icon',
			'std' => '',
		),

	), $typography_options, $design_options, $hover_options ),
);