Skip Navigation

[Resolved] Some toolset shortcodes stop work

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by linaS 4 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1291207

I am trying to use taxonomy type shortcode with slug:
<div class="category [wpv-post-taxonomy type='listing-category' format='slug']">

It worked before and still working in some pages, but for example at home page this shortocode and all same for taxonomies just empty.

Link to a page where the issue can be seen:
hidden link

Here these shortocdes work:
hidden link

#1291437

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

First of all - After checking debug information you shared with us, I found that you are using an outdated WordPress version. Can you please update WordPress to latest version 5.2.2.

You said that this shortcode works at someplace but not on others. Can you please share problem URL and access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1292607

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I see you are filtering the view with specifil term slug on your home page:

<h2 style="text-align: center;font-size: 36px;">Latest Offers</h2> 
    <div class="ast-row listings-row">
    <div class="ast-col-sm-3 truck-unit">
      [wpv-view name="latest-listing" wpvlistingcategory="truck-unit"]
    </div>

That means the above field will display posts belongs to the term truck-unit.

So, indie the div I've made a change as given under:
=> hidden link

<div class="category [wpv-attribute name='wpvlistingcategory']"> <span>Category</span> 

Now, if you can see the section "Latest Offers" on home page, I can see the div is filled with the correct term slug. Can you please confirm.

#1294837
Screenshot_21.png
Screenshot_16.png
Screenshot_19.png
Screenshot_18.png
Screenshot_17.png

Minesh, hello.
Yes now this view is working right.
But we have another one at the home page "Featured lisitings" and there is still a problem.

I just want to clarify that it seems to me something goes wrong with toolset.
1. Shortcode stoped working

And now i found one more problem:
2. I used inside credform "New Listing" custom field to uploads images, before it was input with type="file"
but now these inputs have type="button"

hidden link

User cen add new cars at the frontend:
hidden link

So before the user get option upload file straight from his computer to the form, but now the dashboard media upload appear for all users.
It's wrong for us ((

And even in this case when i'm trying to upload any images i'm getting error: "You can only upload an image file" - but i'm uploadin images: .jpg, .png

I attached screenshots.

Is it possible to replace the type for these fields to "file" like it was before?

3. When i'm trying to edit credfroms from dashboard, without any mistakes the form closes but my changes don't save.
So i can't change anything.

Thank you for any help and advices

#1294871

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to know that the solution I shared for the original issue help you to resolve your issue.

May I kindly ask you to open a new ticket for every new problem you want to report. This will help other users searching on the forum as well as help us to write correct problem resolution summary for the original issue reported.

#1294891

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.