Discussion on Total - Responsive Multi-Purpose WordPress Theme

Discussion on Total - Responsive Multi-Purpose WordPress Theme

Cart 58,048 sales
Recently Updated
Well Documented

WPExplorer supports this item

Supported

22359 comments found.

Hi AJ, I’m having the same issue as another recent commentor with The Events Calendar not showing in order via your Post Types Grid anymore. I’ve tried adding the Advanced Query you specified but nothing showed up at all. I’m presuming this is because of the necessity to white list the function. I’m unsure how query itself is added if a function is whitelisted and added to the Advanced Query field?

Do you mind clarifying that?

Hi,

The Events Calendar basically updated their plugin so they don’t hook into custom WP queries anymore so to sort by or exclude past events you need to define it yourself :(

Now, there was a recent comment from another user but what I was helping them with was an “inline” query not a custom function. If you are using an inline query there is nothing to whitelist, whitelisting is if you intend on adding a custom function to return your query parameters. So that would be if you added a function in your child theme for example:

function birdhousedigital_events_query_args() {
    return [
        'post_type' => 'events',
        'posts_per_page' => 4,
    ];
}

So you intend to use “my_query_args” for your Advanced query. In which case you need to whitelist that function name like so:

define( 'VCEX_CALLBACK_FUNCTION_WHITELIST', [
    'birdhousedigital_events_query_args',
] );

So then you would just enter “birdhousedigital_events_query_args” into your Advanced query.

Now, this is not really needed for most queries. You can instead just type our your query in URL format. Example:

post_type=tribe_events&posts_per_page=12&meta_query[0][key]=_EventStartDate&meta_query[0][value]=today&meta_query[0][compare]=gte

Which is the code I recently shared with another customer. This code basically tells WordPress to pull all current or future events.

But in order for this to work your site needs to be up to date. So if you tried and it didn’t work, perhaps your site is outdated if not, perhaps all your events have already passed.

Additionally, this query doesn’t “order” the items. If you want to order them you need to add an additional orderby parameter like such:

&orderby=meta_value

- AJ

Hi AJ! Hope all is well :)

I am wondering if there is an easy way to use the local scroll from Total with another parameter in the URL.

I am developing a grid plugin that allows the use of url parameters, like this: https://vinicius.razorfrog.dev/grid-shortcode-test/#filter=red (this grid in particular is at the bottom of the page). Assuming the ID of that grid at the bottom of the page is #grid2, my goal is to be able to do something like this: https://vinicius.razorfrog.dev/grid-shortcode-test/#filter=red&scroll=grid2

That way I can set the filter I want and also scroll to that grid automatically.

I use Total almost exclusively at my job and on my freelance, so it would be amazing if I could use Total’s scroll function with my plugin!

Let me know what you think, and as always, thank you so much for the help.

Hi,

Thank you for your patience.

I’m not sure I’m seeing the point of using the “themes” local scroll function. The theme’s function is just simple javascript that checks the URL on load and then scrolls down.

Wouldn’t it make more sense to just add the javascript to your own plugin for the local scroll since most Total users aren’t using the plugin?

I can help with the code, it’s very simple. But there is one little “issue”...In your example you are using #filter= and then adding the scroll parameter using & – now, the issue is that this is not a “standard” URL so you can’t properly use URLSearchParams to get the scrollto value (at least not from what I am aware of).

It would be best to instead have a URL like site.com/?filter=red&scroll=grid2

But also…if you have support for the #filter= already, you should be able to just modify your javascript to check what grid the filter is targeting and then automatically scroll to that grid without the need for an extra scroll parameter. No?

- AJ

Hi AJ,

I have found an issue with the card style “Testimonial 5” when carrousel selected:

https://www.loom.com/share/149f3854f7cf48fda69bad96cd01a734

Thanks

Thanks for confirming!

... if i config cards as flex, but in mobile version, how can i show them stack and not with horizontal scroll? Thanks

If you want to prevent scroll you can use the Flex Basis setting, the issue though is that you want to stack items…Hmm, I’ll need to add a breakpoint option for this: https://a.cl.ly/mXu21LXA

Updated Total Theme Core plugin if you want to test: https://a.cl.ly/llud9GAe

It’s possible to instead use flex-wrap instead of a stacking breakpoint but this can cause issues if you have items with different image/title lengths. So I think a breakpoint makes the most sense where it changes the flex-direction from row to column.

Let me know if you have any feedback, thanks!

- AJ

