esc_html__( 'Used to store any HTML & CSS code that exists before the post/content listings. Useful for div, ul, ol, tables, etc.. As well as storing CSS styling for IDs and Classes.', 'advanced-post-list' ), 'list_content' => esc_html__( 'This where you design how your posts are going to display in the post list. In here you can use HTML, CSS, PHP (requires the PHP shortcode), and the plugin\'s internal shortcodes. Info can be found at the bottom, or by clicking on the shortcode info found below "List content".', 'advanced-post-list' ), 'after_list' => esc_html__( 'Used for ending any elements that are still open, or to display a final message to the users/visitors.', 'advanced-post-list' ), 'empty_message' => esc_html__( 'This container holds the HTML & CSS content and if no posts are found to be listed in the preset. Then the preset post list will display this message. If no Empty Message is found, then the post list will use the Default Empty Message if enabled in the Plugin\'s Admin Settings. Otherwise, the plugin will display nothing like it was originally set as. Please Note: if you are using the Default Empty Message but you don\'t want to display anything in a certain preset post list. Then simple create an empty element to fall back on. For example, an empty "span" HTML element.', 'advanced-post-list' ), ); if ( 'apl_post_list' === $post->post_type ) { $apl_post_list = new APL_Post_List( $post->post_name ); $apl_design_post_id = $apl_post_list->pl_apl_design_id; if ( defined( 'ICL_SITEPRESS_VERSION' ) ) { $apl_design_post_id = apply_filters( 'wpml_object_id', $apl_post_list->pl_apl_design_id, 'apl_design', true ); } $apl_design = new APL_Design( $apl_design_post_id ); } elseif ( defined( 'ICL_SITEPRESS_VERSION' ) && 'apl_design' === $post->post_type ) { // Why isn't this being used? Is it needed? v0.4.4 WPML update. $wpml_post_id = apply_filters( 'wpml_object_id', $post->ID, 'apl_design', true ); $design_post_id = intval( $post->ID ); $apl_design = new APL_Design( $design_post_id ); } elseif ( 'apl_design' === $post->post_type ) { $apl_design = new APL_Design( intval( $post->ID ) ); } else { wp_die( 'Objects aren\'t being loaded correctly in `' . dirname( __FILE__ ) . basename( __FILE__ ) . '`.' ); } ?>