-
AuthorSearch Results
-
October 31, 2015 at 12:10 pm #39060
Topic: Slider not saving
in forum Attitude (Premium)WGCG
ParticipantI’ve purchased Attitude pro this week but having problems with the homepage slider images. I’m adding the page IDs and it shows correctly within customiser. I select save & publish but when I exit customiser the changes aren’t saved and slider doesn’t appear.
I’ve not customised any code and have tried deactivating the few plugins I have active with no joy. I seem to be getting similar issues as these users:
https://www.themehorse.com/support-forum/topic/slider-not-working-3/
https://www.themehorse.com/support-forum/topic/sudden-problem-with-featured-postpage-slider/I’m all out of ideas, hoping you may be able to help!
Thanks in advance, Ben.
October 23, 2015 at 10:06 am #38796In reply to: ambition pro landing page
Theme Horse Support Team
KeymasterHi Wilnesse,
To set the business page please refer to this instruction page here https://www.themehorse.com/theme-instruction/ambition-pro/#businesslayout
If you can not set please provide us the temporary username and password to your site via Email
Please do not share any username and password here in this forum because this forum is public and visible to all customers.Thank you!
October 21, 2015 at 2:44 am #38699In reply to: Arial fonts in atittude pro theme
Theme Horse Support Team
KeymasterHi Rahul,
If there is space in font- family then it will not work. So you need to create a child theme. You can create a child theme simply.
Create a folder name attitude-child inside theme folder. Create style.css file under attitude-child folder.
add below code/* 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; }Then it will work. If you like confusion then you can directly add this above css inside custom css.
3> No your settings will not be changed if you create a child theme.
4> Regarding to revolution slider. We have removed from theme pack, You can either buy a revolution slider from themeforest or once contact to our sales team at [email protected]. Hope they may help you. Place your order number and your name and ask for it.
5> This feature is not available so it needs code customization and need to change the image so better hire a developer to fix it using the child theme.
6> Are you talking about image? The image is from slider. The above Url you have provided is Using only one slider. You may view theme instruction how to set slider.
7> Could you provide your site Url and specify it more clearly what you exactly trying to say?
While posting topic in forum please create a multiple topic. Please don’t ask all question on the same forum topic.
Thank you!October 20, 2015 at 9:29 am #38677Topic: child theme
in forum Interface (Free)pepsi
ParticipantHello, I created a child theme and added to style.css:
/*
Theme Name: interface Child Theme
Author: Self-Help WordPress User
Template: interface
*/
@import url(“../interface/style.css”);But child theme is not working, my chances in child theme data are not used, everything comes from main theme.
What I have to do to fix the child theme right?Thank you.
KoriOctober 19, 2015 at 6:10 pm #38662In reply to: Slider @ 3.0.1
Theme Horse Support Team
Keymaster@beatriz If you can not set the slider by following up the instruction. Please provide us the temporary username and password to your site via Email. Please do not share any username and password here in this forum because this forum is public and visible to all customers.
And thank you Daniel @dd for the help 🙂
October 19, 2015 at 11:59 am #36750In reply to: Social icons disappeared
Daniel
ParticipantHi, thanks for your help, I added the code
global $options, $array_of_default_settings;
$options = wp_parse_args( get_option( ‘attitude_theme_options’, array() ), attitude_get_option_defaults());Since I added this code I have not been able to use de Administrator Panel of WordPress (wp-admin) . Now I’m using the previous version of my functions.php (without your code).
I think that there are a problem since version 3.0.3 because I have redefined the functions attitude_socialnetworks in my child theme.
If you can´t view my site please clean your Browser’s cache and try again. Then, if you can´t view the site try this:
https://www.youtube.com/watch?v=mqMvrGnqA3A
ps: My Internet Service Provider did some changes in the configuration for you.
Folows functions.php of my child theme:
<?php
//************************ DD Para limpiar el menú de la barra de admin eliminando los las opciones de WordPress
function nwp_admin_bar() {
global $wp_admin_bar;$wp_admin_bar->remove_menu(‘wp-logo’);
$wp_admin_bar->remove_menu(‘about’);
$wp_admin_bar->remove_menu(‘wporg’);
$wp_admin_bar->remove_menu(‘documentation’);
$wp_admin_bar->remove_menu(‘support-forums’);
$wp_admin_bar->remove_menu(‘feedback’);
}
add_action( ‘wp_before_admin_bar_render’, ‘nwp_admin_bar’ );// ********** para que se vean los iconos de Redes Sociales que desaparecieron con la version 3.0.3
// global $options, $array_of_default_settings;
// $options = wp_parse_args( get_option( 'attitude_theme_options', array() ), //attitude_get_option_defaults());// ************************ DD cambio del logo
function my_custom_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image:url(‘.get_stylesheet_directory_uri().’/images/logocliente.jpg) !important; }
</style>’;
}add_action(‘login_head’, ‘my_custom_login_logo’);
// ************************ DD cambio la URL donde enlaza el logo de la página de login
function put_my_url(){
return (‘http://www.lavistacasal.com’); // Enlace al sitio de La Vista Casal
}
add_filter(‘login_headerurl’, ‘put_my_url’);// ************************ DD cambio el texto emergente de la URL de página de login
function put_my_title(){
return (‘Desarrollado por Un Sitio Ya’); //
}
add_filter(‘login_headertitle’, ‘put_my_title’);// ************************ DD Cambio del texto del copyrigth
add_action( ‘init’ , ‘mh_remove_copy’ , 15 );function mh_remove_copy() {
remove_action( ‘attitude_footer’, ‘attitude_footer_info’, 30 );
}// Add my own copyright text
add_action( ‘attitude_footer’ , ‘mh_footer_info’ , 40 );function mh_footer_info() {
$output = ‘<div class=”copyright”, align=”center”>’.’Copyright 2015 – La Vista Casal – Av. del Libertador 6343 P.12 “A” – CABA (C1428ARG) – Buenos Aires, Argentina – Tel.: (54 11) 4786 0404 ‘.'</div><!– .copyright –>’;
echo do_shortcode( $output );
}// ************************ DD Agregado de un nuevo Widget para poder tener Texto abajo del Widget de DESTACADOS
add_action( ‘widgets_init’, ‘attitude_child_widgets_init’);
/**
* Function to register the widget areas(sidebar) and widgets.
*/
function attitude_child_widgets_init() {// Registering widgets
register_widget( “attitude_recent_work_child_widget” );
}/**
* Widget for business layout that shows Featured page title and featured image.
* Construct the widget.
* i.e. Name, description and control options.
*/
class attitude_recent_work_child_widget extends WP_Widget {
function attitude_recent_work_child_widget() {
$widget_ops = array( ‘classname’ => ‘widget_recent_work_child’, ‘description’ => __( ‘ * Use this widget to show recent work, portfolio or any pages as your wish ( Business Layout ).’, ‘attitude’ ) );
$control_ops = array( ‘width’ => 200, ‘height’ =>250 );
parent::WP_Widget( false, $name = __( ‘Theme Horse: Featured Widget’, ‘attitude’ ), $widget_ops, $control_ops);
}function form( $instance ) {
for ( $i=0; $i<4; $i++ ) {
$var = ‘page_id’.$i;
$defaults[$var] = ”;
}
$att_defaults = $defaults;
$att_defaults[‘title’] = ”;
$att_defaults[‘text’] = ”;
$instance = wp_parse_args( (array) $instance, $att_defaults );
for ( $i=0; $i<4; $i++ ) {
$var = ‘page_id’.$i;
$var = absint( $instance[ $var ] );
}
$title = esc_attr( $instance[ ‘title’ ] );
$text = esc_textarea($instance[‘text’]);
?><p>
<label for=”<?php echo $this->get_field_id(‘title’); ?>”><?php _e( ‘Title:’, ‘attitude’ ); ?></label>
<input id=”<?php echo $this->get_field_id(‘title’); ?>” name=”<?php echo $this->get_field_name(‘title’); ?>” type=”text” value=”<?php echo $title; ?>” />
</p>
<?php _e( ‘Description’,’attitude’ ); ?>
<textarea class=”widefat” rows=”10″ cols=”20″ id=”<?php echo $this->get_field_id(‘text’); ?>” name=”<?php echo $this->get_field_name(‘text’); ?>”><?php echo $text; ?></textarea>
<?php
for( $i=0; $i<4; $i++) {
?>
<p>
<label for=”<?php echo $this->get_field_id( key($defaults) ); ?>”><?php _e( ‘Page’, ‘attitude’ ); ?>:</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[ ‘title’ ] = strip_tags( $new_instance[ ‘title’ ] );
for( $i=0; $i<4; $i++ ) {
$var = ‘page_id’.$i;
$instance[ $var] = absint( $new_instance[ $var ] );
}
if ( current_user_can(‘unfiltered_html’) )
$instance[‘text’] = $new_instance[‘text’];
else
$instance[‘text’] = stripslashes( wp_filter_post_kses( addslashes($new_instance[‘text’]) ) ); // wp_filter_post_kses() expects slashed
$instance[‘filter’] = isset($new_instance[‘filter’]);return $instance;
}function widget( $args, $instance ) {
extract( $args );
extract( $instance );global $post;
$title = isset( $instance[ ‘title’ ] ) ? $instance[ ‘title’ ] : ”;
$text = apply_filters( ‘widget_text’, empty( $instance[‘text’] ) ? ” : $instance[‘text’], $instance );
$page_array = array();
for( $i=0; $i<6; $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;
if ( !empty( $title ) ) { echo $before_title . esc_html( $title ) . $after_title; } ?>
<p><?php echo esc_textarea( $text ); ?></p>
<div class=”column clearfix”>
<?php
while( $get_featured_pages->have_posts() ):$get_featured_pages->the_post();
$page_title = get_the_title();
?>
<div class=”one-fourth”>
<?php
if ( has_post_thumbnail( ) ) {
echo ‘‘.get_the_post_thumbnail( $post->ID,’gallery’).’‘;
}
?>
<h3 class=”custom-gallery-title”>” title=””><?php echo $page_title; ?></h3>
<article>
<?php the_excerpt(); ?>
</article>” title=”Ampliar”>Ver más +
</div><!– .one-fourth –>
<?php endwhile;
// Reset Post Data
wp_reset_query();
?>
</div><!– .column –>
<?php echo $after_widget;
}
}
//****************************** DD CAMBIO TEXTO DE MySpace por Time Report en icono de redes sociales ————-function attitude_socialnetworks( $flag ) {
global $attitude_theme_options_settings;
$options = $attitude_theme_options_settings;$attitude_socialnetworks = ”;
if ( ( !$attitude_socialnetworks = get_transient( ‘attitude_socialnetworks’ ) ) && ( 1 == $flag ) ) {$attitude_socialnetworks .=’
<div class=”social-profiles clearfix”>- ‘;
$social_links = array();
$social_links_name = array();
$social_links_name = array( __( ‘Facebook’, ‘attitude’ ),
__( ‘Twitter’, ‘attitude’ ),
__( ‘Google Plus’, ‘attitude’ ),
__( ‘Pinterest’, ‘attitude’ ),
__( ‘Youtube’, ‘attitude’ ),
__( ‘Vimeo’, ‘attitude’ ),
__( ‘LinkedIn’, ‘attitude’ ),
__( ‘Flickr’, ‘attitude’ ),
__( ‘Tumblr’, ‘attitude’ ),
__( ‘Time Report’, ‘attitude’ ),
__( ‘RSS’, ‘attitude’ )
);
$social_links = array( ‘Facebook’ => ‘social_facebook’,
‘Twitter’ => ‘social_twitter’,
‘Google-Plus’ => ‘social_googleplus’,
‘Pinterest’ => ‘social_pinterest’,
‘You-tube’ => ‘social_youtube’,
‘Vimeo’ => ‘social_vimeo’,
‘Linked’ => ‘social_linkedin’,
‘Flickr’ => ‘social_flickr’,
‘Tumblr’ => ‘social_tumblr’,
‘My-Space’ => ‘social_myspace’,
‘RSS’ => ‘social_rss’
);$i=0;
foreach( $social_links as $key => $value ) {
if ( !empty( $options[ $value ] ) ) {
$attitude_socialnetworks .=
‘<li class=”‘.strtolower($key).'”>‘.get_bloginfo( ‘name’ ).’ ‘.$social_links_name[$i].’‘;
}
$i++;
}$attitude_socialnetworks .=’
</div><!– .social-profiles –>’;
set_transient( ‘attitude_socialnetworks’, $attitude_socialnetworks, 86940 );
}
echo $attitude_socialnetworks;
}
?>
October 18, 2015 at 11:32 am #36726Topic: Social icons disappeared
in forum Attitude (Free)Daniel
ParticipantI´m using the last version of attitude theme and recently my social icons (top of page) disappeared.
Could you help me?
My site is:
Thanks in advance.
October 15, 2015 at 10:24 am #36661Theme Horse Support Team
KeymasterHi 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/ ProductstoTH 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!October 14, 2015 at 5:25 am #36608In reply to: Comments field disappeared
Theme Horse Support Team
KeymasterHi 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!
October 13, 2015 at 10:47 am #36576Topic: theme-option.php why disappear?!?
in forum Interface (Free)ariellebarnettgQA
ParticipantI used to override the this two functions in the file ‘theme-option.php’
interface_theme_options_add_theme_page
interface_theme_options_validatewhere are gone this two functions!?!? and why you deleated it?!
i know that you sell the premium versione, but you have to let a skilled user to modify the code withoud continue changing the functions and the files,
so could you tell me where are now the code inside those functions!?
thanks
October 12, 2015 at 5:54 am #36523In reply to: Remove slider from blog
Theme Horse Support Team
KeymasterHi Laura,
If you don’t want slider in blog page then you need to go to dashboard -> pages -> create a blog page and at the right hand side of the page there is template. select blog image large or blog image medium or blog full content display you want.
Then go to dashboard -> settings -> reading and leave default to post page as shown in this screenshot http://awesomescreenshot.com/02256h6d83 After this you will no see the slider in your blog page.
If you can not set please provide us the temporary username and password to your site via Email
Please do not share any username and password here in this forum because this forum is public and visible to all customers.
Thank you!
October 12, 2015 at 5:39 am #36519In reply to: Arial fonts in atittude pro theme
Theme Horse Support Team
KeymasterHi 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!October 12, 2015 at 5:30 am #36516In reply to: Child theme advice
Theme Horse Support Team
KeymasterHi 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
27641Thank you!
October 11, 2015 at 5:08 am #36489Topic: Child theme advice
in forum Interface (Free)info110
ParticipantI wanted to figure out how to make a child theme, so I created the directory and added style.css with the follow in it…
/*
Theme Name: interface Child Theme
Author: Self-Help WordPress User
Template: interface
*/
@import url(“../interface/style.css”);I then used the preview function and between the home slogan section and service widget section was a search bar, then below it was recent posts section and then below it was category section.
What went wrong?
October 10, 2015 at 9:10 am #36475Topic: database consuming excessive server resources
in forum Interface (Premium)SR T A RICH
Participantour website database has been temporarily blocked as the database is consuming excessive server resources
here is hostgator response to situation:
If using a CMS, like WordPress or Joomla, ensure that you have a caching plugin enabled
– Reduce the size of your databases by removing old content, clearing out post revisions and spam comments, or simply archiving old table data
– Perform a repair and optimization of your databases via phpMyAdmin or command line
– Remove any database-based logging when other options are available
– Reduce the item count in pagination. Instead of 50 items per page, try 20 or 30
– Identify slow running processes and queries for further optimization
– Add database indexes on frequently used tables and queries
– Include return limits on your queries,select * from posts limit 10
– User counter caches to replaceselect count(*)statements
– Limit the number of temporary tables created on large joins
– Be cautious when sorting large table returns
– Perform extensive maintenance operations off peak-hours
– Mysql connections should be closed as soon as the query results are returnedany suggestions how to proceed?
-
AuthorSearch Results
-
Search Results
-
Topic: Slider not saving
Topic: child theme
Hello, I created a child theme and added to style.css:
/*
Theme Name: interface Child Theme
Author: Self-Help WordPress User
Template: interface
*/
@import url(“../interface/style.css”);But child theme is not working, my chances in child theme data are not used, everything comes from main theme.
What I have to do to fix the child theme right?Thank you.
KoriTopic: Social icons disappeared
I used to override the this two functions in the file ‘theme-option.php’
interface_theme_options_add_theme_page
interface_theme_options_validatewhere are gone this two functions!?!? and why you deleated it?!
i know that you sell the premium versione, but you have to let a skilled user to modify the code withoud continue changing the functions and the files,
so could you tell me where are now the code inside those functions!?
thanks
Topic: Child theme advice
I wanted to figure out how to make a child theme, so I created the directory and added style.css with the follow in it…
/*
Theme Name: interface Child Theme
Author: Self-Help WordPress User
Template: interface
*/
@import url(“../interface/style.css”);I then used the preview function and between the home slogan section and service widget section was a search bar, then below it was recent posts section and then below it was category section.
What went wrong?
our website database has been temporarily blocked as the database is consuming excessive server resources
here is hostgator response to situation:
If using a CMS, like WordPress or Joomla, ensure that you have a caching plugin enabled
– Reduce the size of your databases by removing old content, clearing out post revisions and spam comments, or simply archiving old table data
– Perform a repair and optimization of your databases via phpMyAdmin or command line
– Remove any database-based logging when other options are available
– Reduce the item count in pagination. Instead of 50 items per page, try 20 or 30
– Identify slow running processes and queries for further optimization
– Add database indexes on frequently used tables and queries
– Include return limits on your queries,select * from posts limit 10
– User counter caches to replaceselect count(*)statements
– Limit the number of temporary tables created on large joins
– Be cautious when sorting large table returns
– Perform extensive maintenance operations off peak-hours
– Mysql connections should be closed as soon as the query results are returnedany suggestions how to proceed?

