badget

Biggest Sale! Special Offer!

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

Hurry up! *Limited time offer*

Theme Horse Support Team

Forum Replies Created

Viewing 15 posts - 2,296 through 2,310 (of 5,207 total)
  • Author
    Posts
  • in reply to: I have problem with the page tittle :S #36737

    Hi fran6602,
    Go to dashboard-> appearance-> customize-> ambition theme options -> custom css and add the below code\

    .page-title-wrap{
      display:none;  
    }

    Hope this may help you
    Thank you!

    in reply to: header image resolution #36663

    Hi julie.pett,
    if you like to change the slider image size then go to functions.php and on line no 152 and 153 you will find this below code

    add_image_size( 'slider-narrow', 1038, 500, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    	add_image_size( 'slider-wide', 1440, 500, true ); 			// used on Featured Slider on Homepage Header for wide layout
    

    change 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-narrow', 1038, 500, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    add_image_size( 'slider-wide', 1440, 500, true ); 			// used on Featured Slider on Homepage Header for wide layout

    to

    add_image_size( 'slider-narrow', 2076, 1000, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    add_image_size( 'slider-wide', 2880, 1000, true ); 			// used on Featured Slider on Homepage Header for wide layout

    and then regenerate thumbnails.

    Thank you!

    Hi Manuel,

    We need to say that it needs code customization. If you are good at coding then you can easily customize the code by creating child theme. If you cannot create a child theme then first make a folder ambition-pro-child. Under that folder create a style.css file and functions.php file.
    Add below code inside style.css file

    /*
    Theme Name: Ambition Pro Child Theme
    Author: Self-Help WordPress User
    Template: ambition
    */
    
    @import url("../ambition/style.css"); 

    Under functions.php file of the child theme, create your widgets and register them. Just copy the parent widget, change the name of widget TH: Featured Clients/ Products to TH Child: Featured Clients/ Products, make customisation and create your custom widget. If you do this, the widgets of parent theme and child both will appear. Use your custom widget of child theme instead of the parent theme.

    Just add this below code in your functions.php file

    <?php 
    register_widget("ambition_featured_image__child_widget");
    
    /*********************************************************************************************************/
    class ambition_featured_image__child_widget extends WP_Widget {
    	function ambition_featured_image__child_widget() {
    		$widget_ops = array( 'classname' => 'widget_ourclients', 'description' => __( 'Display Featured Clients/ Products ( Business Layout )', 'ambition') );
    		$control_ops = array('width' => 200, 'height' => 250);
    		parent::__construct( false, $name='TH Child: Featured Clients/ Products', $widget_ops, $control_ops );
    	}
    	function form( $instance ) {		
    		$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'number' => '5', 'path0' => '', 'path1' => '', 'path2' => '', 'path3' => '', 'path4' => '', 'path5' => '', 'redirectlink0' => '', 'redirectlink1' => '', 'redirectlink2' => '', 'redirectlink3' => '', 'redirectlink4' => '', 'redirectlink5' => '') );	
    		$title = strip_tags($instance['title']);
    		$number = absint( $instance[ 'number' ] );	 
    		for ( $i=0; $i<$number; $i++ ) {
    			$var = 'path'.$i;
    			$var1 = 'redirectlink'.$i;
    			$instance[ $var ] = esc_url( $instance[ $var ] );
    			$instance[ $var1 ] = esc_url( $instance[ $var1 ] );
    		}		
    		?>
    		<p class="description">
    			<?php _e( 'Note: Recommended size for the image is 400px (width) and 150px (height). If you want more image adding fields then first enter the number and click on Save, this will allow you more image adding fields', 'ambition' ); ?>
    		</p>
    		<p>
    			<label for="<?php echo $this->get_field_id('title'); ?>">
    				<?php _e('Image Title:', 'ambition'); ?>
    			</label>
    			<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
    		</p>
    		<p>
    			<label for="<?php echo $this->get_field_id('number'); ?>">
    				<?php _e( 'Number of Images:', 'ambition' ); ?>
    			</label>
    			<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" />
    		</p>
    		<?php for ( $i=0; $i<$number; $i++ ) {
    			$var = 'path'.$i;
    			$var1 = 'redirectlink'.$i;
    			?>
    			<p>
    				<input type="text" class="upload1" id="<?php echo $this->get_field_id( $var ); ?>" name="<?php echo $this->get_field_name( $var ); ?>" value="<?php if(isset ( $instance[$var] ) ) echo esc_url( $instance[$var] ); ?>" />
    				<input class="button  custom_media_button" name="<?php echo $this->get_field_name( $var ); ?>" type="button" id="custom_media_button_services" value="<?php echo esc_attr( 'Add Image'); ?>"onclick="mediaupload.uploader( '<?php echo $this->get_field_id( $var ); ?>' ); return false;"/>
    				<br />
    			</p>
    			<p>
    				<?php _e('Redirect Link:', 'ambition'); ?>
    				<input class="widefat" name="<?php echo $this->get_field_name($var1); ?>" type="text" value="<?php if(isset ( $instance[$var1] ) ) echo esc_url( $instance[$var1] ); ?>" />
    			</p>
    			<?php } ?>
    			<?php
    		}
    		function update( $new_instance, $old_instance ) {
    			$instance = $old_instance;
    			$instance['title'] = strip_tags($new_instance['title']);
    			$instance['number'] = absint( $new_instance['number'] );
    
    			for( $i=0; $i<$instance[ 'number' ]; $i++ ) {
    				$var = 'path'.$i;
    				$var1 = 'redirectlink'.$i;
    				$instance[ $var] = esc_url_raw( $new_instance[ $var ] );			
    				$instance[ $var1] = esc_url_raw( $new_instance[ $var1 ] );
    			}
    			return $instance;
    		}	
    		function widget( $args, $instance ) {
    			extract($args);
    			$title = empty( $instance['title'] ) ? '' : $instance['title'];
    			$number = empty( $instance['number'] ) ? 5 : $instance['number'];
    			$path_array = array();
    			$redirectlink_array = array();
    			for( $i=0; $i<$number; $i++ ) {
    				$var = 'path'.$i;
    				$var1 = 'redirectlink'.$i;
    				$path = isset( $instance[ $var ] ) ? $instance[ $var ] : '';
    				$redirectlink = isset( $instance[ $var1 ] ) ? $instance[ $var1 ] : ''; 			
    			if( !empty( $path )  || !empty( $redirectlink ))  {		
    				if( !empty( $path ) ){
     				array_push( $path_array, $path ); // Push the page id in the array
    		 			}else{
    		 			 array_push($path_array, "");
    		 			}
    	 			if( !empty( $redirectlink ) ){
    	 				array_push( $redirectlink_array, $redirectlink ); // Push the page id in the array
    		 			}else{
    		 			 array_push($redirectlink_array, "");
    		 			}
    		 		}
    	 		}
     		echo $before_widget;
     		if ( !empty( $path_array ) ) {
     			$output = '';
     			$output .= '<div class="container">';
     			$output .= '<ul>';
     			for( $i=0; $i<$number; $i++ ) {
     				$output .= '<li>';
     				if((!empty( $redirectlink_array[$i] )) || (!empty( $path_array[$i] )) ) {
     					$output .= '<a href="'.$redirectlink_array[$i].'" title="'.$title.'">
     					<img src="'.$path_array[$i].'" alt="'.$title.'">
     					</a>';
     				}
     				else {
     					if(!empty($path_array[$i])){
     						$output .= '<img src="'.$path_array[$i].'" alt="'.$title.'">';
     					}
     				}
     				$output .=	'</li>';
     			}
     			$output .= '</ul>';
    
     			$output .= '</div>';
    
     			echo $output;
     		}
     		echo $after_widget .'<!-- .widget_ourclients -->';
     	}
     }

    Hope this may help you
    Thank you!

    in reply to: Theme Horse featured widget and service widget #36647

    Hi Jim,

    Could you provide your site Url too? Which version are you using currently? We have fixed that issue and running with no issue. Once you update latest version of attitude-pro theme and then let us know.

    Thank you!

    in reply to: Show title box but no text on featured page slider pictures #36646

    You welcome Jim

    Thank you!

    in reply to: Problem with Blog post #36618

    Hi Lisa,

    Could you provide your site Url too. So that it will be more easy to find the exact issue. Once login to your dashboard-> settings-> permalinks and click on save changes. Hope this may help you. Also first of all deactivate all the plugins that you have installed in your dashboard too.

    Is your problem solved or not? Let us know.

    Thank you!

    in reply to: Theme Horse featured widget and service widget #36616

    Hi Jim,

    We have released a new version 3.0.3 and there we have fixed that issue issue in version 3.0.2.

    Thank you!

    in reply to: Integration with WooCoomerce & UberMenu #36615

    Hi aris,

    Did you created a child theme? You need to unhook the functions in functions.php file and then hook that functions in Child theme of functions.php, Only copying the code on the functions.php will not override the child theme. You need to unhook this functions in your child theme
    add_action('ultimate_header', 'ultimate_headercontent_details', 10); after that again change the functions name of ultimate_headercontent_details as ultimate_headercontent_child_details and you need to customize the code. If you are unable to change it then either you make a direct changes in the code (theme folder-> inc-> structure -> header-extension.php on line no 335 to 349 you will find this below code)

    if (has_nav_menu('primary')) {// if there is nav menu then content displayed from nav menu else from pages
    $args = array(
    'theme_location' => 'primary',
    'container' => '',
    'items_wrap' => '<ul class="nav-menu">%3$s',
    );
    echo '<nav id="access" class="clearfix">
    <div class="container clearfix">';
    wp_nav_menu($args);//extract the content from apperance-> nav menu
    echo '</div> </nav><!-- #access -->';
    } else {// extract the content from page menu only
    echo '<nav id="access" class="clearfix">
    <div class="container clearfix">';
    wp_page_menu(array('menu_class' => 'nav-menu'));
    echo '</div></nav><!-- #access -->';
    }

    You can change it according to your wish you want. But each and every time while updating you need to do the same thing in this code.

    If you are unable then you may hire a developer to fix it.

    Thank you!

    in reply to: Child theme advice #36612

    Hi info110,

    That must not be an error. We have tested in our environment.

    <?php
    // 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>You page 404 is Changed. Thank you</p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
      <?php 
    } ?>

    The above code is just only an example to over ride page 404.php, Similarly you need to modify what you need to change. If you are unable then you need to hire a developer to fix it.

    Thank you!

    in reply to: Removing Link from slider #36611

    Hi info110,

    We have already posted a solution on post #23009 to remove the slider link. You can create a child theme and then customize the code. If you are unable to change it then you need to hire a developer to fix it.

    Thank you!

    in reply to: Comments field disappeared #36608

    Hi kim1,

    According to WordPress latest version the comment field below the posts is off by default. You need to enable it again.
    Click on (screen options) top right of the post. You will find this below screenshot
    http://awesomescreenshot.com/0c75bipq36 ( Check both discussion and comments). After doing it at the below of the post you can see this below comment section. View this screen shot.
    http://awesomescreenshot.com/0d65bipz7a
    Select both of the checkbox. Then your WordPress comments field will be appeared.

    You need to do the same thing for all the post.

    If user needs to comment then they must be login to comment.

    Thank you!

    in reply to: responsiveness does not work #36607

    Hi nfo133,

    It seems that you have customized the code. If not then first of all deactivate all the plugins that you have installed in your dashboard. There may be some javascript conflict. Then check it once whether the same problem pursuits or not.

    Thank you!

    in reply to: I would like to create a basic gallery in the home #36521

    Hi Marta,

    This is not our Theme Features. They are using this plugins WP Gallery Custom Links

    You may use this plugins. But we can’t provide support for third party plugins. So if it does not fit to your design then you to hire a developer to fix it.

    Thank you!

    in reply to: Arial fonts in atittude pro theme #36519

    Hi Rahul,
    First of all create a child theme. Create style.css file and add the below code in your style.css file.

    /*
    Theme Name: Attitude Pro Child Theme
    Author: Self-Help WordPress User
    Template: attitude
    */
    
    @import url("../attitude-pro/style.css");
    
    h1, h2, h3, h4, h5, h6, #site-title, .slogan-wrap, .featured-text .featured-title, .entry-title, .widget_promotional_bar {
    	font-family: 'Arial', sans-serif;
    }

    Your child theme will be displayed. Activate your child theme.

    Hope this may help you
    Thank you!

    in reply to: Child theme advice #36516

    Hi info110,

    Hi yes after adding this below code in style.css will create a child theme

    /*
    Theme Name: interface Child Theme
    Author: Self-Help WordPress User
    Template: interface
    */
    
    @import url(“../interface/style.css”);

    If you like to work with the php functions then first you need to create a child theme and then unhook the functions. Then only customize the code. We have already mentioned how to create a child theme. View this below post how to create a child theme
    27641

    Thank you!

Viewing 15 posts - 2,296 through 2,310 (of 5,207 total)