Home Forums Themes Support Formota Not showing Page Options and Actor page customizations

This topic contains 7 replies, has 2 voices, and was last updated by  admin 1 month ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3968
    Efeulker
    Supported

    Hi,

    At last I purchased the Formota Theme. Thank you for the cool theme you made!

    I’d need you to help to customize my pages.

    – I attached the image to show you on actors page, “Page Options” tab doesn’t show options. If I fixed that, is it possible to choose different “Page Title Background” for every single actor page? What does “Page Title Background” image dimensions?

    – On the actor page, there are some meta boxes; Filmography, Awards etc. I’d like to add more meta boxes section for Theatre, TV series, Education. Is it possible? And how to change table column titles? For example; My table has Film Title and Character Name

    – On the actor page, If I don’t want to use “datetime”, is it possible to not show “YEAR” column of table on Filmography, Awards etc. section?

    – I didn’t add any information on Awards section but its title and table can view empty. How can I remove it individually?

    That’s all for now 🙂

    Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #3970

    Hi,
    Thanks for contacting us and choosing our product!
    About your questions we can answer as below:
    1. On actor page we don’t add metabox Page Options to show different page title,…
    However we’ll think about add it later. The image size for page title is 1920 x 500
    2. You can add more metabox for custom posttypes (actor, director…) follow this topic tutorial: https://harutheme.com/forums/topic/add-new-metabox-circle-single-video-film-actor-director/
    3. You can use child theme to do it follow this topic tutorial: https://harutheme.com/forums/topic/customize-wordpress-theme-using-child-theme/
    In this case the template is: wp-content/themes/formota/templates/single/content-haru-doctor.php
    You can remove the code to display it:
    http://prntscr.com/owc95w
    4. Similar above you can use child theme to remove it.
    Hope this help!

    *****
    Best regards,
    HaruTheme

    #3971
    Efeulker
    Supported

    Hi HaruTheme,

    Thanks for your help. I started to make your suggestions.

    1. I mentioned that I just want to add different image for actors. On the theme options > WordPress Setting page has “Page Title Background” image section for all site (attached image01.png). I’d like to set it in actor page with actor image individually. My goal is to put each actor’s own photo. If there isn’t any solution, can you help me to do it manually? or please can you add it to the first update? 🙂

    Last thing is (attached image02.png); I didn’t figure out how to use “Featured Video” section. I want to add youtube video or video on my fileserver.

    Best regards,

    Attachments:
    You must be logged in to view attached files.
    #3974

    Hi,
    Thanks for your feedback!
    We’ll noticed the #1 issue but we are depend on other project and will update it later.
    2. You need create video first in: http://prntscr.com/owwf7s
    Then you can select video for actor or director.
    Hope this help!

    *****
    Regards,
    HaruTheme

    #3998
    Efeulker
    Supported

    Hi,

    I think the last thing I need your support.

    How do I make the actor’s videos appear in a list when I add them in “My Featured Videos” in the actors pages? I don’t want to link to another page. I’d like to play videos on modal window.

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #4001

    Hi,
    Thanks for your feedback!
    When you select thumbnail for video it will display like this:
    https://efeulkermanagement.com/video/the-beautiful-life/
    and on actor page it will show video with thumbnail and you can click to play on popup:
    https://efeulkermanagement.com/actor/cecilia-rodgers/
    You can add featured video in admin dashboard:
    https://prnt.sc/p2a3eh
    Hope this help!

    *****
    Regards,
    HaruTheme

    #4003
    Efeulker
    Supported

    Awesome! Thanks for reply

    I’m sorry for asking one more question 🙂

    All actor sections like “My Story”, “Testimonials”, “My Filmography” etc. If there isn’t information in these sections, I’d like to them to be hidden. Because, I have no all informations for actors. I wouldn’t use “Testimonials” on all page, I think I can hide with css but another sections variable. Some actors has awards some of them not.

    How could I figure out this situation?

    Regards

    #4013

    Hi,
    Similar Doctor template.
    You can use child theme to do it follow this topic tutorial: https://harutheme.com/forums/topic/customize-wordpress-theme-using-child-theme/
    In this case the template is: wp-content/themes/formota/templates/single/content-haru-actor.php
    You can change the code to this:

    <?php
    /**
     * @package    HaruTheme
     * @version    1.0.0
     * @author     Administrator <admin@harutheme.com>
     * @copyright  Copyright (c) 2017, HaruTheme
     * @license    http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
     * @link       https://harutheme.com
    */
    
    /**
     * The default template for displaying content
     *
     * Used for both single and index/archive/search.
     *
     * @package WordPress
     */
    
    ?>
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <div class="post-wrapper">
            <?php 
                // Docs: https://metabox.io/docs/get-meta-value/
                $actor_info              = get_post_meta( get_the_ID(), 'haru_actor' . '_info', true );
                $actor_award             = get_post_meta( get_the_ID(), 'haru_actor' . '_award', true );
                $actor_social            = get_post_meta( get_the_ID(), 'haru_actor' . '_social', true );
                $actor_film              = get_post_meta( get_the_ID(), 'haru_actor' . '_filmography', true );
                $actor_video             = get_post_meta( get_the_ID(), 'haru_actor' . '_video', false );
                $actor_testimonial       = get_post_meta( get_the_ID(), 'haru_actor' . '_testimonial', true );
                
                $actor_gallery_images    = get_post_meta( get_the_ID(), 'haru_actor' . '_gallery_images', false ); // Array
            ?>
            <!-- Single Actor Top -->
            <div class="single-actor-top">
                <div class="container">
                    <div class="actor-meta">
                        <span class="actor-views"><i class="ion-eye"></i><?php echo haru_count_post_views( get_the_ID() ); ?></span>
                        <?php if ( comments_open() ) : ?>
                            <span class="meta-comment">
                                <i class="ion ion-md-chatboxes"></i>
                                <?php 
                                    $num_comments = get_comments_number();
                                    if ( $num_comments == 0 ) {
                                        $comments = esc_html__( 'No Comments', 'formota' );
                                    } elseif ( $num_comments > 1 ) {
                                        $comments = $num_comments . esc_html__( ' Comments', 'formota' );
                                    } else {
                                        $comments = esc_html__( '1 Comment', 'formota' );
                                    }
                                    printf('<a href="%1$s">%2$s</a>', esc_url( get_comments_link() ), $comments ); ?>
                            </span>
                        <?php endif; ?>
                        <span class="actor-category"><i class="ion ion-md-folder"></i><?php echo get_the_term_list( get_the_ID(), 'actor_category', '', ', ' ); ?></span>
                    </div>
                </div>
            </div>
    
            <!-- Single Actor Main Content -->
            <div class="single-actor-main">
                <div class="container">
                    <div class="row">
                        <div class="col-md-6 col-sm-6">
                            <div class="actor-image">
                                <?php the_post_thumbnail(); ?>
                            </div>
                        </div>
                        <div class="col-md-6 col-sm-6">
                            <div class="actor-right-col">
                                <div class="actor-heading">
                                    <h2 class="actor-title"><?php the_title(); ?></h2>
                                    <p class="actor-posttype"><?php echo esc_html__( '/ Actor', 'formota' ); ?>
    
                                </div>
                                <div class="actor-information">
                                    <?php foreach( $actor_info as $info ) : ?>
                                    <div class="actor-info row">
                                        <span class="col-md-6 info-label"><?php echo esc_html( $info['0'] ); ?></span>
                                        <span class="col-md-6 info-value"><?php echo wp_kses_post( $info['1'] ); ?></span>
                                    </div>
                                    <?php endforeach; ?>
                                </div>
                                <ul class="actor-social">
                                    <?php foreach( $actor_social as $social ) : ?>
                                        <?php if ( $social['url'] != '' ) : ?>
                                        <li><a href="<?php echo esc_url( $social['url'] ); ?>" target="_blank" title="<?php echo esc_attr( $social['network'] ); ?>"><i class="<?php echo esc_attr( $social['icon'] ); ?>"></i></a></li>
                                        <?php endif; ?>
                                    <?php endforeach; ?>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    
            <!-- ACTOR STORY -->
            <?php if ( !empty( get_the_content() ) ) : ?>
            <div class="single-actor-story">
                <div class="container">
                    <h3 class="description-heading"><span><?php echo esc_html__( 'My ', 'formota' ); ?></span><?php echo esc_html__( 'Story', 'formota' ); ?></h3>
                    <div class="row actor-description">
                        <div class="col-md-7 col-sm-7">
                            <div class="description-detail">
                                <div class="actor-story">
                                    <?php the_content(); ?>
                                </div>
                            </div>
                            <div class="actor-share">
                                <?php get_template_part('templates/single/social-share'); ?>
                            </div>
                        </div>
                        <div class="col-md-5 col-sm-5">
                            <?php if ( $actor_testimonial != '' ) : ?>
                            <div class="actor-testimonial"><?php echo esc_html($actor_testimonial);; ?></div>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
    
            <!-- ACTOR FILMOGRAPHY -->
            <?php if ( isset($film) && !empty($film) ) : ?>
            <div class="single-actor-film">
                <div class="container">
                    <h3 class="film-heading"><span><?php echo esc_html__( 'My ', 'formota' ); ?></span><?php echo esc_html__( 'Filmography', 'formota' ); ?></h3>
                    <ul class="film-list">
                        <li class="row list-title">
                            <span class="col-md-2 col-sm-2 col-xs-2 title-year"><?php echo esc_html( 'Year', 'formota' ); ?></span>
                            <span class="col-md-4 col-sm-4 col-xs-4 title-film"><?php echo wp_kses_post( 'Film Title', 'formota' ); ?></span>
                            <span class="col-md-6 col-sm-6 col-xs-6 title-information"><?php echo wp_kses_post( 'Director(s)', 'formota' ); ?></span>
                        </li>
                        <?php foreach( $actor_film as $film ) : ?>
                        <li class="row">
                            <span class="col-md-2 col-sm-2 col-xs-2 film-year"><?php echo esc_html( $film['date'] ); ?></span>
                            <span class="col-md-4 col-sm-4 col-xs-4 film-title"><?php echo wp_kses_post( $film['title'] ); ?></span>
                            <span class="col-md-6 col-sm-6 col-xs-6 film-information"><?php echo wp_kses_post( $film['information'] ); ?></span>
                        </li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            </div>
            <?php endif; ?>
    
            <!-- ACTOR AWARD -->
            <?php if ( isset($award) && !empty($award) ) : ?>
            <div class="single-actor-award">
                <div class="container">
                    <h3 class="award-heading"><span><?php echo esc_html__( 'My ', 'formota' ); ?></span><?php echo esc_html__( 'Award', 'formota' ); ?></h3>
                    <ul class="award-list">
                        <li class="row list-title">
                            <span class="col-md-2 col-sm-2 col-xs-2 title-year"><?php echo esc_html( 'Year', 'formota' ); ?></span>
                            <span class="col-md-4 col-sm-4 col-xs-4 title-film"><?php echo wp_kses_post( 'Film Title', 'formota' ); ?></span>
                            <span class="col-md-6 col-sm-6 col-xs-6 title-information"><?php echo wp_kses_post( 'Award(s)', 'formota' ); ?></span>
                        </li>
                        <?php foreach( $actor_award as $award ) : ?>
                        <li class="row">
                            <span class="col-md-2 col-sm-2 col-xs-2 award-label"><?php echo esc_html( $award['date'] ); ?></span>
                            <span class="col-md-4 col-sm-4 col-xs-4 award-title"><?php echo wp_kses_post( $award['title'] ); ?></span>
                            <span class="col-md-6 col-sm-6 col-xs-6 award-information"><?php echo wp_kses_post( $award['information'] ); ?></span>
                        </li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            </div>
            <?php endif; ?>
    
            <!-- SINGLE ACTOR GALLERY -->
            <?php if ( isset($actor_gallery_images) && !empty($actor_gallery_images) ) : ?>
            <div class="single-actor-gallery">
                <div class="container">
                    <div class="gallery-heading">
                        <h3 class="gallery-title"><span><?php echo esc_html__( 'My Photo ', 'formota' ); ?></span><?php echo esc_html__( 'Gallery', 'formota' ); ?></h3>
                    </div>
                </div>
                <div class="actor-gallery">
                    <div class="container">
                        <div class="actor-images clearfix">
                            <?php 
                            foreach( $actor_gallery_images as $actor_gallery_image ) : 
                                $image_src = wp_get_attachment_url( $actor_gallery_image );
                            ?>
                            <div class="image-item">
                                <div class="image-wrap">
                                    <img src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_attr( get_the_title( $actor_gallery_image ) ); ?>">
                                    <a class="single-gallery-popup" href="<?php echo esc_url($image_src); ?>"><i class="ion-ios-plus-empty"></i><?php echo esc_html__( 'View More', 'formota' ); ?></a>
                                </div>
                            </div>
                            <?php endforeach; ?>
                        </div>
                    </div>
                    
                </div>
            </div>
            <?php endif; ?>
    
            <!-- SINGLE ACTOR COMMENT -->
            <div class="single-actor-comment">
                <div class="container">
                <?php comments_template(); ?>
                </div>
            </div>
            
            <!-- SINGLE ACTOR VIDEO -->
            <?php 
                $args = array(
                    'post__in'       => $actor_video,
                    'posts_per_page' => -1,
                    'orderby'        => 'rand',
                    'post_type'      => 'haru_video',
                    'post_status'    => 'publish',
                );
                $related_actors         = new WP_Query( $args );
            ?>
            <?php if ( isset($actor_video) && !empty($actor_video) ) : ?>
            <div class="single-actor-video">
                <div class="container">
                    <h3 class="my-video-title"><span><?php echo esc_html__( 'My Featured ', 'formota' ); ?></span><?php echo esc_html__( 'Videos', 'formota' ); ?></h3>
                    <div class="haru-carousel video-list owl-carousel owl-theme"
                        data-items="3"
                        data-items-tablet="2"
                        data-items-mobile="1"
                        data-margin="20"
                        data-autoplay="false"
                        data-slide-duration="6000"
                    >
                        <?php 
                            if ( $related_actors->have_posts() ) :
                                while ( $related_actors->have_posts() ) : $related_actors->the_post();
                        ?>
                            <div class="video-featured">
                                <div class="video-image">
                                    <?php the_post_thumbnail(); ?>
                                    <?php
                                        $player_type = haru_get_option('haru_player_type');
                                        $player_js = haru_get_option('haru_player_js');
                                        $video_server     = get_post_meta( get_the_ID(), 'haru_video' . '_server', true );
                                        if ( $player_type == 'player_popup' ) :
                                    ?>
                                        <div class="video-icon">
                                            <a href="javascript:;" class="view-video-button" data-id="<?php echo esc_attr( the_ID() ); ?>" data-player="<?php echo esc_attr( $player_js ); ?>" data-server="<?php echo esc_attr( $video_server ); ?>"></a>
                                        </div>
                                    <?php else : ?>
                                        <div class="video-icon"><a href="<?php echo esc_url( get_the_permalink() ); ?>" class="view-video-button-direct"></a></div>
                                    <?php endif; ?>
                                </div>
                                <div class="video-meta">
                                    <h5 class="video-title"><a href="<?php echo esc_url( get_the_permalink() ); ?>" target="_self"><?php the_title(); ?></a></h5>
                                    <div class="video-category">
                                        / <?php echo get_the_term_list( get_the_ID(), 'video_category', '', ', ' ); ?>
                                    </div>
                                </div>
                            </div>
                        <?php 
                                endwhile;
                            endif;
                            wp_reset_postdata();
                        ?>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
    </article> 

    Hope this help!

    *****
    Regards,
    HaruTheme

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.