Tagged: business template issue
- This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
February 14, 2015 at 6:53 pm #21979nuruddinctg1990Participant
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?February 16, 2015 at 6:01 am #22011Theme Horse Support TeamKeymasterHi nuruddinctg1990,
Once follow this theme instruction page to set business page template.
Thank you!
February 19, 2015 at 3:05 pm #22241nuruddinctg1990ParticipantNo, 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.
February 20, 2015 at 5:45 am #22264Theme Horse Support TeamKeymasterHi 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!
February 21, 2015 at 4:34 pm #22338nuruddinctg1990ParticipantThanks 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.February 21, 2015 at 4:39 pm #22339nuruddinctg1990ParticipantOh, i found where to add the code: <?php the_content(); ?>
February 23, 2015 at 5:47 am #22387Theme Horse Support TeamKeymasterHi 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!
February 23, 2015 at 12:15 pm #22407nuruddinctg1990ParticipantI 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?February 24, 2015 at 7:01 am #22446Theme Horse Support TeamKeymasterHi 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!
-
AuthorPosts
- You must be logged in to reply to this topic.