- How to activate Ultimate Addons for Elementor license?
- How to Get License Key of Ultimate Addons for Elementor?
- About Beta Versions
- How To Install The Ultimate Addons For Elementor Plugin?
- Getting Started with Ultimate Addons for Elementor
- Enabling Automatic Beta Updates for UAE
- How Can I Upgrade the License?
- How to Update Ultimate Addons for Elementor Plugin?
- How to update any plugin manually through FTP?
- About Beta Versions
- How to Enable / Disable Widgets in UAE to Reduce Server Requests?
- How to White Label UAE?
- Getting Started with Ultimate Addons for Elementor
- UAE Saved Sections
- How to create Google API key in Google Maps Widget of UAE?
- White Screen /500 Error After Plugin Installation
- How to Increase the Memory Limit of your site?
- Unable to see the Font Awesome 5 Icons in UAE’s widgets?
- Introducing User Registration Form Widget
- How to Create a User Registration Form using Elementor?
- How to Create a User Registration Form with Only Email Field in Elementor?
- Frequently Asked Questions about User Registration Forms
- Google reCAPTCHA v3 in User Registration Form for Elementor
- Honeypot field in User Registration Form for Elementor
- Filters/Actions for User Registration Form Widget
- How to Open a Modal Popup on the Click of an Elementor Widget?
- Modal Popup Widget
- How to Trigger a Modal Popup on the Click of a Menu Element?
- How To Close a Modal Popup on the Click of a Button or Text?
- How to Insert a Video in the UAE Modal Popup?
- What are the Various Options to Close a Modal Popup in UAE?
- How to Display a Modal Popup on Exit Intent?
- Modal Popup JS Triggers
- Woo – Products Widget
- How to display exact WooCommerce product with Query Builder?
- How to set Grid and Carousel layout for WooCommerce products?
- Filters/Actions for WooCommerce Products
- How to enable Quick View for WooCommerce Products?
- How to Exclude WooCommerce Products with Woo-Products Widget?
- How to Set Featured Products in WooCommerce?
- Woo – Products Carousel Does Not Display Correctly?
- How to Display Related Products with Woo-Products Widget?
- How To Add Rows And Columns to the Table?
- Table Widget
- How to add Table Header with Table Widget?
- How to add Table Content with Table Widget?
- How to add Sortable and Searchable Table? How to Show Entries Dropdown?
- How to Merge Columns and Rows in Table?
- How to Style the Table?
- Create Table by Uploading CSV
- Facing Issues with CSV Import?
- Image Gallery Widget
- How to Set Categories for Images?
- How to Add a Caption for the Image?
- How to Set a Custom Link for the Image?
- How to Design Filterable Image Gallery?
- How to Open a Webpage with the Click of an Image?
- How to Set Scale, Opacity, Effects, Overlay Color for Images?
- How to Display Specific Category Tab as a Default on Page Load?
- How to Set Icon on Image Hover?
- Video Gallery Widget
- How to Set Categories for Videos?
- How to Design Filterable Video Gallery?
- How to Display Specific Video Category Tab as a Default on Page Load?
- How to Set a Custom Placeholder Image for the Video?
- How to Set Overlay Color on the Video Thumbnail on Mouse Hover?
- How to Show Video Caption on Hover?
- How to Show Video Category on Hover?
- Bulk Editing for Video Category Names
- How to Style Particular Item / Icon?
- Timeline Widget
- How to Change the Vertical Position of Arrow & Icon?
- How to Set On-Scroll Color for Connector Line and Icon?
- How to Set the Alternate Alignment for the Card Content?
- How to Manage Timeline on Responsive View?
- How Query Builder Works for Post Timeline?
- How to Set Post as Sticky?
- Enable Infinite Load Pagination for Post Timeline
- Posts Widget
- How Query Builder Works for Posts Widget?
- How to Enable Infinite Load Pagination for Posts?
- Filters/Actions for Posts Widget
- Filterable Tabs for Posts Widget
- Layouts for Posts Widget
- Posts Widget Carousel Does Not Display Correctly?
- Displaying Portfolios in UAE Post Widget Using Custom Filters
Filters/Actions for Posts Widget
#Actions
Actions available for Posts Widget are listed below.
The parameters used in the below actions/filters are one of the below-listed options. The detailed description of these parameters is as specified below.
$settings
: This is the entire setting array for the particular dragged dropped Post Widget. One can add conditional logic as per the selected options in the settings.$post_id
: This is the single post ID in the loop. This is useful when one wants to fetch post specific data and display it.
uael_posts_before_outer_wrap
Fires at the beginning of the post outer wrap
function summary_wrap_before( $settings ) { echo '<div> I am at the beginning of the post outer wrap. </div>'; } add_action( 'uael_posts_before_outer_wrap', 'summary_wrap_before', 10, 1 );
uael_posts_after_outer_wrap
Fires at the end of the post outer wrap
function summary_wrap_after( $settings ) { echo '<div> I am at the end of the post outer wrap. </div>'; } add_action( 'uael_posts_after_outer_wrap', 'summary_wrap_after', 10, 1 );
uael_posts_before_wrap
Fires at the beginning of the post wrap
function post_wrap_before( $settings ) { echo '<div> I am at the beginning of the post wrap. </div>'; } add_action( 'uael_posts_before_wrap', 'post_wrap_before', 10, 1 );
uael_posts_after_wrap
Fires at the end of the post wrap
function post_wrap_after( $post_id, $settings ) { echo '<div> I am at the end of the post wrap. </div>'; } add_action( 'uael_posts_after_wrap', 'post_wrap_after', 10, 2 );
uael_single_post_before_wrap
Fires at the beginning of the single post wrap
function single_post_before( $post_id, $settings ) { echo '<div> I am at the beginning of the single post wrap. </div>'; } add_action( 'uael_single_post_before_wrap', 'single_post_before', 10, 2 );
uael_single_post_after_wrap
Fires at the end of the single post wrap
function single_post_after( $post_id, $settings ) { echo '<div> I am at the end of the single post wrap. </div>'; } add_action( 'uael_single_post_after_wrap', 'single_post_after', 10, 2 );
uael_single_post_before_inner_wrap
Fires at the beginning of the single post inner wrap
function single_post_inner_before( $post_id, $settings ) { echo '<div> I am at the beginning of the single post inner wrap. </div>'; } add_action( 'uael_single_post_before_inner_wrap', 'single_post_inner_before', 10, 2 );
uael_single_post_after_inner_wrap
Fires at the end of the single post inner wrap
function single_post_inner_after( $post_id, $settings ) { echo '<div> I am at the end of the single post inner wrap. </div>'; } add_action( 'uael_single_post_after_inner_wrap', 'single_post_inner_after', 10, 2 );
uael_single_post_before_content_wrap
Fires at the beginning of the single post content wrap
function single_post_content_wrap_before( $post_id, $settings ) { echo '<div> I am at the beginning of the single post content wrap. </div>'; } add_action( 'uael_single_post_before_content_wrap', 'single_post_content_wrap_before', 10, 2 );
uael_single_post_after_content_wrap
Fires at the end of the single post content wrap
function single_post_content_wrap_after( $post_id, $settings ) { echo '<div> I am at the end of the single post content wrap. </div>'; } add_action( 'uael_single_post_after_content_wrap', 'single_post_content_wrap_after', 10, 2 );
uael_single_post_before_thumbnail
Fires at the beginning of the post thumbnail
function single_post_thumb_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post thumbnail. </div>'; } add_action( 'uael_single_post_before_thumbnail', 'single_post_thumb_before', 10, 2 );
uael_single_post_after_thumbnail
Fires at the end of the post thumbnail
function single_post_thumb_after( $post_id, $settings ) { echo '<div> I am at the end of the post thumbnail. </div>'; } add_action( 'uael_single_post_after_thumbnail', 'single_post_thumb_after', 10, 2 );
uael_single_post_before_meta
Fires at the beginning of the post meta
function single_post_meta_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post meta. </div>'; } add_action( 'uael_single_post_before_meta', 'single_post_meta_before', 10, 2 );
uael_single_post_after_meta
Fires at the end of the post meta
function single_post_meta_after( $post_id, $settings ) { echo '<div> I am at the end of the post meta. </div>'; } add_action( 'uael_single_post_after_meta', 'single_post_meta_after', 10, 2 );
uael_single_post_before_terms
Fires at the beginning of the post terms
function single_post_terms_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post terms. </div>'; } add_action( 'uael_single_post_before_terms', 'single_post_terms_before', 10, 2 );
uael_single_post_after_terms
Fires at the end of the post terms
function single_post_terms_after( $post_id, $settings ) { echo '<div> I am at the end of the post terms. </div>'; } add_action( 'uael_single_post_after_terms', 'single_post_terms_after', 10, 2 );
uael_single_post_before_comments
Fires at the beginning of the post comments
function single_post_comment_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post comments. </div>'; } add_action( 'uael_single_post_before_comments', 'single_post_comment_before', 10, 2 );
uael_single_post_after_comments
Fires at the end of the post comments
function single_post_comment_after( $post_id, $settings ) { echo '<div> I am at the end of the post comments. </div>'; } add_action( 'uael_single_post_after_comments', 'single_post_comment_after', 10, 2 );
uael_single_post_before_date
Fires at the beginning of the post date
function single_post_date_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post date. </div>'; } add_action( 'uael_single_post_before_date', 'single_post_date_before', 10, 2 );
uael_single_post_after_date
Fires at the end of the post date
function single_post_date_after( $post_id, $settings ) { echo '<div> I am at the end of the post date. </div>'; } add_action( 'uael_single_post_after_date', 'single_post_date_after', 10, 2 );
uael_single_post_before_author
Fires at the beginning of the post author
function single_post_author_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post author. </div>'; } add_action( 'uael_single_post_before_author', 'single_post_author_before', 10, 2 );
uael_single_post_after_author
Fires at the end of the post author
function single_post_author_after( $post_id, $settings ) { echo '<div> I am at the end of the post author. </div>'; } add_action( 'uael_single_post_after_author', 'single_post_author_after', 10, 2 );
uael_single_post_before_title
Fires at the beginning of the post title
function title_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post title. </div>'; } add_action( 'uael_single_post_before_title', 'title_before', 10, 2 );
uael_single_post_after_title
Fires at the end of the post title
function title_after( $post_id, $settings ) { echo '<div> I am at the end of the post title. </div>'; } add_action( 'uael_single_post_after_title', 'title_after', 10, 2 );
uael_single_post_before_excerpt
Fires at the beginning of the post excerpt
function excerpt_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post excerpt. </div>'; } add_action( 'uael_single_post_before_excerpt', 'excerpt_before', 10, 2 );
uael_single_post_after_excerpt
Fires at the end of the post excerpt
function excerpt_after( $post_id, $settings ) { echo '<div> I am at the end of the post excerpt. </div>'; } add_action( 'uael_single_post_after_excerpt', 'excerpt_after', 10, 2 );
uael_single_post_before_cta
Fires at the beginning of the post cta
function cta_before( $post_id, $settings ) { echo '<div> I am at the beginning of the post cta. </div>'; } add_action( 'uael_single_post_before_cta', 'cta_before', 10, 2 );
uael_single_post_after_cta
Fires at the end of the post cta
function cta_after( $post_id, $settings ) { echo '<div> I am at the end of the post cta. </div>'; } add_action( 'uael_single_post_after_cta', 'cta_after', 10, 2 );
#Filters
Filters available for Posts Widget are listed below.
The parameters used in the below filters are one of the below-listed options. The detailed description of these parameters is as specified below.
$settings
: This is the entire setting array for the particular dragged dropped Post Widget. One can add conditional logic as per the selected options in the settings.$post_id
: This is the single post ID in the loop. This is useful when one wants to fetch post specific data and display it.$query
: The WP_Query object.$classes
: The array of classes.$date_format
: This is the date format in terms of “F j, Y”
Helps modify Query Arguments.
add_filter( 'uael_posts_query_args', function( $query, $settings ) { // Modify the query here return $query; }, 10, 2 );
Helps to add extra classes to Post Wrapper.
add_filter( 'uael_wrapper_classes', function( $classes ) { // Modify the classes array here. array_push( $classes, 'my-new-class' ); return $classes; } );
Helps to add extra classes to Post outer Wrapper.
add_filter( 'uael_outer_wrapper_classes', function( $classes ) { // Modify the classes array here. array_push( $classes, 'my-new-class123' ); return $classes; } );
Helps modify Post Permalink.
add_filter( 'uael_single_post_link', function( $link, $post_id, $settings ) { // Modify the link here $link .= '&utm_campaign=post_grid'; return $link; }, 10, 3 );
Helps modify Post Date Format.
add_filter( 'uael_post_the_date_format', function( $date, $post_id, $date_format ) { // Modify the date here return $date; }, 10, 3 );
Helps modify Post Meta Sequence.
add_filter( 'uael_post_meta_sequence', function( $sequence ) { // Modify the date here // The below array is the actual sequence, you can swap the elements to have the desired sequence for meta return array( 'author', 'date', 'comments', 'cat', 'tag' ); });
Helps Linking/Unlinking the taxonomy badge.
add_filter( 'uael_link_taxomony_badge', function( $value ) { // Set the value to "yes" to link the Taxonomy badge. // Set the value to "no" to unlink the Taxonomy badge. $value = 'yes'; return $value; } );
Helps modify Filterable Tabs.
add_filter( 'uael_posts_filterable_tabs', function( $filters, $settings ) { // Modify the array here. return $filters; }, 10, 2 );
Helps modify the terms of Taxonomy Badge.
add_filter( 'uael_posts_tax_filter', function( $terms ) { // Modify the array here. return $terms; }, 10, 2 );
Helps modify the post date in the event skin.
add_filter( 'uael_post_event_date', function( $date, $post_id, $date_format ) { // Modify the date here return $date; }, 10, 3 );
Helps modify the post category meta.
add_filter( 'uael_posts_meta_category', function( $terms, $settings ){
// Modify the terms here
return $terms;
}, 10, 2);
Helps modify the offset top for AJAX pagination.
add_filter( 'uael_post_offset_top', function( $offset_top ){
// Modify the offset top here
return $offset_top;
}, 10, 2);
We don't respond to the article feedback, we use it to improve our support content.