ps: I added some other options as well such as being able to select columns for the Flex Basis (1-4) as well as select your “Scroll Snap” – for those that want to actually create a horizontal slider. Example: https://a.cl.ly/nOubl048 – Horizontal scroll sections are fairly popular these days so I think people will like this (personally I’m not a huge fan because it’s not obvious you can scroll).

Hi AJ, I have some portfolio that redirect to a pdf and I’ve put in the card settings to open in a new tab, and it was working. But today I’ve realized that all of them are not longer working, I’ve checked the card settings and it remains with the option new tab.

Can you help me with this?

Thanks, Sonia

Hi Sonia,

I tested locally both setting the link target to blank for the Post Cards element so it applies to all items as well as setting the target blank on a per-post basis and both are working.

In the past I had a customer that had issues with target_blank no longer working and it ended up being an accessibility plugin that was stripping out all the _blank targets. Have you installed or set up any new plugins recently that may be doing that?

Also are you using a built-in card or a custom one?

- AJ

Hi Aj, I want to ask if there is any way to prevent view source. Thanks.

No, that’s impossible.

- AJ

Thanks

Hi AJ,

Is it possible to create a post type grid with masonry layout both vertically and horizontally (think it’s called ”justified”) sort of what is here: https://codepen.io/desandro/pen/nLoeOM

Thanks!

;)

You too! If you need anything else let me know.

- AJ

ps: Added a new “Flex Items” grid style today for the upcoming 5.5.2 version which will hopefully be useful as well for other sites/grids – https://a.cl.ly/YEuWyrkv

oh actually, if you delete and re-install the theme you can already access this new grid style if you wanted to check it out.

Nice, looks really useful! Those horisontal scrolling grids you illustrate there feels very trendy. I’m sure I will use that! :-)

I am receiving email notifications that the Total theme has released an updated version, but under Appearance | Themes, I do not receive a prompt to update the theme. I have activated my license key.

Hi,

This is AJ the theme author.

The theme uses the native WordPress updating system to let you know when updates are ready and WordPress caches update checks so it’s possible it’s just being cached, it can take up to a few days to be notified by WordPress. You can try going to Dashboard > Updates and click the “check again.” link, this may help clear the cache.

That said, it’s possible also that your server (or security plugin if you have any) is blocking checks to our server . So make sure that our domain wpexplorer-updates.com is whitelisted in your firewall.

Last, if you want you can also try using the Envato Market plugin – https://www.envato.com/lp/market-plugin/ – which uses it’s own system for update checks.

- AJ

Hi there! Quick question, how do I get rid of the gap between the top of the screen and the start of a page on the theme? I use the vertical menu option and that gap does not look good… Example, https://moriti.co.za/

Hey there, thanks for your reply and quick service, as always! I am not sure how that got there to be honest… How can I remove that?

I’m assuming it was added under Theme Panel > Custom CSS – but it’s impossible to know just looking at the site because you are using some optimizations that are placing CSS inline so it’s possible it was added in your child theme style.css as well.

- AJ

AJ, I checked my Custom CSS and there it was, thanks so much! Your service and willingness to help makes you by far the best author, thank you!

Hi AJ. After installing the most recent update our icon box elements are no longer showing. Looks like browsers are preventing it because the icons are hosted on a non-secure server: http://0.0.0.7. Any ideas?

No worries about the support license! But also, ThemeForest doesn’t make it very clear…When you buy a new license it also renews support. So if you may have another site that you could use the theme on you can always pick up a new license and it renews support and you have another copy to use.

Just replied to your email, please have a look. Thank you again for reporting the issue!

- AJ

Thanks – I do have multiple licenses, but they span a few different Themeforest accounts, so the renewals don’t all sync up.

It’s fine though. I’m more than happy to support the ongoing development of Total and WPExplorer.

I really appreciate it ;) Just know that it isn’t necessary, I’m always here to help!

- AJ

Hello!

So far I have been using the “Type Grid” in WPBakery to display upcoming events on my website. It did this automatically by simply sorting by date and selecting “Tribe_Event” in the Type field. That is, automatically, it only showed the next ones and not the past ones. But all of a sudden, either because of a theme update or an Events plugin, it shows all of them, the future ones and the past ones. I have read the documentation available at https://wpexplorer-themes.com/total/snippets/display-past-events-total-vc-modules-events-calendar-plugin/ and https://wpexplorer-themes.com/total /snippets/exclude-past-tribe-events/ but it doesn’t work as it also hides the ‘Type Grid’ I have for ‘Latest News’. How could I customize it to only display upcoming events sorted by date (next first…)?

Thanks a lot.

Hi,

This is AJ the theme developer.

