Home › Forums › Themes Support › Formota › video info and other issues
- This topic has 24 replies, 2 voices, and was last updated 6 months, 4 weeks ago by
admin.
-
AuthorPosts
-
February 8, 2023 at 4:36 pm #10493
hello, good afternoon,
I would like the names of the director, dop and production company to appear under each of the videos in the homepage video carrusel, so visitors don’t need to go to another page.Could you please help me with that?
Also, i’m having some problems with the footer, I can’t visualize properly the wordpress editing page and I am unable to change the link to email. Also the footer doesn’t show the proper links to socials indicated on the theme options.
Socials dont show on mobile header.
Also having problems with some types of header, the menu drops down when the navigator window is small.
thank you , kind regards
February 8, 2023 at 4:47 pm #10494This reply has been marked as private.February 9, 2023 at 1:58 am #10499Hi,
Thanks for contacting us and choosing our product!
About your questions we can answer as below.
1. You need to manage Footer follow this:
(We already changed for you here: https://www.funnyshadows.com/new/wp-admin/admin.php?page=vc-roles)
It also already said in the document: https://document.harutheme.com/formota/
2. About the menu you can try go to Appearance -> Customize -> Additional CSS & add this code:#left-menu, #right-menu { display: flex; flex-wrap: nowrap; white-space: nowrap; }
3. You need customize the code of template display follow this topic: https://harutheme.com/forums/topic/customize-wordpress-theme-using-child-theme/ . The template for customize is: wp-content/plugins/haru-formota-core/templates/posttypes/video/video-style/style-1.php or another file depend on the shortcode you are using.
You need use these code to display actor, director. Please note this is the custom works, so you need to do it yourself or suggest us an custom project:<?php $video_director_ids = get_post_meta( get_the_ID(), 'haru_video' . '_director', false ); // Array if ( isset($video_director_ids) && !empty($video_director_ids) ) : ?> <div class="video-info-box video-director"> <h6 class="info-title"><?php echo esc_html__( 'Director', 'formota' ); ?></h6> <div class="director-list"> <?php foreach( $video_director_ids as $video_director_id) : // Can change to false get_post_meta for shorter code $video_director = get_post( $video_director_id ); $video_director_link = get_post_permalink( $video_director_id ); ?> <a href="<?php echo esc_url($video_director_link); ?>"><?php echo esc_html($video_director->post_title); ?></a> <?php if ( $video_director_id != end( $video_director_ids ) ) : ?> <span>,</span> <?php endif; ?> <?php endforeach; ?> </div> </div> <?php endif; ?> <?php $video_actor_ids = get_post_meta( get_the_ID(), 'haru_video' . '_actor', false ); // Array if ( isset($video_actor_ids) && !empty($video_actor_ids) ) : ?> <div class="video-info-box video-actor"> <h6 class="info-title"><?php echo esc_html__( 'Actor', 'formota' ); ?></h6> <div class="actor-list"> <?php foreach( $video_actor_ids as $video_actor_id) : // Can change to false get_post_meta for shorter code $video_actor = get_post( $video_actor_id ); $video_actor_link = get_post_permalink( $video_actor_id ); ?> <a href="<?php echo esc_url($video_actor_link); ?>"><?php echo esc_html($video_actor->post_title); ?></a> <?php if ( $video_actor_id != end( $video_actor_ids ) ) : ?> <span>,</span> <?php endif; ?> <?php endforeach; ?> </div> </div> <?php endif; ?>
Hope this helps!
****
Regards,
HaruThemeFebruary 9, 2023 at 5:48 pm #10514Thank you for your answers, I would like the extra info under the videos to be text (not links), and I don’t need it to be director and actors information. Would it be possible to get the info from the main text area? or from the “more information” labels I create myself?
Also, if I’m not wrong, haru-formota-core plugin can’t be changed from the Child theme because is a plugin, so whenever we need to update the plugin all our work will be gone right?
Thank you so much for your help,
kind regardsFebruary 10, 2023 at 1:51 am #10516Hi,
First of all you should read our reply carefully.
1. In the question 3. you can override template display of haru-formota-core via child theme and your custom works will keep when you update our theme & plugins.
2. If you don’t want to use link you can change code (example) from:
<a href="<?php echo esc_url($video_director_link); ?>"><?php echo esc_html($video_director->post_title); ?></a>
to
<span><?php echo esc_html($video_director->post_title); ?></span>
3. You can read more code to get any information you need in: wp-content/themes/formota/templates/single/video-style_1.php
Please note this is reference what you need to do. So you should check it yourself to get what you need.
Hope this helps!****
Regards,
HaruThemeFebruary 10, 2023 at 6:30 pm #10522This reply has been marked as private.February 10, 2023 at 7:47 pm #10523This reply has been marked as private.February 11, 2023 at 11:42 am #10528Hi,
1. In your case the template structure in child theme is:
wp-content/themes/formota-child/haru-formota-core/posttypes/
It similar this image: https://harutheme.com/wp-content/uploads/2020/05/customize-plugin-templates.png
It’s step 4 of this topic: https://harutheme.com/forums/topic/customize-wordpress-theme-using-child-theme/
2. We can’t see the screenshots you attached. Can you re-upload them here: https://app.prntscr.com/en/index.html
Hope this helps!****
Regards,
HaruThemeFebruary 12, 2023 at 4:00 pm #10531This reply has been marked as private.February 12, 2023 at 4:08 pm #10533This reply has been marked as private.February 13, 2023 at 1:38 am #10539Hi,
1. The CSS code for title of video:.video-shortcode-wrapper.grid .video-content .video-list .video-item.style_2 .video-meta .video-title a, .video-shortcode-wrapper.masonry .video-content .video-list .video-item.style_2 .video-meta .video-title a, .video-shortcode-wrapper.grid_special .video-content .video-list .video-item.style_2 .video-meta .video-title a, .video-shortcode-ajax.grid .video-content .video-list .video-item.style_2 .video-meta .video-title a, .video-shortcode-ajax.masonry .video-content .video-list .video-item.style_2 .video-meta .video-title a, .video-shortcode-ajax.grid_special .video-content .video-list .video-item.style_2 .video-meta .video-title a { font-size: 20px; letter-spacing: 1px; } @media screen and(max-width: 991px) { font-size: 18px; }
How to get this code please see here: https://www.youtube.com/watch?v=_OJ8mByfDUU
and reference for responsive: https://www.w3schools.com/css/css3_mediaqueries_ex.asp
2. We tried to login your site but it can’t be reached now. However we make sure this will works because many customers already did it. Please make sure you override correct struct for the shortcode you are using. What is the name of shortcode you are overriding?****
Regards,
HaruThemeFebruary 13, 2023 at 6:09 pm #10540This reply has been marked as private.February 13, 2023 at 6:10 pm #10542This reply has been marked as private.February 13, 2023 at 6:26 pm #10545This reply has been marked as private.February 14, 2023 at 2:38 am #10550Hi,
1. We can’t see any of your screenshots.
Please re-upload with correct format and size.
Also please note you are using Video Grid shortcode and it will use isotope filter layout.
https://isotope.metafizzy.co/filtering.html
That’s why when you filter on a category but the videos in the category doesn’t show more items when it loading more videos.
You can try to use Video Ajax Category Shortcode like this:
2. You can go to Appearance -> Customize -> Additional CSS and add this code to make title, categories,… can’t clickable:.video-category a { pointer-events: none; } .video-title a { pointer-events: none; }
3. You still don’t read our reply carefully.
– You need go to Appearance -> Themes and active Formota child theme (now still use parent theme)
– The correct path is: wp-content/themes/formota-child/haru-formota-core/posttypes/ but yours is: wp-content/themes/formota-child/haru-formota-core/templates/posttypes/
So please try again.
Hope this helps!****
Regards,
HaruTheme -
AuthorPosts
You must be logged in to reply to this topic.