Forum Replies Created
-
AuthorPosts
-
Theme Horse Support Team
KeymasterHi a.dewilliencourt,
Which plugin are you using? Try use Yoast SEO plugin once.
Thank you!
Theme Horse Support Team
KeymasterHi a.dewilliencourt,
If you make a child theme then while updating to new version your customized code will not be lost. So there will be no any issue while updating to update version.If you make a direct changes in the code then each and every time while updating to new version you need to customize the code again and again. View this Child Theme link
Unhook function means to remove the core functions using child theme and your customized functions will work on it. If you are unable to create a child theme then you need to hire a developer to fix it.
Thank you!
Theme Horse Support Team
KeymasterHI fuentestrisha,
Can we have gallery Url of your site? Which gallery are you using? So that we can provide you a custom css.
Thank you!
Theme Horse Support Team
KeymasterHi SMW,
We fixed that blank h1 page-title tag in pro version but missed to update in free version.
We will update it in next version. For now if you are using free version then go to theme folder-> library-> structure-> header-extension.php on line no 236 you will find this below code. Remove this below code
<h1 class="page-title"><?php echo attitude_header_title(); ?></h1><!-- .page-title -->
and paste this below codeif( '' != attitude_header_title() ) {?> <h1 class="page-title"><?php echo attitude_header_title(); ?></h1><!-- .page-title --> <?php } ?>If there is any issue/ confusion then let us know and thanks for addressing the issue in free version!
Thank you!
Theme Horse Support Team
KeymasterHi jen.lynn.owen,
We have designed our theme this way. It needs code customization or hire a developer to fix it.
Go to theme folder -> inc -> widgets-> interface_widgets.php on line no 200 to 301. You need to edit over there. On line no 261 to 274 you will find below code. Remove this below code<?php $j = 1; while( $get_featured_pages->have_posts() ):$get_featured_pages->the_post(); $page_title = get_the_title(); if( $j % 4 == 3 && $j > 1 ) { $service_class = "one-fourth clearfix-half"; } elseif ( $j % 4 == 1 && $j > 1 ) { $service_class = "one-fourth clearfix-half clearfix-fourth"; } else { $service_class = "one-fourth"; } ?>and Paste this below code
<?php $j = 1; while( $get_featured_pages->have_posts() ):$get_featured_pages->the_post(); $page_title = get_the_title(); if( $j % 2 == 1 && $j > 1 ) { $service_class = "one-third clearfix-half"; } elseif ( $j % 3 == 1 && $j > 1 ) { $service_class = "one-third clearfix-third"; } else { $service_class = "one-third"; } ?>Note: Instead of one-fourth you need to use one-third.
Hope this may help you!
Thank you!Theme Horse Support Team
KeymasterHi stina,
We have desinged our theme this way. The latest post will appear at the top because of using sticky post the sticky post is the first priority.
You can either do this by two method.
either you add this below custom css inside dashboard-> appearance-> customize-> ambition theme options -> custom css and add this below code#main .sticky { display: none; }Or you need to use the image slider or pager slider to featured your post. There in page/ post slider you can exclude your post.
using page/ post slider view this below screenshot.
http://awesomescreenshot.com/0915934809
under page/ post slider view this screenshot
http://awesomescreenshot.com/0345934ccbCheck the exclude button. Then this will exclude you post slider in blog.
If you have any issue then let us know.
Thank you!Theme Horse Support Team
KeymasterHi support7,
Yes exactly if you like to change the slider image size then go to functions.php and you will find this code
add_image_size( ‘slider-narrow’, 1038, 460, true ); // used on Featured Slider on Homepage Header for narrow layout add_image_size( ‘slider-wide’, 1400, 460, true ); // used on Featured Slider on Homepage Header for wide layoutchange you slide image size according to your needs. But create a child theme before making any changes on it. After changing the slider size install regenerate Thumbnail plugins and regenerate the images. If your slider doesnot work then first make a direct change in the code.
add_image_size( ‘slider-wide’, 1400, 460, true );to
add_image_size( ‘slider-wide’, 1800, 564, true );and then regenerate thumbnails. There may be something going wrong on the child theme. Then your new slider size will be 1800X564. One thing upload the bigger image size than this ( 1800X564) size.Thank you!
Theme Horse Support Team
KeymasterHi aris,
We are using action_hook so there is no code in header.php. If you really like to change the code then you may go to the theme folder -> inc-> structure-> header-extension.php on line no 368. you will find this code.
if (has_nav_menu('primary')) {You can edit here. But if you make direct changes in the code then while updating to new version all your customized code will be lost. So better make child theme and then customize the code.Thank you!
September 14, 2015 at 7:39 am in reply to: Different Excerpt Lengths for Blog and Corporate Page Template? #28226Theme Horse Support Team
KeymasterHi Barry,
This feature is not available in our theme. It needs code customization. We have designed our theme this way. So you need to hire a developer to fix it. Before making changes in code first of all you need to create a child theme and then customize the code.
Thank you!
Theme Horse Support Team
KeymasterHi dave69,
1) If I turn of comments in setting that turns it off for all pages AND posts. There should be away to remove the comments form from pages (not posts) site wide. With normal themes, you would simply remove from the pages template. With a theme such as Genesis, you would use a hook to do so.
=> To disable comment in every page only then there is only two options. Either you need to do manually from admin for each and every single page or you need code customization.
The file is inside theme folder -> inc -> structure -> content-extension.php on line no 201 to 261.
You may remove this code which is on line no 240
comments_template();Hope this may help you
2) I’ve seen that page, and followed the advice. It either didn’t work or gave me an error. Can you show me the EXACT code I would need to add to have a custom “content-extensions.php” in the child theme?
==> To overide the default content-extension.php you need to create a child theme with style.css and functions.php file.Under functions.php file you need to customize the code. First you need to unhook the functions and then customize the code.
Below i have added some code. Hope this may help youExample: // Unhook default Thematic functions function unhook_thematic_functions() { // Don't forget the position number if the original function has one remove_action( 'interface_loop_content', 'interface_theloop', 10 ); } add_action('init','unhook_thematic_functions'); add_action( 'interface_loop_content', 'interface_theloop_child', 10 ); function interface_theloop_child() { if( is_page() ) { if( is_page_template( 'page-templates/page-template-blog-image-large.php' ) ) { interface_theloop_for_template_blog_image_large(); } elseif( is_page_template( 'page-templates/page-template-blog-image-medium.php' ) ) { interface_theloop_for_template_blog_image_medium(); } elseif( is_page_template( 'page-templates/page-template-blog-full-content.php' ) ) { interface_theloop_for_template_blog_full_content(); } else { interface_theloop_for_page(); } } elseif( is_single() ) { interface_theloop_for_single(); } elseif( is_search() ) { interface_theloop_for_search(); } else { interface_theloop_for_archive(); } } // If you like to remove the comment sections from page only then paste this functions //Important: Add other functions also where you don't want changing too. Because you have removed all the core functions using remove_action functions. So if there is no change in archive and other functions like interface_theloop_for_archive(), interface_theloop_for_search(), interface_theloop_for_single() then you copy all the code for this functions too. Just i have done for interface_theloop_for_page() too /****************************************************************************************/ if ( ! function_exists( 'interface_theloop_for_page' ) ) : /** * Fuction to show the page content. */ function interface_theloop_for_page() { global $post; if( have_posts() ) { while( have_posts() ) { the_post(); do_action( 'interface_before_post' ); ?> <section id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <article> <?php do_action( 'interface_before_post_header' ); ?> <?php do_action( 'interface_after_post_header' ); ?> <?php do_action( 'interface_before_post_content' ); ?> <div class="entry-content clearfix"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div style="clear: both;"></div><div class="pagination clearfix">'.__( 'Pages:', 'interface' ), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '%', 'echo' => 1 ) ); ?> </div> <!-- entry-content clearfix--> <?php do_action( 'interface_after_post_content' ); do_action( 'interface_before_comments_template' ); do_action ( 'interface_after_comments_template' ); ?> </article> </section> <?php do_action( 'interface_after_post' ); } } else { ?> <h2 class="entry-title"> <?php _e( 'No Posts Found.', 'interface' ); ?> </h2> <?php } } endif;If you are still unable then you need to hire a developer
Thank you!
Theme Horse Support Team
KeymasterHi dave69,
1) If I turn of comments in setting that turns it off for all pages AND posts. There should be away to remove the comments form from pages (not posts) site wide. With normal themes, you would simply remove from the pages template. With a theme such as Genesis, you would use a hook to do so.
=> To disable comment in every page only then there is only two options. Either you need to do manually from admin for each and every single page or you need code customization.
The file is inside theme folder -> inc -> structure -> content-extension.php on line no 201 to 261.
You may remove this code which is on line no 240
comments_template();Hope this may help you
2) I’ve seen that page, and followed the advice. It either didn’t work or gave me an error. Can you show me the EXACT code I would need to add to have a custom “content-extensions.php” in the child theme?
==> To overide the default content-extension.php you need to create a child theme with style.css and functions.php file.Under functions.php file you need to customize the code. First you need to unhook the functions and then customize the code.
Below i have added some code. Hope this may help youExample: // Unhook default Thematic functions function unhook_thematic_functions() { // Don't forget the position number if the original function has one remove_action( 'interface_loop_content', 'interface_theloop', 10 ); } add_action('init','unhook_thematic_functions'); add_action( 'interface_loop_content', 'interface_theloop_child', 10 ); function interface_theloop_child() { if( is_page() ) { if( is_page_template( 'page-templates/page-template-blog-image-large.php' ) ) { interface_theloop_for_template_blog_image_large(); } elseif( is_page_template( 'page-templates/page-template-blog-image-medium.php' ) ) { interface_theloop_for_template_blog_image_medium(); } elseif( is_page_template( 'page-templates/page-template-blog-full-content.php' ) ) { interface_theloop_for_template_blog_full_content(); } else { interface_theloop_for_page(); } } elseif( is_single() ) { interface_theloop_for_single(); } elseif( is_search() ) { interface_theloop_for_search(); } else { interface_theloop_for_archive(); } } // If you like to remove the comment sections from page only then paste this functions //Important: Add other functions also where you don't want changing too. Because you have removed all the core functions using remove_action functions. So if there is no change in archive and other functions like interface_theloop_for_archive(), interface_theloop_for_search(), interface_theloop_for_single() then you copy all the code for this functions too. Just i have done for interface_theloop_for_page() too /****************************************************************************************/ if ( ! function_exists( 'interface_theloop_for_page' ) ) : /** * Fuction to show the page content. */ function interface_theloop_for_page() { global $post; if( have_posts() ) { while( have_posts() ) { the_post(); do_action( 'interface_before_post' ); ?> <section id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <article> <?php do_action( 'interface_before_post_header' ); ?> <?php do_action( 'interface_after_post_header' ); ?> <?php do_action( 'interface_before_post_content' ); ?> <div class="entry-content clearfix"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div style="clear: both;"></div><div class="pagination clearfix">'.__( 'Pages:', 'interface' ), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '%', 'echo' => 1 ) ); ?> </div> <!-- entry-content clearfix--> <?php do_action( 'interface_after_post_content' ); do_action( 'interface_before_comments_template' ); do_action ( 'interface_after_comments_template' ); ?> </article> </section> <?php do_action( 'interface_after_post' ); } } else { ?> <h2 class="entry-title"> <?php _e( 'No Posts Found.', 'interface' ); ?> </h2> <?php } } endif;If you are still unable then you need to hire a developer
Thank you!
Theme Horse Support Team
KeymasterHi dave69,
Creating the same file structure will not override or work with the child theme. You need to unhook the function and customize the code. We have replied many times how to unhook the functions.
View this below link we have already described how to unhook
https://www.themehorse.com/support-forum/topic/loading-header-extension-php-in-child-theme/Regarding to your above questions
1) How do I remove the comments from from pages? (without needing to do it on each individual page)
==> This is wordpress default feature. Before wordpress 4.3 you need to do it manually. But i think now in 4.3 version there comments are automatically off by default.
View this below link
https://wordpress.org/news/
Comments turned off on pages – All new pages that you create will have comments turned off. Keep discussions to your blog, right where they’re supposed to happen.2) Where is the documentation on the various loops that appear to be available?
==> Which loop are you talking about. if you are talking about the post or page look then you go to the theme folder -> inc -> structure-> content-extension.phpIn this page we have defined all the loop.
Hope this may help you
Thank you!September 10, 2015 at 9:33 am in reply to: Addition of another field below the site description #28120Theme Horse Support Team
KeymasterHi pambam,
This feature is not available in our theme and it needs code customization. If you are good at programming and working on child theme then you need to first unhook the functions and then customize the code. Our header content is displayed from theme folder-> library -> structure -> header-extension.php. You first need unhook the functions and then customize the code and you may add the features.
If you are unable then you need to hire a developer to fix it.
Thank youSeptember 10, 2015 at 8:34 am in reply to: customizing pagination, previous + next page navigation #28116Theme Horse Support Team
KeymasterHi beth_almeida,
This is not possible in our theme. It needs code customization and you need to hire a developer to fix it.
Thank you!
September 10, 2015 at 8:15 am in reply to: Replace current home slider with revolution slider #28113Theme Horse Support Team
KeymasterHi ameetagarwal2010,
To support revolution slider. It needs code customization. This feature is only available in Pro version of our theme. So you need to upgrade to pro version.
If you are a programmer then you can customize the code. First of all create a child theme before making any changes in the theme. So that while updating to new version your customized code will not be lost otherwise you need to do the same things again and again while updating to new version.
You need to add some revolution slider code inside the themefolder-> library -> structure-> header-extension.php and you may add the shortcodes of revolution slider to this page. Then your revolution slider will be displayed. We have designed it in other way in admin section and also in front end. So providing all the code is not possible.
Thank you!
-
AuthorPosts
