v5.1.1 - May 3, 2021

  • Added New filter “wpex_{location}_template_id” which can be used to override any theme location by returning a template ID from WPBakery, Elementor or any post ID (sample snippet).
  • Added Setting to the Icon Box element so you can enter a custom character instead of selecting an icon, if you wanted to enter an alphabetic or numerical character.
  • Added New “After Text” setting to the Page Title element and updated the Before Text element to support shortcodes.
  • Added Archive Orderby and Order settings for the built in portfolio, staff, testimonial post types.
  • Added Testimonial 6 and Testimonial 7 card styles.
  • Added New “Post Author” & “Post Author Hover” overlay styles.
  • Updated Slider Revolution plugin.
  • Updated Total Theme Core.
  • Updated Improved the Staff Member-User connection to automatically filter the author name, link, social and avatar when displaying Post Cards, author box, comments…etc, when there is a connection in place.
  • Updated Header Search and WooCommerce cart toggles to have role, aria-label and aria-expanded attributes and ability to close the “popups” using “esc” for accessibility.
  • Updated Method used to remove default WooCommerce css files as the previous method (as suggested by the WooCommerce docs) can actually break some of their 3rd party plugins.
  • Updated Navigation Bar to highlight active category/taxonomy links.
  • Updated WPML Config xml file to include the Post Gallery custom field so it get’s copied to duplicated pages as it doesn’t seem to show up in the WPML custom fields settings.
  • Updated Added integration for the Max Mega Menu plugin so the theme will automatically disable the mobile menu in the header and hide the menu and mobile menu Customizer settings if the header menu is set to use a Mega Menu from this plugin to slim things down and allow the plugin to work better.
  • Updated The Video Icon image overlay no longer waits for the site to be loaded to display.
  • Updated The Sticky header, sticky menu, sticky top bar and sticky navigation bar element scripts so any element that has the “wpex-sticky-el-offset” will be included in the top offset when these elements become sticky.
  • Updated The Post Meta element to use the author display_name instead of the nickname.
  • Updated Improved support for the SiteGround SG Optimizer plugin.
  • Fixed Issue with the Total Theme Core plugin not rendering EM units correctly if missing a 0 at the start (aka .5em instead of 0.5em). This fix is live, so you can delete and re-install the plugin for the patch.
  • Fixed Issue with the Total Theme Core “Shortcodes” Editor button causing editor buttons from other plugins to not display (you can delete and re-install the Total Theme Core plugin to get the fix now).
  • Fixed Issue with some border-radius fields in Total builder elements that support border radius shorthand custom input not working as expected.
  • Fixed Issues with the active classname on the Navigation Bar element not being added to the current page when used within a Templatera template.
  • Fixed Issue with the Users Grid “User Roles” Query setting not working.
  • Fixed Section dividers potentially not expanding to the edge of the row/section.
  • Fixed Issues with Gutenberg outline buttons that have custom colors using the theme accent colors for the hover affect.
  • Fixed Issues with Gutenberg columns when set to “alignwide” on the no sidebar post layout.
  • Fixed Potential issues with the theme load more and image slider functions when using async or defer script attributes.
  • Fixed Potential issues in the WP classic editor if you have defined an em based font size for your body tag.
  • Fixed Issue where the Image Slider may be off by less than a pixel on the left hand side causing the slider behind the active slide to be slightly visible.

Dev Notes:

  • Added - "wpex_is_header_menu_custom" filter which can be used to tell the theme if the header menu is a custom output. This is used for integrating with 3rd party menu plugins to prevent the theme from adding it's own mobile menu output and menu Customizer settings.
  • Added - "vcex_post_next_prev_link_next_html" and "vcex_post_next_prev_link_next_html" filters.
  • Added - "wpex_get_staff_member_by_user" helper function which returns the staff member that is connected to a user.
  • Updated - "wpexSliderPro" js object was renamed to "wpexSliderProSettings".
  • Updated - "wpexCarousel" js object was renamed to "wpexCarouselSettings".
  • Updated - Total Theme Core autoloader to include the "WPEX_Meta_Factory" class rather than loading the file globally.
  • Updated - The Author Bio element to use "user_description" rather than "description" when displaying the description via get_the_author_meta.
  • Updated - Image Element to use the "wp_get_attachment_caption" function when the caption is enabled rather then using $post->post_excerpt so it passes through the proper filters.