badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Page ( which is set as business ) content doesn't show on business page template

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #21979
    nuruddinctg1990
    Participant

    I created a page named home and i set it as my home page of ” business template”. Everything is OK but the content of the page doesn’t show on the ” business template”
    How can i solve it?

    #22011

    Hi nuruddinctg1990,

    Once follow this theme instruction page to set business page template.

    Thank you!

    #22241
    nuruddinctg1990
    Participant

    No, i think you did not understand my message. I set all ‘ business page template’ widget. Now i want to show my home page content bellow those widgets. Is it possible? Please help me.

    #22264

    Hi nuruddinctg1990,

    We have designed our theme this way. This feature is not available in our theme. If you want to home page content to display then you may customize the code. You need to add this code in business page template.

    <?php the_content(); ?>
    We always recommended you to create a child theme and customize the code to be save from data loss while updating to our new version.

    Thank you!

    #22338
    nuruddinctg1990
    Participant

    Thanks for your reply. But where i will add the function?
    One help. I created a child theme on my local host. Style.css file is working good. But when i want to add other file it is not working. I elaborately saying…
    my child theme folder name: interface-child
    css code:
    /*
    Theme Name: interface Child Theme
    Author: Self-Help WordPress User
    Template: interface
    */


    @import
    url(“../interface/style.css”);
    My problem is that when i want to alter some code copying the same file on same folder from parent theme, it doesn’t affect on site. What is problem? Is there anything wrong ?
    For example:
    I want to change interface-footer_info.php file. I copied the file on interface-child/inc/interface-footer_info.php. But when i change anything it doesn’t affect on the site. Please help me.

    #22339
    nuruddinctg1990
    Participant

    Oh, i found where to add the code: <?php the_content(); ?>

    #22387

    Hi nuruddinctg1990,
    Example to unhook the page 404:

    
    unhook functions
    
    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    
    remove_action( 'interface_404_content', 'interface_display_404_page_content', 10 );
    
    }
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook interface_header
    
    add_action( 'interface_404_content', 'interface_child_display_404_page_content', 10 );
    /**
     * function to show the footer info, copyright information
     */
     
     
    function interface_child_display_404_page_content() {      ?>   
    <div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'interface' ); ?></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p>Thank you</p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
      <?php 
    }

    You may also search in forum how to unhook the parent code.
    For example:-
    https://www.themehorse.com/support-forum/topic/child-theme-404-page-and-search-page-styling/
    If you are still unable then you may hire a developer to fix it.

    This below code must be defined under business page Template. If you want to display it in your own style/ design then you need to hire a developer
    <?php the_content();?>

    Thank you!

    #22407
    nuruddinctg1990
    Participant

    I added the code on my child theme ( interface-child/functions.php)
    Nothing happened. I wanna change interface-child/inc/interface-footer_info.php. What can do ? I followed everything to create child theme. But only style.css is working.
    I know some php functions. Please help me to work on child theme.
    In your previous message i see some code to unhook the parent code. Is it for all file changing? Or for only search and 404 file?
    I put my child theme interface-footer_info.php file on the folder that is (interface-child/inc/interface-footer_info.php). Isn’t it correct to alter any code from child theme?

    #22446

    Hi nuruddinctg1990,

    To change the footer, it’s only available in Pro version of our theme. The above code is an example to edit page 404.php, you have to first unhook the footer then only customize the code. To change footer details you need to buy Pro version.

    Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.