greg
Forum Replies Created
-
Dear Cais,
Thank you for your answer.
Yes, that is exactly that. I’d like to use wp-content/uploads/nggallery/ or directly wp-content/uploads/Dear Cais,
Thank you for your help.
I don’t really understand how this code helps me solve the uploads folder issue.The table prefix is fine.
The problem is the matter of the “specific site” sub-folder in the uploads/ directory. The plug-in is not supposed to use a “specific site” subfolder, it should upload pictures directly in wp-content/uploads/
Actually, I realised that the gallery images were not stored in the “uploads” folder but in another sub-folder of the “wp-content” directory.
I asked my hosting service to restore that folder and everyting is back on track.
In my own back-up, I only included the “uploads” folder.
I made a backup and tried your tool. It is useless.
Dear support team,
Thank you for your input.
I downloaded it. However, it says that it resets the entire set of options for all galleries.All I want to do is to regenerate image, but i’d like to keep the size settings, etc.
Am I going to lose it all ?
Forum: Themes and Templates
In reply to: [Hueman] Child theme screwed up after updateThank you for your answer.
This is not a customization issue, since it is the update that changed the website (customizations worked just fine until then).
Here is my <head> tag :
<!DOCTYPE html> <html class="no-js" <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset'); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="profile" href="https://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> </head>
Here is the output :
<meta charset="UTF-8">
Is this correct ? How may I test if the function has a bug ?
Here is the website URL : https://blog.defi-ecologique.com/
It currently is in “under maintenance” mode. Would you have an e-mail address to provide in order for me to send you an access ?I did not make any changes on sidebar.php
I compared these codes and here are the differences.
I replacehu_print_widgets_in_location('s2');
With :$sidebar_id = 'secondary'; if ((!is_archive()) && (!is_home()) && (get_post_meta($post->ID, 'sponsor_id', true))) $sidebar_id = 'sponsor'; elseif (is_author()){ $sp_aut = $wpdb->get_results( 'SELECT author_id FROM wp_sponsor'); $author = get_user_by( 'slug', get_query_var( 'author_name' ) ); foreach ( $sp_aut as $sa ) if ($sa->author_id==$author->ID) $sidebar_id = 'sponsor'; } elseif ((is_single())||(is_category())) $sidebar_id = 'hu_sidebars_10'; dynamic_sidebar( $sidebar_id );
Have you updated the ‘dynamic_sidebar’ function ?
Forum: Themes and Templates
In reply to: [Hueman] Child theme screwed up after updateDear Denzel,
Thank you for your input.
I checked all of that and there are issues.
First of all, none of this would explain why the encoding has changed.
For instance, “am??nager” should be “aménager”.
Until yesterday (and the theme/wordpress update), everything was fine.
I have not modified the encoding of my files since ages.Neither does it explain why my CSS isn’t overriding the main CSS rules.
For instance, this is a screenshot of the website today : https://s24.postimg.org/alk82hvr9/7065_10202014698902003_923697784_n.jpgAnd this is an old one :
https://s28.postimg.org/59w38uzot/Picture1.pngYou can see, for instance, the green of the category name that is now replaced by the default blue.
This happens when a CSS rule (for instance for the tags) exists in both themes.However, my custom classes are still working.
For instance, this bit comes from the child theme and does not exist in the main one :
https://s27.postimg.org/e6h10pmeb/7065_10202014698902003_923697784_n.jpgTo answer your question, widgets, sidebars, etc. that I declared on the child theme functions.php are now gone (you can see that the sidebars are empty).
For instance, my custom sidebars are not registered anymore.Here is my sidebar-2.php file :
<div class="sidebar s2 <?php echo 's2_'.detecter_user_agent(); ?>"> <a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a> <div class="sidebar-content"> <?php if ( hu_is_checked('sidebar-top') ): ?> <div class="sidebar-top group"> <p><?php _e('More','hueman'); ?></p> </div> <?php endif; ?> <?php if ( hu_get_option( 'post-nav' ) == 's2') { get_template_part('parts/post-nav'); } ?> <?php // hu_print_widgets_in_location('s2'); $sidebar_id = 'secondary'; if ((!is_archive()) && (!is_home()) && (get_post_meta($post->ID, 'sponsor_id', true))){ $sidebar_id = 'sponsor'; } //if (get_post_meta($post->ID, 'sponsor_id', true)) { $sidebar_id = 'sponsor'; } elseif (is_author()){ $sp_aut = $wpdb->get_results( 'SELECT author_id FROM wp_sponsor'); $author = get_user_by( 'slug', get_query_var( 'author_name' ) ); foreach ( $sp_aut as $sa ) { if ($sa->author_id==$author->ID) { $sidebar_id = 'sponsor'; } } } elseif ((is_single())||(is_category())){ // $sidebar_id = 'single_right'; $sidebar_id = 'hu_sidebars_10'; } dynamic_sidebar( $sidebar_id ); ?> </div><!--/.sidebar-content--> </div><!--/.sidebar-->
Forum: Themes and Templates
In reply to: [Hueman] Child theme screwed up after updateThank you for your answer.
I purged my browser cache, CDN & W3 Total Cache.
The problem is still there.
Forum: Plugins
In reply to: [Wonder Slider Lite] retina ready images in sliderThank you for this update.
Forum: Plugins
In reply to: [Wonder Slider Lite] retina ready images in sliderHello !
I am still waiting for an answer ??
Forum: Plugins
In reply to: [Wonder Slider Lite] retina ready images in sliderHello !
Could you please help me ?
Forum: Plugins
In reply to: [Wonder Slider Lite] retina ready images in sliderDear suppoer team,
Thank you for your answer. The issue is not with mobile/desktop, it is just the same slider, exepct that the images within should be @2x on retina displays.
Yes, I use retina.js.
How come it wouldn’t work even with the data-rjs property ?
Forum: Plugins
In reply to: [Wonder Slider Lite] retina ready images in sliderIs there anyone here ?
Forum: Themes and Templates
In reply to: [Hueman] Problem with sidebars since last updateI think that it might be my OIOPublisher, which is behaving weirdly and messing the sidebars up.
I already sent them a ticket about other widget issues and I have no answer…
Hmmm… that is quite desapointing. I’ll run a test and let you know.
Forum: Themes and Templates
In reply to: [Hueman] Problem with sidebars since last updateDear bdbrown,
Actually, someone helped my identify the source of the issue on the general thread :
https://www.ads-software.com/support/topic/problem-with-sidebars-2?replies=3#post-8370370When I test my theme on the test tool, indeed I have the “style” tag and you don’t, which is really odd.
Also, it is not present on the s2 sidebar, which does not make sense to me.
Do you know where it comes from ?
How may I remove it ?
I added this in my CSS but I doubt it is a “clean” solution (although it works).
@media only screen and (max-width: 960px) and (min-width: 480px){
.s1 {
width: 50px !important;
}
}