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 - 1,756 through 1,770 (of 5,207 total)
  • Author
    Posts
  • yes sure you can provide your temporary username and password via email. We will set you a demo content. Also provide your Site Link with this forum Url too.

    Thank you!

    in reply to: Drop Down Menu Items #45201

    That’s great info

    Thank you!

    Hi Rabea,

    We don’t provide any demo content. Here is step by step procedure how to use our theme. View this link

    Thank you!

    in reply to: Drop Down Menu Items #45180

    Hi info110,

    Yes you can do it. Goto dashboard -> appearance -> menus -> and use custom link instead of using page/ post to link anywhere you like.

    Thank you!

    in reply to: delete the "read more" button only from the slider #45176

    You are welcome naddock

    Thank you!

    in reply to: Placing the category of post #45175

    Hi naddock,

    This feature is not currently available in our theme. It needs some code customization. You need to hire a developer.

    Thank you!

    in reply to: delete the "read more" button only from the slider #45142

    Hi naddock,

    Go to Appearance -> Theme Options/ customise -> Design Options Tab -> Custom CSS paste the following CSS code and Click on save all changes button:

    .featured-text a {
        display: none;
    }

    Thank you!

    in reply to: How to make co-authors plus to work? #45129

    Thanks for helping us Bertrand

    Thank you!

    Hi nick1,

    We have already checked in our theme and there is no any deprecated notice. Might be it is coming from plugins. Once try deactivating all your plugins on dashboard and check whether your problem solves or not.

    Also login to ftp and open the config.php file and make your debug mode false. If it is true then make it false.

    define( 'WP_DEBUG', true ); replace with

    define( 'WP_DEBUG', false );

    Thank you!

    in reply to: The service "Read More" link not correct #45109

    Hi Mark L,
    The above code which you have used and our main default code does the same function. This is the plugin conflict with the permalink so get_permalink() is working with your theme but not the_permalink()

    If you like to fix the issues then you can use in the same way you did. Yes child theme is required for this. Either you need to do the same changes in the code again and again while updating to new version or better make child theme and customize the code.

    you can create a child theme with style.css and functions.php file. In functions.php of the child theme, create your widgets and register them. Just copy the parent widget, change the name of widget like Theme Horse Child: Service Child Widget, 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 making same file structure in the child theme like /library/widgets won’t overwrite the parent file. Hope this helps.

    Under functions.php add below code

    register_widget("interface_child_service_widget");
    
    /* Start */
    class interface_child_service_widget extends WP_Widget {
    
     	function interface_service_widget() {
    		$widget_ops = array( 'classname' => 'widget_service', 'description' => __( 'Display Services( Business Layout )', 'interface' ) );
    		$control_ops = array( 'width' => 200, 'height' =>250 ); 
    		parent::__construct( false, $name = __( 'Theme Horse: Services', 'interface' ), $widget_ops, $control_ops);
    	}
    
    	function form( $instance ) {
    		$instance = wp_parse_args( (array) $instance, array( 'number' => '8','page_id0'=>'','page_id1'=>'','page_id2'=>'','page_id3'=>'','page_id4'=>'','page_id5'=>'','page_id6'=>'','page_id7'=>'',));
    		$number = absint( $instance[ 'number' ] );
    		for ( $i=0; $i<$number; $i++ ) {
    			$var = 'page_id'.$i;
    			$defaults[$var] = '';
    		} ?>
    		<p>
    			<label for="<?php echo $this->get_field_id('number'); ?>">
    				<?php _e( 'Number of Services:', 'interface' ); ?>
    			</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 = 'page_id'.$i;
    			$var = absint( $instance[ $var ] );
    		}
    		?>
    		<?php for( $i=0; $i<$number; $i++) { ?>
    		<p>
    			<label for="<?php echo $this->get_field_id( key($defaults) ); ?>">
    				<?php _e( 'Page', 'interface' ); ?>
    				:</label>
    				<?php wp_dropdown_pages( array( 'show_option_none' =>' ','name' => $this->get_field_name( key($defaults) ), 'selected' => $instance[key($defaults)] ) ); ?>
    			</p>
    			<?php
    		next( $defaults );// forwards the key of $defaults array
    	}
    }
    
    function update( $new_instance, $old_instance ) {
    	$instance = $old_instance;
    	$instance['number'] = absint( $new_instance['number'] );
    
    	for( $i=0; $i<$instance['number']; $i++ ) {
    		$var = 'page_id'.$i;
    		$instance[ $var] = absint( $new_instance[ $var ] );
    	}
    
    	return $instance;
    }
    
    function widget( $args, $instance ) {
    	extract( $args );
    	extract( $instance );
    	$number = empty( $instance['number'] ) ? 8 : $instance['number'];
    
    	global $post;
    	global $options, $array_of_default_settings;
     	$options = wp_parse_args( get_option( 'interface_theme_options', array() ), interface_get_option_defaults());
    	$page_array = array();
    	for( $i=0; $i<$number ; $i++ ) {
    		$var = 'page_id'.$i;
    		$page_id = isset( $instance[ $var ] ) ? $instance[ $var ] : '';
    
    		if( !empty( $page_id ) )
     				array_push( $page_array, $page_id );// Push the page id in the array
     		}
     		$get_featured_pages = new WP_Query( array(
     			'posts_per_page' 			=> -1,
     			'post_type'					=>  array( 'page' ),
     			'post__in'		 			=> $page_array,
     			'orderby' 		 			=> 'post__in'
     			) ); 
     			echo $before_widget; ?>
     			<div class="column clearfix">
     				<?php 
     				$j = 1;
     				while( $get_featured_pages->have_posts() ):$get_featured_pages->the_post();
     				$page_permalink = get_permalink();
     				$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";
     				}			
     				?>
     				<div class="<?php echo $service_class; ?>">
     					<div class="service-item clearfix">
     						<?php 
     						if ( has_post_thumbnail() ) {
     							echo'<div class="service-icon">'.get_the_post_thumbnail( $post->ID, 'icon' ).'</div>';
     						}
     						?>
     						<h3 class="service-title"><?php echo esc_attr($page_title); ?></h3>
     					</div>
     					<!-- .service-item -->
     					<article>
     						<?php the_excerpt(); ?>
     					</article>
     					<?php if( !empty( $options[ 'post_excerpt_more_text' ] ) ) { ?>
     					<a class="more-link" title="<?php echo esc_attr($page_title); ?>" href="<?php echo esc_attr($page_permalink); ?>">
     						<?php echo $options[ 'post_excerpt_more_text' ]; ?></a>
     						<?php } ?>
     					</div>
     					<!-- .one-fourth -->
     					<?php $j++; ?>
     					<?php endwhile;
    		 		// Reset Post Data
     					wp_reset_query(); 
     					?>
     				</div>
     				<!-- .column --> 
     				<?php echo $after_widget;
     			}
    

    Hope this may help you
    Thank you!

    in reply to: The service "Read More" link not correct #45090

    Hi Mark L,

    No you don’t need to add it again. The links are created dynamically. Only there will be some conflict with some plugins not all and we cannot guarantee that all third party plugins will work fine on our theme too.

    We have used<?php the_permalink(); ?> to display the link on both service and recent work widgets. After a bit dig on the theme goto theme folder -> inc -> widgets -> interface_widgets.php on line no 341 you will find below code

    <a class="more-link" title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>">

    replace with

    <a class="more-link" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">

    If this fix or not let us know.

    Thank you!

    in reply to: theme child #45065

    Hi famarinu,

    You create a child theme and also create a functions.php file too. Under functions.php file you need to unhook the functions. Remember above code is just only to unhook page error 404.php. On the same way you need to first unhook the header-extension.php functions and then again add the action with your child theme.

    If you are unable to fix it then you need to hire a developer because it needs a bit more code for customization.

    Thank you!

    in reply to: FONT #45062

    Hi famarinu,

    Yes that’s correct. You need to add in child theme instead using custom css.

    Thank you!

    in reply to: theme child #45061

    Hi famarinu,

    Making the same structure on child theme will not overwrite the parent theme. What you need to do is first unhook the functions and then only customize the code. We have replied many time on how to unhook the functions. View example below which is just an example.

    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    
    add_action( 'attitude_header', 'attitude_headercontent_details', 10 );
    }
    
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
    
    add_action( 'attitude_headercontent_details', 'attitude_child_headercontent_details', 10 );
    funtion attitude_child_headercontent_details(){
    // your stuff
    }

    Thank you!

    Hi Derek,

    Its because you have added slider ID no featured image. That section is a slider section but you are not using featured image so it is not displaying properly. View theme instruction

    Thank you!

Viewing 15 posts - 1,756 through 1,770 (of 5,207 total)