"; $metabox_title .= esc_html__( 'ACTUS Animated Words Slider', 'actus-aaws' ); $pg_type = 'post'; if ( get_current_screen()->id == "page" ) { $pg_type = 'page'; } add_meta_box( 'actus-aaws-box', $metabox_title, 'actus_aaws_box_content', $pg_type, 'normal', // Context 'default' // Priority ); } /** * Metaboxes Content * * Initialize and display the slider administration metaboxes. * * @variable string $post_images All the images of the post. * @variable string $image Image value in iteration. * @variable string $chkbx The checkbox icon url. * @variable string $clss Defines the inactive class. * * @global array $actus_aaws_options The slider administgration options. * @global array $actus_aaws_slider_options The options for the slider animation. * * @constant string ACTUS_AAWS_URL URL of the Plugin. */ function actus_aaws_box_content( $post ) { global $actus_aaws_options, $actus_aaws_slider_options; $post_images = $actus_aaws_options[ 'images' ]; ?>

Use the shortcode [actus-awslider] to place the slider anywhere on your page

SLIDER PREVIEW

SLIDER FLOW

SLIDER OPTIONS

height

transition time

slide time

image zoom

image rotation

words

opacity

speed

font size

color A

color B

density

font family

SELECT IMAGES

attached images

0 ) foreach( $post_images[ 'attached' ] as $image ) { $clss = ''; if ( $image[ 'status' ] == 0 ) { $clss = 'inactive'; } echo "
"; echo ""; echo "
"; } if ( is_array( $post_images[ 'uploaded' ] ) ) if ( sizeof( $post_images[ 'uploaded' ] ) > 0 ) foreach( $post_images[ 'uploaded' ] as $image ) { $clss = ''; if ( $image[ 'status' ] == 0 ) { $clss = 'inactive'; } echo "
"; echo ""; echo "
"; } ?>

ADD IMAGE

content images

"; echo ""; echo "
"; } echo '
'; ?>

from galleries

"; echo ""; echo "
"; } echo '
'; ?>

WORDS TO BE ANIMATED

post content

minimum
characters

minimum
times used

1

select/deselect all

post tags

other words

placeholder="type words or phrases (comma seperated)" id="actus-aaws-add-words-input" name="actus-aaws-other-words">
ID; // Check if our nonce is set. if ( isset( $_POST['actus_aaws_save_nonce'] ) ) { // Verify that the nonce is valid. if ( wp_verify_nonce( $_POST['actus_aaws_save_nonce'], 'actus_aaws_save_nonce' ) ) { // SAVE options (actus_aaws_options) if ( isset( $_POST['actus_aaws_options'] ) ) { $data = sanitize_text_field( $_POST['actus_aaws_options'] ); update_post_meta( $post_id, 'actus_aaws_options', $data ); } // SAVE slide options (actus_aaws_slider_options) if ( isset( $_POST['actus_aaws_slider_options'] ) ) { $data = sanitize_text_field( $_POST['actus_aaws_slider_options'] ); update_post_meta( $post_id, 'actus_aaws_slider_options', $data ); } } } }