The Events Plugin actually made an update that caused the issue. Previously past events were automatically hidden but if you enable the new design setting – - then it’s no longer the case. Using the Advanced Query is the best solution to ensure they are always hidden. Glad you figured that out!

Now, I think your query got unformatted when you posted it here so it’s not showing completely. It should look something like this:

post_type=tribe_events&posts_per_page=12&meta_query[0][key]=_EventStartDate&meta_query[0][value]=today&meta_query[0][compare]=gte

For anyone else that may be reading this thread.

- AJ

Hello again.

I have managed to show only the future ones, but what I have not achieved is that they are ordered by date (first the next).

Thanks for everything.

You’ll need to also add an orderby parameter. Example:

&orderby=meta_value

That should be enough. But if not you can try also adding:

&meta_key=_EventStartDate
<pre>

But I don't believe that should be necessary since you already have a meta_query.

- AJ</pre>

Hi AJ, I rarely use Slider Revolution and often delete it from my Total sites, which causes relentless reminders about installing Required Plugins. I don’t want to disable these reminders via Theme Panel, because I do want them to appear for WP Bakery, Total Core, etc. since my auto updater doesn’t fetch those automatically and I often have to manually update some or all of the plugins bundled with Total. Is there any way to selectively hide certain required plugins and allow others to show for updates?

The changelog is always available here – https://wpexplorer-themes.com/total/changelog/ – But also if you click on the Logo with the version number in the Theme Panel – https://a.cl.ly/eDu76qNl – it will take you there ;)

I started making some release pages as well for big updates and you can get to them from the changelog or the banner at the top of the main landing page. Here is the one for 5.5 – https://total.wpexplorer.com/releases/5-5/

- AJ

No way I’ll ever remember to check that regularly. If you had a newsletter or anything that would push notifications to me about these notes, I’d totally subscribe and read them (no pun intended). No big deal though, I enjoy stumbling upon improvements from time to time like I’ve been doing so far ;)

Got one: https://total.wpexplorer.com/newsletter/

Usually I send out notices only when the theme is on sale but I will start doing it for big updates as well.

- AJ

Dear AJ, I just updated Total to the latest version and I noticed an issue inside the customizer. You can take a look at the screenshot here: https://www.robertorizzoart.net/wp-content/uploads/2022/09/Senza-titolo-1.jpg

How can I fix it? Thanks a lot in advance, Bob

I got your email, I will reply back.

The issue with your shop is being caused by custom CSS on your site. See here: https://a.cl.ly/d5unWOWy – so this is a very easy fix, just locate and delete that custom CSS.

- AJ

Thank you very much AJ, I just fixed it.

That custom css overlapped because, if I remember correctly, the quantity numerator was previously on the same line as the ‘add to cart’ button, while in the new update they are now arranged one on top of the other. Was it your choice to put them this way?

Thank you very much for your help as always, Bob

Hi Bob,

Actually the way it’s coded now is that it can be on the same line or a different line based on your Customizer option: https://a.cl.ly/QwudljZe – but it should be on the same line by default.

However, the theme has an extra check so if you are using the ” WooCommerce Payments plugin” it will always be on a separate line because this plugin inserts extra code between the number input and the button and having them inline can break that. So if you are using the plugin you don’t have the ability to display them inline. It was a tweak to prevent conflicts with that plugin.

- AJ

Hi AJ,

thanks for the new update! I just wanted to point out an issue that popped up with it. When I use the print function I get 30.000 pages plus which should usually be only 3 to 4 pages. I downgraded to Total 5.4.5 and the issue is gone. Maybe something you want to take a look at.

Thanks!

If you send me logins to the email I mentioned in my last comment I’d be more then happy to help you troubleshoot. I’m only seeing the issue in Chrome (not firefox or Safari). Very weird!

- AJ

Login sent! Thanks for your kind support!

-Jolopu

Just replied back, will keep you posted via email.

I have a question about Blog > Archives & Entries > Image Overlay > Category Tag

For example, I have 4 categories A – B – C – D and I want to hide A or both A – B category, is this possible?

Thanks for your support.

I added below code in CSS but category still not hidden

.overlay-category-tag .term-1, .overlay-category-tag .term-5 { display: none !important; }

Oh sorry! The format is actually term-{slug} not term-{id}

.overlay-category-tag .term-1-slug,
.overlay-category-tag .term-5-slug { display: none !important; }

- AJ

Thanks It worked

Hi AJ,

Just a couple of comments on the new update, both to do with Menus.

First the desktop version:

