• Resolved bluestandish

    (@bluestandish)


    Is it possible to add other panels from site origin to the frontpage of the theme. How do I also get rid of the copyright theme by … at the footer.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Madhusudan Pokharel

    (@madhusudan977)

    Hello Bluestandish,

    Is it possible to add other panels from site origin to the frontpage of the theme.

    You need to do some customization to the theme.The best way to make changes to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.www.ads-software.com/Child_Themes
    https://op111.net/53/
    https://vimeo.com/39023468

    After you are done with the child theme activate the theme and put following code inside your functions.php:

    function bizlight_front_page() {
            if ( 'posts' == get_option( 'show_on_front' ) ) {
                include( get_home_template() );
            }
    
            else {
                include( get_page_template() );
            }
    
        }
    
    add_action( 'bizlight_action_front_page', 'bizlight_front_page', 10 );

    Now you can create add panels from site origin to the frontpage.

    How do I also get rid of the copyright theme by … at the footer.

    Go to Appearance->Customize->Theme Options->Footer Options and change the copyright text.
    Regards.

    Thread Starter bluestandish

    (@bluestandish)

    Ooh ok thanks Madhusudan, will give this a try and get back on here.

    Thread Starter bluestandish

    (@bluestandish)

    Hello sir, I have tried but it’s only show site origin panels on the frontpage without the theme’s original panels. I wanted both on the frontpage. Also changing the copyright doesn’t get rid of the proudly powered by WordPress Theme by…?

    Madhusudan Pokharel

    (@madhusudan977)

    Hello bluestandish,

    I wanted both on the frontpage.

    You can select the pages on front page via customizer that are available on the theme’s features.

    Also changing the copyright doesn’t get rid of the proudly powered by WordPress Theme by…?

    You need to customize the function bizlight_footer which is inside inc/hooks/footer.php as you would like to.

    Let me know how it goes.

    Thread Starter bluestandish

    (@bluestandish)

    Great. thanks Madhusudan. It’s now working fine. all the giving the given solutions from you was good. thank you so much for your time. currently I am trying to integrate woocommerce with the theme but i guess it’s not working so much on the product’s page. these were the codes i picked from the documentation page of the woocommerce to place in the functions file of the theme. they are not working still. however, i figured the functions.php file of the theme doesn’t have any php close tag. I don’t know whether that’s the reason the woocommerce integration is not working.

    remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
    remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);

    Then hook in your own functions to display the wrappers your theme requires:

    add_action(‘woocommerce_before_main_content’, ‘my_theme_wrapper_start’, 10);
    add_action(‘woocommerce_after_main_content’, ‘my_theme_wrapper_end’, 10);

    function my_theme_wrapper_start() {
    echo ‘<section id=”main”>’;
    }

    function my_theme_wrapper_end() {
    echo ‘</section>’;
    }

    I will go over to the woocommerce side to put this question up. was only wondering since you know much about the bizlight theme, you may have encountered people that have faced similar problems with wordpress integration before? or may have a link to a similar resolved issue. Anyway, I am really much grateful for the help you have given me on this.I will mark this forum resolved – but you can still share any ideas on my current woocommerce integration issue if you have any answers. Thank you.

    Madhusudan Pokharel

    (@madhusudan977)

    Hello @bluestandish,
    Nice to know that the problem has been solved.
    I recommend asking at Woocommerce Support so the plugin’s developers and support community can help you with this. If there are any further query, then, please feel free to post them.
    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
    https://www.ads-software.com/support/view/theme-reviews/bizlight
    Thanks.

    Thread Starter bluestandish

    (@bluestandish)

    great thanks. and sure I’m gonna go over to the repo and rate right away. your theme is the best and exactly what i’ve been searching for all these while. i changed so many themes within a year. but i guess i am stuck with this one for my site. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add site origin panels to frontpage’ is closed to new replies.