Skip Navigation

[Résolu] Help with [my-post-excerpt] shortcode

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.

This topic contains 3 réponses, has 2 voix.

Last updated by webD-3 Il y a 11 mois.

Assigned support staff: Minesh.


Last week I updated Types and Views on a site, and the presence of the [wpv-post-excerpt] shortcode prevented the pages referencing that shortcode from resolving. Jamal helped me with that ticket ( and the eventual resolution was updating to Types 3.4.2 and Views 3.3.2.

Today, I'm updating another site to Views 3.4.2 and Blocks 1.3.2, and experiencing the same issue. The difference is that I am using a custom [my-post-excerpt] shortcode, that I found in this support thread:

Would you be able to assist in determining what adjustments need to be made to this function, that would correspond to the similar changes that were applied in last week's Views/Blocks update, so that this shortcode can continue to work?



Languages: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

The ticket you are referring to is too old belongs to year 2013.

I wonder how a shortcode is not working at your end as is your goal to add that shortcode?

Can you please share problem URL and access details and tell me what exactly you want to display with that shortcode?

*** 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.



Languages: Anglais (English )

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

Can you please check now: hidden link

I've comment out the following line of code from the function my_shortcode_wpv_post_excerpt():

// $post_id_atts = new WPV_wpcf_switch_post_from_attr_id($atts);

I can see now page is loading as expected. Can you please confirm it works as expected.


Thank you Minesh! The staging site did look the way I want it to. I commented out the same line from the live site, and the [my-post-excerpt] shortcode now works as intended. I appreciate your time and expertise!