‘Sticky Menu’ is set on the desktop version and at first glance when I tried it on the upgraded version, scrolling down, the menu had disappeared.

Turns out that it had not disappeared at all, the sticky menu was now hidden behind the admin bar.

Is there some kind of simple fix for this?

The Mobile Menu:

If the mobile menu is set to ‘Sticky’ it seems to work fine.

The problem comes when you try to run a refresh on a mobile device, when it goes to the 404 page.

Turned off the sticky setting and it went back to normal.

Otherwise a lovely upgrade!

“EDIT”

I found a simple fix for now with the desktop version, which was going into Customiser>> Header>> Menu and changing the custom menu height from 50 to 100.

Yeah, the class=”wpex-overfow-hidden” bit, and I reverted everything.

The menu has been reset to Menu 3 with a padding of 10px top and bottom, and the menu height is reset to 50px, and works perfectly.

The ‘reading progress indicator’ is again on top of the sticky menu and works well.

The image uploader once again works perfectly on rows and text modules, so everything is now as it was before the update.

I think it would probably be best if you checked it out as it is at present, so that you can see what I mean, then either update it yourself, or give me a shout to update it for you.

I’ll send over WP Rocket’s details for you to login as admin, as WP Rocket are certainly not going to be needing access anymore!

Coming over to you in 5.

Sure that’s fine.

When you reverted back, did you revert WordPress and any other plugins as well or just the theme and WPBakery/Total Theme Core?

I got the email so I will log in and have a look and reply back to the email and well go from there.

- AJ

No, all I did was to change the code snippet and revert back to the old menus.

Is there any way to enable templatera element inside Grid container?

Hi,

You can do that like so:

add_filter( 'vcex_grid_container_allowed_elements', function( $elements ) {
    if ( is_array( $elements ) ) {
        $elements[] = 'templatera';
    } else {
        $elements . ',templatera'
    }
    return $elements;
} );

( this filter returns a coma separated list of elements.

- AJ

I’m having a layout problem on mobile. I want Grid columns on mobile to be 2 instead of 1 as default. Please help me.

I got it working

Please ignore this message. thanks

Great! Thank you for letting me know!

Hi AJ,

I noticed in Total version 5.4.5 you’ve added a [site_name] shortcode. On several of my sites, I had added a [site_name] shortcode myself using the Code Snippets plugin. Here is the code I used:

add_shortcode( 'site_name', function() { return get_bloginfo(); } );

Will this cause any problems when I update to 5.4.5?

Connie

Hi Connie,

The shortcode in the theme is exactly the same – https://a.cl.ly/4guem2kL – the only difference is that in the theme I’ve actually set the get_bloginfo parameter to return the “name” rather then leaving it empty (the function will show the name by default, but it’s best practice to actually tell it what you want). Also in my function I’m using esc_html() which sanitizes the data for security reasons.

The end result should be the same ;)

- AJ

OK, so it sounds like I can update safely and then remove the Code Snippets code. Thanks!

Yep and as always if you have any issues let me know!

- AJ

ps: 5.5 is right around the corner – https://wpexplorer-themes.com/total/upcoming-update-changelog/ – in case you wanted to wait and update when this version is released.

Hi AJ,

How can i get fixed background of the second row working in mobile:

https://www.vivasuecia.com/

Thanks

Oh ya, the ticket is already assigned to me. I will reply back asap, thank you for your patience!

- AJ

Ohh great. Thanks. Dont worry about the time

Replied back, let me know if you have any other issues/questions!

Hi, I am using the built in demo content and have tried using the contact form but no emails are coming through despite success message appearing after submission. Have set up our recpatcha keys etc…. Not getting any of my test emails at all.

Hi,

This is Aj the theme author.

So the built-in contact form uses the WordPress email function wp_mail() – usually when emails aren’t being received it’s usually because they are being blocked by your email client or going to your spam box. Have you double checked that?

Have you tried changing the default email to see if it gets somewhere else? https://a.cl.ly/nOubNPq6

Now, if the emails aren’t being blocked or going to spam it’s possible the email function is not enabled on your server (most common with budget hosting or dedicated servers). WordPress makes use of PHP Mailer, can you verify that is enabled on your server?

This is a good plugin also if you want to test to see if WP is correctly sending emails – https://wordpress.org/plugins/wp-test-email/

Last, wp_mail does not work on localhosts so if you are testing on a local host that could be why.

I will look at adding some extra checks in the next update to show a notice under Tools > Site Health if php mail() is disabled to help with troubleshooting (doesn’t look like WP does this by default).

- AJ

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey