22304 comments found.
Hi Aj, ¿how are you? I was testing the front-end login form and noticed that if a user is not registered or enters incorrect credentials, they are redirected to the default login form. Is there a way to display errors or notices on the same page without redirecting?
Hi,
The front-end login form uses the native WordPress functionality – https://developer.wordpress.org/reference/functions/wp_login_form/ – which you are correct, it will redirect them to the default WP login form. It’s not possible to alter how that works without creating a custom login form completely. I personally didn’t want to code a custom login functionality because it introduces security concerns.
Depending on your site, it may be best to instead customize the default WordPress login page and use that, see Theme Panel > Custom Login. This way you can at least add your own logo and tweak the colors so it better matches your site and you don’t need to add a 3rd party custom front-end login form plugin and introduce potential extra security risks to the site.
Now, if you do decide to use a custom front-end login form plugin that uses it’s own custom code, I would recommend disabling the native WordPress admin login page and making sure it redirects to your custom page so you don’t have 2 login pages.
- AJ
Understood, Thank you!
Hey AJ, I just updated my Total Theme and now my fonts are no longer working. I am using the Total Font Manager with both Adobe fonts as well as Self Hosted fonts.
When I go into Customize > Typography, my self-hosted fonts now live under “Non-Registered Fonts” instead of “My Fonts”. Any idea why the self-hosted fonts are no longer registered? I tried removing and re-adding, but that didn’t work.
Hi,
I can’t recreate this issue myself anywhere and the only way they would be moved to the “Non-Registered Fonts” section would be if they are no longer published in the Font Manager or if you have made use of the new “Alias” option as the Alias will show up at the top.
Can you send me your admin logins so I can take a look? https://my.totalwptheme.com/submit-help-request/
I do use self-hosted fonts on the Total landing page and a few demos and there were no issues updating either.
Oh…make sure your Total Theme Core plugin is updated! If it’s not updated then you would definitely have this issue, I added an important notice about that on the changelog: https://totalwptheme.com/docs/changelog/6-4/
I’m thinking perhaps the issue is just with having an outdated Total Theme Core plugin, please double check under Appearance > Install Plugins first.
- AJ
AJ, I sent a request through your Request Help link with login credentials.
Got it, I will have a look and reply asap!
AJ, I believe I have found the solution. Unfortunately, I had to go and remove the .woff2 font file completely, then save the font without a file, then reupload the font. After completing this, the system now recognizes the self-hosted font.
Not sure why the fonts were no longer recognized, but if you have anyone else ask about this, we may have a workaround.
Hi,
I replied to your ticket a week ago and let you know of the issue. Did you not see my response? Here is a screenshot of my email: https://a.cl.ly/llulXDYZ
According to my system you did read my reply though, unless that’s a bug…
The problem was that your fonts were added as otf files and not woff2 files. I fixed your staging site so you could see them working correctly.
I also explained why the fonts were “no longer recognized”. Can you double check your spam folder and see if perhaps my email got spammed. I want to make sure you are receiving my replies from the support tickets.
- AJ
Just here to say that with over 40 licenses your constant changes and improvements do not go un-noticed. Thank you.
I really appreciate all the licenses and the kind words 
Let me know if you have any suggestions for future improvements!
- AJ
Hi, I have a woo shop built with Total and it has worked just fine until the recent update. Now the menu filter category buttons only show products in my first category. When I click on the other categories the text ‘Nothing found’ appears. The shop is build with a dynamic template. Is there a way to fix this issue?
Hi,
This is Aj the theme author.
I will try and re-create this setup locally and get back to you if I am able to experience the same bug and can fix it.
For the meantime, can you share the URL in question so I can see how it’s setup so I can replicate it as close as possible. You can also share the dynamic template code which would be very helpful – https://totalwptheme.com/docs/share-page-content-troubleshooting/
I’m not quite sure if you are using the ajax navigation on just the main shop but also on the categories. If you are using it on categories, when using the filter it will only filter items from that category (not the whole shop) which means if you click a category and there aren’t any items that are assigned to both the current category and the selected category then you should get nothing found as the filter only filters the current query (otherwise would be a security concern).
- AJ
Ok, I created a dynamic template for the shop and assigned it to the categories and I get the same effect. But this is expected behaviuor.
Are you updating from a very old version? I think there may have been a bug in the past where the it wasn’t working correctly.
When you have the Post Cards element assigned to a dynamic template and the Query Type to “Auto” it should only display products from that current category.
It wouldn’t make sense to have an ajax filter that would allow you to pull products from other categories when viewing a specific category archive.
However, it should allow you to display products from “sub” categories. which are technically part of the current category. For example: https://a.cl.ly/p9u9OolJ – so, when you are on a product category archive you can then filter the products in this specific archive by their sub-categories.
I think perhaps your site is setup to try and filter all items on the product categories which is simply not possible by default (can you confirm this?). And perhaps you’ve updated from an old version that actually was bugged and the filter would search all products rather than filter the active query.
If that is the case and you don want to ajax filter all products when viewing any category…I wouldn’t recommend it. It would be much better to have a simple navigation bar menu with standard links to each category, it will keep the site much faster and slimmer. Ajax requests can’t be cached and are generally slower. From a usability and SEO perspective it’s also much better to link directly to the archives then filter the current results.
However, if you really wanted you can use this custom code to filter out the query when making ajax requests so that it can query all products while on a product category or tag archive:
// Allow for filtering all products on archives when using the Auto query type.
add_filter( 'totalthemecore/vcex/post_query/args', function( $args, $shortcode_atts, $shortcode_tag ) {
if ( 'wpex_post_cards' === $shortcode_tag && wp_doing_ajax() ) {
// Target the product category and tag archives - edit if you need to include
// other taxonomies, since this is AJAX you can't use functions like is_product_category()
if ( isset( $args['product_cat'] ) || isset( $args['product_tag'] ) ) {
unset( $args['term'] );
unset( $args['product_tag'] );
unset( $args['product_cat'] );
$args['post_type'] = 'product'; // since it's no longer an auto query we need to tell WP what post type to query
}
}
return $args;
}, 10, 3 );
I tested this code locally and it works as expected. But again, it makes more sense to either only filter child categories on the active page or if you want to filter all products to instead link directly to the archives.
Additionally, I did notice a bug that can break the ajax filter completely in dynamic templates. I have patched this and updated the live version of the Total Theme Core plugin, so if you have an issue where clicking on one filter item works but clicking on a second item never loads – then you can delete the Total Theme Core plugin then go to Appearance > Install Plugins and re-install the plugin to get the patched version.
Let me know if you have any followup issues or questions!
- AJ
Hi Aj,
Thanks for your reply. But unfortunately I still can’t make it work.
I have reinstalled the total core. I have tried to insert the code, but that dosen’t help – so I deleted it again.
Here is a link to the dynamic template code: https://gist.github.com/maweni-code/157a0cce3a795410e079aa2a56a15aacThe navigation bar menu is using WP Nav menu with a menu I have created to get a specific order of the products.
You can see the page here: https://www.annewindfeldt.dk/shop/ The filtering worked up until the recent update.
Do you have any other suggestions on how to fix it?
Oh,
Your site is not using an AJAX filter but rather a simple show/hide filter. This is very different, thank you for sharing the URL – very helpful. So, this function has not changed in any recent update and should work the same.
I double checked locally and it works just as you have it setup for me: https://a.cl.ly/YEuEkLj9
Anyway, your site appears to be set up correctly but for some reason all of your entries only have the class for the 1st category and not the other categories. See here: https://a.cl.ly/JruBo0A9
The way the filter works is by showing/hiding products based on a classname and the classname uses the format product_cat-{ID}. This class is added by looping through the product’s categories and inserting the class. The fact that your entries only have a single class would imply that they are not categorized in any other category.
Can you double check the WP admin to ensure the products are still properly categorized?
Now, the theme uses the core WordPress function get_the_terms() to get the list of product categories – since your site is only returning a single category, it’s possible you added some custom code to your site to change the terms returned. There are several hooks that can modify the list of returned terms: get_the_terms, get_object_terms , wp_get_object_terms_args and wp_get_object_terms.
Can you make sure you don’t have any custom code or plugin on your site which is limiting the terms?
- AJ
ps: WordPress also caches taxonomy/terms via the get_object_term_cache() function and it’s possible that somehow your site’s cache got messed up (WooCommerce often does database updates on update – maybe there was a bug). You can try re-saving one of the products then testing the filter and see if the product shows up – this would be a good test to see if there is an issue with the taxonomy relationships on the site.
Hi AJ, I feel a bit lost because I can’t see what is wrong – therefore I have created a private ticket and have given you temporary acces to the site hoping you can help me figure out what’s wong. I have named the ticket ‘Show hide shop categories issue’.
Hi again, I tried to rebuild the dynamic page and now it seems to work like before. I really don’t know what was wrong, but I’m glad it works now.
Very strange! Definitely sounds like a weird object caching issue where the WordPress term relationships may not have been working correctly or the page HTML was incorrectly cached by an optimization plugin.
Glad it’s working now!
- AJ
I have purchased the theme in 2023. I had one website that was using the theme, but that website is no longer there. It stopped. I would like to use the same license for the theme om my own current website. How can we make this happend.
Hi,
If the old site had the license registered, you can simply log in here – https://my.totalwptheme.com/ – click on the License Manager at the top and then hit the trash icon next to any license you wish to un-register so that it can be registered on a different domain.
- AJ
Thank you! I managed to update the license now to my new domain.
We purchased the total wordpress theme long back and I got the slider revolution along with it. I got stuck with a feature, and found it difficult to find that feature. I will be very thankful if you help me with this.
I added around 25 images for the slider. When it slides 25 images and starts the next round, it is not starting from the first slider but from another image. I want it to start every time from the first image. Please help me how to change the settings.
Hi,
This is Aj the theme author.
Can you share the sample URL to see how the slider is setup?
Ideally, if you could export your slider and send me a link to where I can download the zip (such as Dropbox) then I can import the slider locally and see if I can recreate the issue myself and double check the settings to make sure there isn’t any strange animation or option that could be messing with the loop.
One thing to consider – depending on the site, it’s unlikely that visitors will scroll through all 25 slides, let alone view them a second time. To keep the site fast and optimized, you might benefit from displaying fewer slides and possibly disabling auto-looping. Of course, this depends on the context and purpose of the website. For instance, on a wedding or photography site, the current setup might make sense, however, a slider is generally less user-friendly than a grid of images with a lightbox. A grid allows users to easily browse all photos and select the ones they want to view in full size.
- AJ
Hi AJ,
Thank you for you the response. Please find the URL of where you can view the slider. https://www.camensarchitecturalgroup.com/ Please find the dropbox link which contains exported slider in zip format https://www.dropbox.com/scl/fi/yomnl1rt2curoqxwmpo87/home.zip?rlkey=u8vxi9btqzhw5i13z5v5rqcjd&st=du15myfq&dl=0Thank you for your consideration but the requirement is like all the images want to loop again.
Thanks, Murugan
Hi Murugan,
I tested your slider locally and I didn’t have any issues. And there are so many images that it takes a very long time to sit here and wait for all of them to rotate to try and recreate the issue on the site.
But, you are doing a huge disservice to the site by having this slider. Every single slide has the same text so only the images are changing. This means there isn’t any real added value in sitting watching the slides rotate, it’s also not clear to the visitor that the images will even change.
Most visitors will come to the site and instantly scroll down (especially because you have a down arrow indicating that you should scroll). This means your site is going to be constantly loading massive images and rotating them slowing down the experience and more importantly on mobile using up a lot of your visitors data.
Not to mention that Slider revolution in of itself is a large plugin so you are slowing down the initial site loading time and page speed scores. Plus now you have to also keep that plugin installed and frequently updated.
You are also using the slider on pages like this – https://www.camensarchitecturalgroup.com/about-our-residential-architects/ – to display a single image at the top, which loads a white space and than the image fades-in. This causes 2 issues:
1. The original issue where loading the slider plugin slows down the site. 2. The site doesn’t load as nicely, because it shows a white space then the image loads it.
You can easily re-create these full width backgrounds without any slider using the page builder.
I would highly recommend updating the site so it doesn’t need to use Slider Revolution at all and for the homepage, if you really want to have some background images rotating, Total has an option you can use for this via the Section or Row elements under the “Slider” tab: https://a.cl.ly/NQuXlBp8 – but I would recommend keeping the number of images to a minimum (again most users won’t just sit there and watch the images transition).
Last, I notice on pages like the https://www.camensarchitecturalgroup.com/testimonials/ – you have manually added a menu and the slider at the top. For a quick transition, you can create a dynamic template – https://totalwptheme.com/docs/dynamic-templates/ – and assign it to those pages. This way you can control the design globally for all these pages in the future. Here is a quick video example: https://a.cl.ly/7Kur6nZv – this video also shows how you could display a gallery for the top full width image if you wanted to by using the Post Gallery.
Switching to this setup will make it easier to maintain/edit those pages in the future and you will benefit from a faster and better optimized setup. Plus, then you can disable Slider Revolution and delete it and never have to worry about updating it: https://totalwptheme.com/docs/disable-bundled-plugin/
I also recently wrote an article about why you should avoid sliders on your site if interested: https://totalwptheme.com/docs/why-not-use-sliders/
- AJ
ps: I forgot in my video creating the dynamic template to include the “Post Content” element – you will of course need to add this after the menu so it can display the content you’ve added on the page.
Hi – Is there any type of slider i can use on the site that slides say an set of icon box’s across the page? or basically any on page block that has an image and text with it, that isn’t dynamically pulled from a post type. So the content is just created on page? been asked to slide a number of features on a page as there is too many for them all to be seen at the same time, but can’t see any way to do this that isn’t dynamic? I can see the Photo Slider, but i can’t add a heading and text to each image for that? Thanks L
Hi,
This is Aj the theme author.
Personally, I would recommend using a horizontal scroll bar instead of a carousel, you can do this with the Flex Container. Or if the client doesn’t want all the Icon Boxes showing up in a grid, it may be best to add a “view all” button then put them all on their own page.
There are many reasons to avoid carousels: https://totalwptheme.com/docs/why-you-shouldnt-be-using-carousels-on-your-website/ – and you may want to advice your client against it.
In terms of a specific plugin, there are some extensions you can use – depending if you are using Elementor or WPBakery on your site. But again, I wouldn’t recommend it.
For WPBakery this is the only plugin I know about – https://codecanyon.net/item/carousel-anything-addon-wpbakery-page-builder-formerly-visual-composer/22549707
And for Elementor, there is a carousel element included in the Pro version of the plugin – https://elementor.com/help/carousel-widget/
I know you mentioned not wanting to use a custom Post Type, but honestly it’s a good solution and then you don’t need any add-ons.
- Create a new custom post type – https://totalwptheme.com/docs/adding-custom-post-types/
- Add custom fields to define the data – https://totalwptheme.com/docs/how-to-add-custom-fields/
- Create a custom card – https://totalwptheme.com/docs/custom-card-builder/ to display them via the Post Cards element (set to Display > Carousel)
It may sound complicated, but it’s actually very simple and by using a custom post type you provide your client with a much easier way to manage the items then having to edit the page itself.
Alternatively, if you have access to ACF Pro you instead of a custom post type you could create a custom Theme Options page with a repeater field for the data. Then use the theme’s ACF Repeater template function to create the output – https://totalwptheme.com/docs/how-to-create-acf-repeater-field-template/ – you can display the data using the Post Cards element with Query Type > Custom Field
- AJ
Great thanks for this i will take a look at the options.
Hi AJ. How are you? I am running the latest version of the theme and have updated all plugins. I received this error message when trying to edit a woo product.
Failed to load plugin /wp-content/plugins/total-theme-core/assets/js/admin/shortcodes-tinymce.min.js
What am I doing wrong?
Hi,
I’m doing good thank you! I took a much needed holiday weekend 
This error generally occurs when a 3rd party plugin is incorrectly modifying the WordPress classic editor. You can try disabling plugins 1 by 1 to see which could be causing the issue. I did test locally on the latest version of WooCommerce and I didn’t see any errors so it seems to be coming from somewhere else.
Now, if you want a super quick fix you can go to the Theme Panel, sort by Editor and disable the Editor Shortcodes feature. This is an older feature which is not really needed for most people. What it does is add the following to the Editor: https://a.cl.ly/04uZEoyW – so if you aren’t actively using this feature then you should disable it anyway to slim things down.
- AJ
The security plugin is prompting to update Revolution Slider to version 6.7.37. Do you have any plans to release this update?
Hi,
This is AJ the theme author.
I’ve patched the version of the plugin that get’s installed with the theme so if you delete and re-install the plugin it will install the latest version. If you are worried about deleting the plugin you can instead edit the file at themes/Total/inc/admin/recommended-plugins.php and change the plugin version on line 89 to 6.7.37 like this: https://a.cl.ly/Kou6AGx9 – this will trigger the update notice under Appearance > Plugins so you can update as you would normally.
Now, the security vulnerability can only be exploited by users that have a contributor or higher role on the site. These user roles can already do a lot of bad stuff to your site, so it’s not of very high concern. Any users on your site that have these high privileges should already be well trusted. This is why I didn’t push out a theme update just to alert users of the updated plugin. If there is ever a critical security vulnerability I will release an immediate theme update.
One thing to mention also, is that sliders are not recommended for modern sites for various reasons (SEO, accessibility, usability, conversion rates, page speed scores…etc). I would highly recommend deleting any slider plugin and using static content whenever possible. If you do decide to optimize your site you can also disable any notifications for the plugin via the theme panel – https://totalwptheme.com/docs/disable-bundled-plugin/
- AJ
Hello AJ,
Hope you’re fine.
Since the last update (6.4.1) my website is broken (www.pierrelapoujade.fr).
The home page is now a bad mobile menu with no style (https://imgur.com/PVD1ZGz).
All caches are purged (LightSpeed Cache), etc.. I don’t know what to do to for website back like as usual
Help me please.
Thank you.
Carmin.
The screenshot: https://imgur.com/YkcSxyq
It’s ok, it was LightSpeed extension problem (CSS) 
I simply want to remove the “Get Started” button from the nav menu (Corporate Demo Theme). There’s no mention of it in the documentation and I looked everywhere in each section of the backend.
NVM. I found it.
For the mega menu columns headings how can you make them a toggle on mobile? Seems like it just shows all the sub items.
Hi,
This is Aj the theme author. Thank you for your patience, I hope you had a nice holiday weekened!
If you are using the default theme header and mobile menus (not the Header Builder) than by default the mega menu will use toggles on mobiles for sub-items. However, if you’ve added the classname “hide-headings” then it will display a list instead. You can simply add the classname “show-headings-mobile” as well to make sure the headings are hidden on desktop but then shown on mobile for the toggle affect.
Alternatively, if you want full control on mobile you can create a separate menu just for mobile – https://totalwptheme.com/docs/create-custom-mobile-menu/
- AJ
Thanks for responding hope you had a good holiday as well. I’m using the header builder. On the off canvas menu setting the Expanded setting in the sub menu is set to off however all items are still expanded in the drop down despite having this setting off.
Hi,
Oh yes, in the Off-Canvas menu, the Mega Menus display using headings for each section like this: https://a.cl.ly/ApudXmNX – and if you turn off the Headings then it will display all items in a single list since there is no way to create “sections” as you need the headings for this.
There currently isn’t any way to display the items as “toggles” for the Mega menu in the Off-Canvs element, but I think this would be a good option to have. Let me look into it, it should technically be very easy as all it would essentially do is disable the Mega Menu functionality – so perhaps a simple on/off switch for Mega Menus should work as that will treat the mega menus like every other menu and create toggles.
I can let you know when the update is ready (I will work on it today) so that you can update the Total Theme Core plugin and make use of the new option right away without waiting for an official theme update.
- AJ
Oh ok, I forgot that this element by default does not add “toggles” for sub-dropdowns. Regardless if it’s a mega menu or not – I was fixed on the mega menu aspect.
The Off Canvas Menu uses the modern details element for the toggles (no need for JS) and having threaded details is bad practice and creates accessibility concerns:
Here’s why:
Screen readers: Each <details> element creates a disclosure widget. Nesting them adds cognitive load because users must track multiple “expanded/collapsed” states in sequence.
Keyboard navigation: Users tabbing through may find it cumbersome to reach deeply buried content, especially if summaries aren’t descriptive enough.
Usability: People with cognitive impairments (or even just on mobile) may lose context when opening multiple levels of nested disclosures.
-
I could update the element to add an option that will make it possible, but I wouldn’t want to encourage it as users may be creating accessibility issues unknowingly.
If you want the mega menus to be toggle-able, what I would recommend is creating a seperate menu for mobile where the mega menus are actually added as parent items, this way they are “moved” up a tier and so their sub-items will be hidden behind the toggle affect.
- AJ
Hi – just to echo the problem WebsitesCo has reported – I’m having the same issue, and the local google fonts WPBakery setting is not enabled on my instance either.
Hi,
I’m releasing the 6.4.1 fix shortly. If you don’t have local Google Fonts enabled then some other plugin on your site is parsing the whole site content on save which triggers the error. Basically the code in the theme loads only on the front-end as it shouldn’t be needed in the admin, but some plugins will render the full page on save to do some things and it can trigger the error as it’s trying to load content intended only on the frontend but on the backend.
Sorry for the troubles, you should see the update popup hopefully within the hour!
- AJ
The update with the fix is live!
WordPress caches theme update checks to prevent constantly pinging the server. So if your site had recently requested a theme update check and it returned false then it may not check again for 12hrs.
So, if you don’t see the update available in your WP admin and your license is active, you can go to the Theme Panel and click the “Force Check” button under the “Updates” widget on the right hand side.
Sorry again for the troubles, if you have any other issues or questions please let me know, I hope you had a nice weekend.
- AJ
For the Post Cards Ajax Terms/Category Filter. How would you change the order of the terms/categories shown in the navigation bar element?
Hi,
The term order is based on the default term order in WordPress. There are 3 ways you can can change the order if you want a custom sort:
1) Don’t display categories automatically, rather create a custom menu so you can add the categories manually in the order you want.
2) You can use a term re-ordering plugin: https://wordpress.org/plugins/taxonomy-terms-order/
3) If you just want a different order (non-custom) that uses native WordPress sorting you can add a little custom code to your child theme functions.php file or via a code snippet plugin by hooking into the “vcex_navbar_get_terms_args” filter. Example:
add_filter( 'vcex_navbar_get_terms_args', function( $args ) {
$args['order'] = 'ASC';
$args['orderby'] = 'count';
return $args;
} );
Here is the WP codex which explains all the $args that can be passed: https://developer.wordpress.org/reference/classes/wp_term_query/__construct/
So the example snippet would change the order based on how many posts are assigned to the term and sort them in ascending order.
- AJ
Hey guys. I have many licenses with you. I have just updated one of my sites to the latest version of Total. Its causing an issue that breaks the site when trying to create new pages. Here is the top line of a much longer error stack: An error of type E_ERROR was caused in line 215 of the file /home/trirevolutionco/public_html/wp-content/themes/Total/inc/local-scroll.php. Error message: Uncaught Error: Attempt to assign property “normalize_ids” on null in /home/trirevolutionco/public_html/wp-content/themes/Total/inc/local-scroll.php:215
This causes the WP fatal error screen. Obviously, i haven’t rushed to update other sites. Hopefully a quick fix can be found.
It also causes the issue on updating existing pages.
Hi,
I was notified of this error and I fixed it already for the upcoming patch – https://totalwptheme.com/docs/upcoming-update-changelog/
But I would recommend (as mentioned in the upcoming changelog) to simply disable the WPBakery Local Google Fonts option, which also fixes the issue (since it’s triggered from this function). I wrote this article as well explaining why it’s best to keep it disabled – https://totalwptheme.com/docs/why-you-should-disable-wpbakery-local-google-fonts/
Sorry for the troubles!
- AJ
Many thanks!
I have just checked and switched off the Google fonts option, sadly, the problem remains…
It sounds like there may be a different plugin on your site that is rendering the full page content whenever you save the post.
I am pushing out the patched 6.4.1 update shortly so you should see the update popup within the hour, sorry for the troubles!
Basically, the error happens because in Total I optimize my code so it only runs when absolutely needed, the local scroll function is only needed on the live site, so if a plugin is triggering the code in the admin then it will cause the error. I’ve added an extra check so if the local scroll code is called when not needed it will exit early and not trigger any error.
Sorry for the troubles, I don’t use any plugins that renders the live site when saving the page on the backend so I didn’t have this issue during my tests prior to updating. But I will be sure to keep this in mind for future theme changes.
- AJ
The update with the fix is live!
WordPress caches theme update checks to prevent constantly pinging the server. So if your site had recently requested a theme update check and it returned false then it may not check again for 12hrs.
So, if you don’t see the update available in your WP admin and your license is active, you can go to the Theme Panel and click the “Force Check” button under the “Updates” widget on the right hand side.
Sorry again for the troubles, if you have any other issues or questions please let me know, I hope you had a nice weekend.
- AJ
All fixed, many many thanks!
Hi AJ,
If I run the theme on Apache with PHP 8.1, everything works. But if I switch to PHP-FPМ with PHP 8.1 or 8.3, the site layout breaks.
What could be the reason for this?
Hi,
There are many reasons why switching could cause issues, but they would all be server-related and not on the theme’s side.
When you say “site layout” I’m assuming you mean the design which would imply that perhaps the CSS is not correctly loaded on the site. My first thought would be that perhaps the issue is related to user permissions so the theme’s CSS isn’t loading.
- Ensure the PHP-FPM process user (commonly www-data, nginx, or similar) has read access to your WordPress files, themes, and plugins. CSS, JS, and media files must be readable; otherwise, pages may load without styles.
- Make sure URL rewrites in .htaccess (Apache) are correctly translated for Nginx or your FastCGI setup. Incorrect paths can prevent CSS/JS from loading.
If you switch to PHP-FPM and notice layout issues, open your browser’s developer console. Any errors related to files not loading, such as CSS or JavaScript, will show there and can help identify the cause.
- AJ
Thank you AJ
I’m having a problem with the filter – wpex_footer_builder_page_id – for some reason it’s no longer working. I have a series of dynamic templates that should replace the default in the footer builder, but they’ve stopped working. I’ve tried to use wpex_footer_template_id instead, but this only adds another footer under, but does work in the correct conditional way.
Hi,
Hmm, I looked back a few versions and nothing has changed with this filter. Are you updating from a much older version?
At one point I did optimize the code to cache the Footer ID so the filter is only going to run once so I can see how it can cause issues if you are wanting to modify the filter after the wp hook (where you can use conditionals like is_post, is_term…etc).
Working on a fix for this, it’s a bit tricky to keep things optimized and also allow to modify the footer in the later hooks. But I’ll figure it out. I’m most likely going to release a Total 4.6.1 small patch shortly and I’ll include this fix.
This has definitely been an issue for several versions now though no one had reported it, so thanks!
If you want email me directly to wpexplorer [at] gmail dot com and I will provide you with the patch as soon as it’s ready!
- AJ
Actually the fix is very easy! If you want to patch it yourself you can…Simply edit Total/inc/footer/core.php and locate the get_template_id() function and change it from this:
public static function get_template_id(): int {
if ( null === self::$template_id ) {
self::$template_id = 0;
if ( get_theme_mod( 'footer_builder_enable', true ) ) {
$id = get_theme_mod( 'footer_builder_page_id' );
$id = (int) apply_filters( 'wpex_footer_builder_page_id', $id );
if ( $id && 'publish' === get_post_status( $id ) ) {
self::$template_id = $id;
}
}
}
return self::$template_id;
}
To this:
public static function get_template_id(): int {
if ( ! get_theme_mod( 'footer_builder_enable', true ) ) {
return 0;
}
if ( null === self::$template_id ) {
self::$template_id = 0;
$id = get_theme_mod( 'footer_builder_page_id' );
if ( $id && 'publish' === get_post_status( $id ) ) {
self::$template_id = $id;
}
}
return (int) apply_filters( 'wpex_footer_builder_page_id', self::$template_id );
}
Basically we are just moving the filter outside of the cached check, this way it can be changed on demand whenever the function is called, but it will only run the status check on the initially set custom footer defined in the admin panel – which makes sense…no need to run these checks on user defined ID’s.
- AJ
Great. thanks. I did find a way around it by using the Custom Actions area (inside footer) to use a generic dynamic template, then use a new function to swap that out based on the custom post type slug matches. But i’ll try this in an older site that is using our original method.
Hi AJ,
I’m revising a website and used one of the demos, it has wp forms. When I look I don’t actually see a form created, an I missing something here?
Thanks
Hi,
None of the theme demos use the WP-Forms plugin, so I’m not sure what you are referring to. The theme has it’s own simple Contact Form Element though which I use in some demos: https://totalwptheme.com/elements/contact-form/
- AJ
That’s what I see the one on the left, who and where is this defined?
I’ve sent a test email, but I don’t see anything come through to me email address (which is the admin for the site) sorry if I’m missing the obvious?
Hi,
The Contact Form element is added on the page itself via WPBakery so you can edit the page to modify the design, but it’s a simple contact form so you can’t add/remove fields (anything more would be best done via a 3rd party plugin).
By default, the theme’s Contact Form will send the email to the admin email address (as you mentioned) but this email can be modified in the main Theme Panel – https://totalwptheme.com/docs/contact-form-recipient-address/
If the form shows a green notice on submission letting you know that the the email was sent, but you didn’t receive any, most likely it’s going to your spam folder or your domain’s DKIM, SPF and/or DMARC records are not setup correctly. Because the green notice would only display if the email was sent by WordPress, thus it means the issue is on the receiving end.
This plugin can be helpful for testing to make sure emails are being sent correctly by your server – https://wordpress.org/plugins/check-email/ – so if the emails are properly sent, but not received then you know the issue is with either the domain records or with your email provider.
- AJ
Is it possible to update WP Bakery + Templatera even if the theme is not ready yet? Is there any risk of loosing any settings by deleting these plugins and re-installing?
Nope, I actually had a notice on the upcoming changelog because I specifically updated the plugins live so if you want you can delete and re-install them.
But I just finished Total 6.4 so you should be able to update any moment now as soon as it’s accepted by ThemeForest I will send out the notice to your dashboard – https://totalwptheme.com/docs/changelog/6-4/
- AJ
Awesome, thank you AJ! Looks like a brilliant update as usual.
Hi,
I’ve already patched Templatera as well, but technically Total overrides the Templatera code and the code in the theme has had this patch for years.
Total 6.4 is ready and you should see the notice to update any moment now – https://totalwptheme.com/docs/changelog/6-4/ – so you can wait for the official update to update Templatera if you wish. Also, most customers choose to not install or even use Templatera as it’s not really needed – especially since the introduction of Dynamic Templates in Total a few years back.
- AJ