-
Wendy Lee
Hello Generatepress people
I would like to add an excerpt option to the Zoom meetings page for the plugin Video Conferencing with Zoom.
Is that possible?I saw in the forums that a code snippet can be added to add an excerpt to a page
// Adding excerpt for page
add_post_type_support( ‘page’, ‘excerpt’ );Would it be possible to do something similar for the ‘zoom-meetings’ page?
I have crashed the site once before trying an incorrect snippet, I would rather not repeat …
Your advise would be sincerely appreciated as always
Thanks in Advance
Wendy-Lee
-
Hi there,
can you share a link to the page on your site ?
-
Wendy Lee
Hi David
I have posted link into private section
Just incase, I am also wondering if there is any way to disable the featured image on that page
Elements dynamic data also include options for meeting details… maybe functionality doesn’t work with Generatepress? If it’s too complicated I’ll move onThanks for being awesome as usual
-
You will need to get some info from the plugin developer.
The Custom Post Type they use has its own templates and functions. Which the Theme won’t know about.
The developer should be able to tell you the CPT name so you can excerpt supports.
And hopefully a hook to remove the image. The most i can offer there is some CSS to hide it. -
Wendy Lee
Thank David
I looked and he has support, but his documentation pertains to child themes and so forth.
I will make contact, but I’m a simple gal… Learned everything I know from Generatepress forums, and enough to make my site function for me… so grateful really!That being said, I will settle for CSS to hide it in the meantime. If you will.
Thank you once again!
-
Wendy Lee
Hello again David
I revisited the plugin documentation and there is a whole section on template override in the template folders… which I know nothing about.
Says once we have gone through the process the pages can be arranged however we want., so so I will try to get someone who understands to help me… lest I break it all… again.And then hopefully all will be well.
Thank you for your support
Have the best day -
Can you link me to that documentation, i can take a quick look and if possible provide some pointers.
-
Wendy Lee
Goodness,
Sorry for the delay, I wasn’t expecting a reply…
And we have a phenomenon called Loadshedding in South Africa… no power for hours at a time
Thank you for offering to try to help,I would appreciate if I could learn
Also cool if you cant, thank you anyways
You are all, always, awesome!!!
Here’s the link:
-
I had a look in the plugins
includesfolder.1. Add Excerpt:
in the
includes/adminthere is theclass-zvc-admin-post-type.phpwhich is where they register the post type which looks to be:video-conferencing-with-zoom-apiSo try this snippet
add_post_type_support( 'video-conferencing-with-zoom-api', 'excerpt' );2. Featured image
in the plugins
includesfolder and found theirtemplate-hooks.php
And this is how they hook in the single post featured image:add_action( 'vczoom_single_content_left', 'video_conference_zoom_featured_image', 10 );So to remove it add this PHP snippet to your site:
add_action('wp',function(){ remove_action( 'vczoom_single_content_left', 'video_conference_zoom_featured_image', 10 ); }); -
Wendy Lee
Wow!
Who are you guys, Superheroes…Snippet : add_post_type_support( ‘video-conferencing-with-zoom-api’, ‘excerpt’ );
No excerpt block visible on the edit Zoom Event page
That is what I am looking for right, so that didn’t work?But I have been able to remove the featured image so that’s a win…
I’ll work around the excerpt thing somehow with blocks…Thank you very much for your time and effort, I realize it is out-of-scope
I really appreciate itMay it come around
-
🙂
Glad to hear the featured image work.
The excerpt – is there a checkbox to enable it in the Screen Options in the editor ? -
Wendy Lee
mmmmmm…
Yes, I did check that and no option in Screen Options
If only it were so simpleThink I’ll explore options, something that blends better with my beloved Generatepress
As much as I love chatting with you, sure you have many great Generatepress issues to resolve
May your moments be meaningful
Thank you! -
Thats a shame. Might want to run it passed the plugin developer. Note: it should not require overwriting templates to add support for this.
Overall – glad to be of help.
- You must be logged in to reply to this topic.